agentskit.js

createHybridRetriever

Auto-generated API reference for createHybridRetriever.

Function: createHybridRetriever()

createHybridRetriever(base, options?): Retriever

Defined in: rerank.ts:138

Combine a vector-backed base retriever with a BM25 keyword pass over the same candidate pool. Final score is a weighted sum of the two normalized scores.

#Parameters

#base

Retriever

#options?

HybridRetrieverOptions = \{\}

#Returns

Retriever

Explore nearby

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

On this page