agentskit.js

HybridRetrieverOptions

Auto-generated API reference for HybridRetrieverOptions.

Interface: HybridRetrieverOptions

Defined in: rerank.ts:112

#Properties

#bm25Weight?

optional bm25Weight?: number

Defined in: rerank.ts:116

Relative weight of the BM25 score. Default 0.4.


#candidatePool?

optional candidatePool?: number

Defined in: rerank.ts:120

Candidate pool to pull from the base retriever. Default 20.


#topK?

optional topK?: number

Defined in: rerank.ts:118

topK emitted after merging. Default 5.


#vectorWeight?

optional vectorWeight?: number

Defined in: rerank.ts:114

Relative weight of the vector score in the final ranking. Default 0.6.

Explore nearby

✎ Edit this page on GitHub·Found a problem? Open an issue →·How to contribute →

On this page