From 3b06b0e0f9e284d1aa932066aac9360dc59a4026 Mon Sep 17 00:00:00 2001 From: Marco Minerva Date: Mon, 27 Jul 2026 17:19:34 +0200 Subject: [PATCH] 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. --- SqlDatabaseVectorSearch/Program.cs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/SqlDatabaseVectorSearch/Program.cs b/SqlDatabaseVectorSearch/Program.cs index 18fec2b..6dfc438 100644 --- a/SqlDatabaseVectorSearch/Program.cs +++ b/SqlDatabaseVectorSearch/Program.cs @@ -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)}");