Class RagQueryResult
Contains the result of a RAG query, including the generated response and the retrieved partitions used as context.
public sealed class RagQueryResult
- Inheritance
-
RagQueryResult
- Inherited Members
Constructors
- RagQueryResult(TextGenerationResult, IReadOnlyList<PartitionSimilarity>)
Initializes a new instance of the RagQueryResult class.
Properties
- HasRetrievedPartitions
Gets whether any partitions were retrieved for this query.
- Response
Gets the generated text response.
- RetrievedPartitions
Gets the partitions retrieved from the knowledge base that were used as context for generating the response.