Mixedbread

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.

Prerequisites

To make a request to our APIs, you will need an API key for authentication. You can create this on your . 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?

  • if you have any questions or need assistance.
  • Join our to connect with other developers and get support.
  • Read the for more details.

On this page