AI engineering glossary · RAG vector search

What is reranker?

Reranker: A model that scores how well each candidate passage answers a query, by reading query and passage together. Rerankers are more accurate than embedding similarity but too slow to run over an entire collection, so they only rescore a shortlist.

Level: intermediateTopic: RAG vector search

Reranker: an example

A reranker gives the correct paragraph a score of 0.94, lifting it from rank 12 to rank 1.

Related terms

More RAG vector search terms

Where you learn it

Reranker is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.