EnsembleRetriever<T>
Models & Types · AiDotNet.RetrievalAugmentedGeneration.Retrievers
Fuses the results of any number of retrievers via Reciprocal Rank Fusion (RRF), with optional
per-retriever weights. Generalizes HybridRetriever beyond two retrievers, matching
the LangChain/LlamaIndex “ensemble retriever” (Cormack et al., 2009).
Inheritance: RetrieverBase<T> → EnsembleRetriever<T>
Constructors
| Constructor | Summary |
|---|---|
EnsembleRetriever(IReadOnlyList<IRetriever<T>> retrievers, IReadOnlyList<double> weights, int defaultTopK, int rrfK) |