Reranking
Learn how to quickly implement Mixedbread's Reranking API to improve search result relevance. This guide offers a fast introduction to reordering search results, with simple code examples to enhance your search functionality and reduce hallucinations in RAG systems.
Reranking is the process of reordering search results based on relevance to the query. Our reranking models take an initial set of search results and reorder them to boost the most relevant results to the top. This helps reduce hallucination in RAG systems, improve search accuracy, and enhance user satisfaction with better search experiences instantly. Learn more
Prerequisites
To make a request to our APIs, you will need an API key for authentication. You can create this on your dashboard. Remember to replace YOUR_API_KEY
with your actual API key in the following examples.
Reranking API
Here's an example of how to use our Reranking API to rerank a list of search results based on relevance to the query:
Need Help?
- Contact us if you have any questions or need assistance.
- Join our discord to connect with other developers and get support.
- Read the API documentation for more details.