Expand description
Rerankers: score each candidate document against the query so the candidate pool from vector + full-text search can be reordered.
OnnxCrossEncoder(featurererank) — a BERT cross-encoder such ascross-encoder/ms-marco-MiniLM-L4-v2, int8 on ONNX Runtime, local CPU.VoyageReranker(featurererank-voyage) — Voyage AI’s rerank API; candidate text leaves the machine.FallbackReranker— one reranker backed by another.
Structs§
- Fallback
Reranker primary, orfallbackwhenprimaryfails (e.g. a remote reranker that is down or rate limited, backed by a local one).- Onnx
Cross Encoder - Local int8 cross-encoder reranker on ONNX Runtime.
- Voyage
Reranker - Reranks with a Voyage model such as
rerank-3-liteorrerank-3.
Traits§
- Reranker
- Scores (query, document) pairs.