Skip to content

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.

readonly Retriever[]

FusionRetrieverOptions = {}

Retriever