Class RagQueryDiagnostics
Diagnostics metadata captured during RAG query processing.
public class RagQueryDiagnostics
- Inheritance
-
RagQueryDiagnostics
- Inherited Members
Properties
AppliedFinalMinScore
The final score threshold that was applied after retrieval and optional re-ranking.
public double? AppliedFinalMinScore { get; set; }
Property Value
AppliedRetrievalMinScore
The retrieval score threshold that was applied before final selection.
public double? AppliedRetrievalMinScore { get; set; }
Property Value
ElapsedMs
End-to-end processing time for retrieval/context assembly in milliseconds.
public long ElapsedMs { get; set; }
Property Value
FinalTopK
The final TopK target retained after retrieval and optional re-ranking.
public int FinalTopK { get; set; }
Property Value
RetrievalTopK
The TopK value actually sent to the retrieval strategy. When a reranker is configured this is typically FinalTopK ร RetrievalMultiplier; otherwise it equals FinalTopK.
public int RetrievalTopK { get; set; }
Property Value
RewriteElapsedMs
Time spent on query rewriting in milliseconds. Zero when rewriting was skipped.
public long RewriteElapsedMs { get; set; }