Class QueryDiagnosticResult
- Namespace
- Mythosia.AI.Rag.Diagnostics
- Assembly
- Mythosia.AI.Rag.dll
Full diagnostic result for a query โ shows ALL chunks with scores and why each was included/excluded.
public class QueryDiagnosticResult
- Inheritance
-
QueryDiagnosticResult
- Inherited Members
Constructors
QueryDiagnosticResult(string, string?, int, double?, int, IReadOnlyList<ScoredChunkInfo>, ScoredChunkInfo?)
public QueryDiagnosticResult(string query, string? targetText, int topK, double? minScore, int totalChunks, IReadOnlyList<ScoredChunkInfo> allScoredResults, ScoredChunkInfo? targetChunkInfo)
Parameters
querystringtargetTextstringtopKintminScoredouble?totalChunksintallScoredResultsIReadOnlyList<ScoredChunkInfo>targetChunkInfoScoredChunkInfo
Properties
AllScoredResults
public IReadOnlyList<ScoredChunkInfo> AllScoredResults { get; }
Property Value
MinScore
public double? MinScore { get; }
Property Value
Query
public string Query { get; }
Property Value
TargetChunkInfo
public ScoredChunkInfo? TargetChunkInfo { get; }
Property Value
TargetText
public string? TargetText { get; }
Property Value
TopK
public int TopK { get; }
Property Value
TotalChunks
public int TotalChunks { get; }
Property Value
Methods
ToReport()
Returns a human-readable diagnostic report.
public string ToReport()