Class MissingAnalysis
- Namespace
- Mythosia.AI.Rag.Diagnostics
- Assembly
- Mythosia.AI.Rag.dll
Result of WhyMissingAsync โ complete root-cause analysis with actionable suggestions.
public class MissingAnalysis
- Inheritance
-
MissingAnalysis
- Inherited Members
Constructors
MissingAnalysis(string, string, IReadOnlyList<AnalysisStep>, IReadOnlyList<string>, QueryDiagnosticResult?)
public MissingAnalysis(string query, string expectedText, IReadOnlyList<AnalysisStep> steps, IReadOnlyList<string> suggestions, QueryDiagnosticResult? queryDetail)
Parameters
querystringexpectedTextstringstepsIReadOnlyList<AnalysisStep>suggestionsIReadOnlyList<string>queryDetailQueryDiagnosticResult
Properties
ExpectedText
public string ExpectedText { get; }
Property Value
HasIssues
Whether the analysis found issues. True if any step failed or warned.
public bool HasIssues { get; }
Property Value
Query
public string Query { get; }
Property Value
QueryDetail
public QueryDiagnosticResult? QueryDetail { get; }
Property Value
Steps
public IReadOnlyList<AnalysisStep> Steps { get; }
Property Value
Suggestions
public IReadOnlyList<string> Suggestions { get; }
Property Value
Methods
ToReport()
Returns a human-readable diagnostic report.
public string ToReport()