Table of Contents

Method RetrieveAsync

Namespace
Qavren.Edge.Rag
Assembly
Qavren.Edge.Rag.dll

RetrieveAsync(string, RetrievalRequest, CancellationToken)

Returns the matching sources, best-first, with Score and ScoreKind stamped.

ValueTask<IReadOnlyList<RagSource>> RetrieveAsync(string query, RetrievalRequest request, CancellationToken cancellationToken)

Parameters

query string
request RetrievalRequest
cancellationToken CancellationToken

Returns

ValueTask<IReadOnlyList<RagSource>>