Skip to main content

Cross Encoder Reranker

This reranker uses Cross Encoder models from sentence-transformers to rerank the search results. You can use this reranker by passing CrossEncoderReranker() to the rerank() method.
Note: Supported query types – Hybrid, Vector, and FTS.

Accepted Arguments

Supported Scores for each query type

You can specify the type of scores you want the reranker to return. The following are the supported scores for each query type: