Table of Contents

Interface IRagDiagnosticsStore

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

Optional vector store contract for advanced RAG diagnostics. Implement this interface to enable full diagnostic capabilities such as chunk-level text lookup and all-record scoring analysis.

public interface IRagDiagnosticsStore

Methods

ListAllRecordsAsync(CancellationToken)

Returns all records for diagnostic analysis. Use a VectorFilter at the pipeline level if scoping is needed.

Task<IReadOnlyList<VectorRecord>> ListAllRecordsAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

Task<IReadOnlyList<VectorRecord>>

ScoredListAsync(float[], CancellationToken)

Returns similarity scores against all records, ordered by descending score, without TopK filtering.

Task<IReadOnlyList<VectorSearchResult>> ScoredListAsync(float[] queryVector, CancellationToken cancellationToken = default)

Parameters

queryVector float[]
cancellationToken CancellationToken

Returns

Task<IReadOnlyList<VectorSearchResult>>