mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-10 17:47:21 +00:00
12 lines
771 B
C#
12 lines
771 B
C#
using AIStudio.Tools.RAG;
|
|||
|
|
|
||
|
|
namespace AIStudio.Tools.ToolCallingSystem.ToolCallingImplementations.SemanticSearch;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// One page of a search, as the model and the user receive it.
|
||
|
|
/// </summary>
|
||
|
|
/// <param name="TextContent">The passages the model reads, numbered, as Markdown.</param>
|
||
|
|
/// <param name="Sources">The sources of these passages, listed below the answer.</param>
|
||
|
|
/// <param name="Passages">What the user is shown of these passages.</param>
|
||
|
|
/// <param name="Outcomes">What the model learns about each data source searched, in the order they were searched.</param>
|
||
|
|
internal sealed record SemanticSearchResult(string TextContent, IReadOnlyList<Source> Sources, IReadOnlyList<SourcePassage> Passages, IReadOnlyList<DataSourceSearchOutcome> Outcomes);
|