Class DelegateRetriever
An IEdgeRetriever over a lambda, for a consumer whose corpus is not an MEVD collection - an in-memory list, an HTTP search endpoint, a hand-rolled index.
public sealed class DelegateRetriever : IEdgeRetriever
- Inheritance
-
DelegateRetriever
- Implements
- Inherited Members
Constructors
- DelegateRetriever(string, Func<string, RetrievalRequest, CancellationToken, Task<IEnumerable<RagSource>>>)
Creates a retriever that forwards every call to
retrieve.
Properties
- Name
A stable name for logs, diagnostics and
EdgeRagException.RetrieverName.
Methods
- RetrieveAsync(string, RetrievalRequest, CancellationToken)
Returns the matching sources, best-first, with
ScoreandScoreKindstamped.