using AIStudio.Chat;
namespace AIStudio.Tools.RAG;
///
/// What an augmentation process did: the chat thread it augmented, and what it handed to the AI.
///
///
/// The contexts the AI received can be fewer than the ones retrieved, e.g., when a check of which
/// passages fit the question left some out. Whoever lists the sources and passages of the answer
/// takes them from here, so the user sees what the AI read and nothing else.
///
/// The augmented chat thread.
/// The retrieval contexts handed to the AI, in the order it received them.
public sealed record AugmentationResult(ChatThread ChatThread, IReadOnlyList UsedContexts);