Table of Contents

Class RagDiagnosticsExtensions

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

Extension methods for convenient access to RAG diagnostics.

public static class RagDiagnosticsExtensions
Inheritance
RagDiagnosticsExtensions
Inherited Members

Methods

Diagnose(RagPipeline)

Creates a diagnostic session for this RagPipeline.

public static RagDiagnosticSession Diagnose(this RagPipeline pipeline)

Parameters

pipeline RagPipeline

Returns

RagDiagnosticSession

Diagnose(RagStore)

Creates a diagnostic session for this RagStore. Use to debug search quality issues, run health checks, or compare splitter configurations.

public static RagDiagnosticSession Diagnose(this RagStore store)

Parameters

store RagStore

Returns

RagDiagnosticSession

Examples

var report = await ragStore.Diagnose()
    .WhyMissingAsync("์ตœ๊ทผ ์—ฐ๋ด‰์ด ์–ผ๋งˆ?", "$1");
Console.WriteLine(report.ToReport());