namespace AIStudio.AIOperations.DataSourceChoice; /// /// The data sources a model chose for a prompt. /// /// The chosen data sources, as the model named them; empty when it chose none. /// Whether the model gave a usable answer. Without one, nothing was chosen either. public sealed record DataSourceChoiceResult(IReadOnlyList SelectedDataSources, bool IsAnswered) { /// /// No usable answer: no provider, an empty prompt, or an answer without valid JSON. /// public static readonly DataSourceChoiceResult NOT_ANSWERED = new([], false); }