createFusionRetriever
createFusionRetriever(
retrievers,options?):Retriever
Defined in: retrievers/fusion-retriever.ts:89
Build a Retriever that queries several retrievers in parallel and fuses their rankings with reciprocalRankFusion. Useful for combining a keyword retriever with a vector retriever into a hybrid ranking.
Parameters
Section titled “Parameters”retrievers
Section titled “retrievers”readonly Retriever[]