We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f2ba11 commit df41b6aCopy full SHA for df41b6a
src/KernelMemory.Extensions.ConsoleTest/Samples/CustomSearchPipelineBase.cs
@@ -188,6 +188,14 @@ public async Task RunSample2()
188
{
189
Console.WriteLine("Answer cannot be retrieved.");
190
}
191
+ else if (userQuestion.Citations?.Count > 0)
192
+ {
193
+ Console.WriteLine("Citations:");
194
+ foreach (var citation in userQuestion.Citations)
195
196
+ Console.WriteLine("Document: {0}", citation.DocumentId);
197
+ }
198
199
200
} while (!string.IsNullOrWhiteSpace(question));
201
0 commit comments