Interface IRagDiagnosticsStore
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
cancellationTokenCancellationToken
Returns
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
queryVectorfloat[]cancellationTokenCancellationToken