Table of Contents

Class RagQueryDiagnostics

Namespace
Mythosia.AI.Rag
Assembly
Mythosia.AI.Rag.Abstractions.dll

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

double?

AppliedRetrievalMinScore

The retrieval score threshold that was applied before final selection.

public double? AppliedRetrievalMinScore { get; set; }

Property Value

double?

ElapsedMs

End-to-end processing time for retrieval/context assembly in milliseconds.

public long ElapsedMs { get; set; }

Property Value

long

FinalTopK

The final TopK target retained after retrieval and optional re-ranking.

public int FinalTopK { get; set; }

Property Value

int

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

int

RewriteElapsedMs

Time spent on query rewriting in milliseconds. Zero when rewriting was skipped.

public long RewriteElapsedMs { get; set; }

Property Value

long