Reranking Configuration
We are using FlashrankRerank from Flashrank to improve the quality of search results. It is a reranking open-source library that uses deep learning models to rerank search results.Use Cohere ReRanker
To use the Cohere ReRanker, you need to configure the following environment variables in your.env
file:
COHERE_API_KEY
variable is not set. If you want to use the Cohere ReRanker, you need to set it to your Cohere API key.