mirror of
https://github.com/marcominerva/SqlDatabaseVectorSearch.git
synced 2026-08-04 09:48:57 +00:00
Refactor Sources section formatting in output
Updated the "Sources" section header and changed the source list from bullets to a numbered format (e.g., "[1] SourceName"). Each source now includes its excerpt and a separator line ("---"). Removed the "### Excerpts" section and extra blank lines, consolidating sources and excerpts for improved clarity.
This commit is contained in:
@@ -173,15 +173,7 @@ var textSearchOptions = new TextSearchProviderOptions()
|
||||
sb.AppendLine("- Include ONLY sources you actually used. No duplicates.");
|
||||
sb.AppendLine();
|
||||
|
||||
sb.AppendLine("### Sources (copy/paste-ready)");
|
||||
foreach (var (i, r) in results.Index())
|
||||
{
|
||||
sb.AppendLine($"- {GetSourceName(r, i)}");
|
||||
}
|
||||
|
||||
sb.AppendLine();
|
||||
|
||||
sb.AppendLine("### Excerpts");
|
||||
sb.AppendLine("### Sources");
|
||||
foreach (var (i, r) in results.Index())
|
||||
{
|
||||
sb.AppendLine($"[{i + 1}] {GetSourceName(r, i)}");
|
||||
|
||||
Reference in New Issue
Block a user