agentskit.js

BM25Options

Auto-generated API reference for BM25Options.

Interface: BM25Options

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

#Properties

#b?

optional b?: number

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

Length-normalization weight in [0, 1]. Default 0.75; invalid β†’ default.


#k1?

optional k1?: number

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

Term-frequency saturation (k1 β‰₯ 0). Default 1.5; invalid β†’ default.

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.