mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-23 08:33:49 +00:00
Moved the background agents to AI operations (#1215)
This commit is contained in:
1 parent
8a4a26503b
commit
c50a93cd17
139 files changed
+4069
-2340
No files matched your search
@@ -0,0 +1,14 @@
|
||||
namespace AIStudio.AIOperations.DataSourceChoice;
|
||||
|
||||
/// <summary>
|
||||
/// The data sources a model chose for a prompt.
|
||||
/// </summary>
|
||||
/// <param name="SelectedDataSources">The chosen data sources, as the model named them; empty when it chose none.</param>
|
||||
/// <param name="IsAnswered">Whether the model gave a usable answer. Without one, nothing was chosen either.</param>
|
||||
public sealed record DataSourceChoiceResult(IReadOnlyList<SelectedDataSource> SelectedDataSources, bool IsAnswered)
|
||||
{
|
||||
/// <summary>
|
||||
/// No usable answer: no provider, an empty prompt, or an answer without valid JSON.
|
||||
/// </summary>
|
||||
public static readonly DataSourceChoiceResult NOT_ANSWERED = new([], false);
|
||||
}
|
||||
Reference in new issue
Block a user