FusionRetrieverOptions
Defined in: retrievers/fusion-retriever.ts:76
Extends
Section titled “Extends”Properties
Section titled “Properties”candidateLimit?
Section titled “candidateLimit?”
optionalcandidateLimit?:number
Defined in: retrievers/fusion-retriever.ts:81
Number of candidates to request from each underlying retriever before
fusion. Defaults to the harness limit passed at query time.
optionalk?:number
Defined in: retrievers/fusion-retriever.ts:12
Damping constant that controls how quickly a document’s contribution decays with rank. Larger values flatten the curve. Defaults to DEFAULT_RRF_K.
Inherited from
Section titled “Inherited from”limit?
Section titled “limit?”
optionallimit?:number
Defined in: retrievers/fusion-retriever.ts:16
Truncate the fused output to this many ids. Defaults to no limit.
Inherited from
Section titled “Inherited from”ReciprocalRankFusionOptions.limit
weights?
Section titled “weights?”
optionalweights?: readonlynumber[]
Defined in: retrievers/fusion-retriever.ts:14
Optional per-ranking weights, aligned by index with rankings.