RagResult<T>
Models & Types · AiDotNet.RetrievalAugmentedGeneration
The outcome of a QueryAsync call.
Constructors
| Constructor | Summary |
|---|---|
RagResult(string question, List<Document<T>> contexts, GroundedAnswer<T> answer) |
Properties
| Property | Summary |
|---|---|
GroundedAnswer<T> Answer { get; } |
The generated grounded answer, or null when no generator was configured. |
List<Document<T>> Contexts { get; } |
The retrieved (and reranked/compressed) context documents. |
string Question { get; } |
The original question. |