agentskit.js

HybridRetrieverOptions

Auto-generated API reference for HybridRetrieverOptions.

Interface: HybridRetrieverOptions

Defined in: packages/rag/src/rerank.ts:224

#Properties

#bm25Weight?

optional bm25Weight?: number

Defined in: packages/rag/src/rerank.ts:228

Relative weight of the BM25 score. Default 0.4.


#candidatePool?

optional candidatePool?: number

Defined in: packages/rag/src/rerank.ts:232

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


#topK?

optional topK?: number

Defined in: packages/rag/src/rerank.ts:230

topK emitted after merging. Default 5.


#vectorWeight?

optional vectorWeight?: number

Defined in: packages/rag/src/rerank.ts:226

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

Ask the docs
Ask anything about AgentsKit. Answers come from the docs corpus and cite their sources.