Lesson 3.25mAdvanced5.8k students

Reranking retrieved candidates

Retrieve broadly, then rerank precisely. A reranker reads query and passage together, which is why it beats vector distance on ordering.

This lesson sits in Retrieval Quality, part of Retrieval-Augmented Generation from Scratch. It assumes what came before it and leads directly into the next lesson in the module.

In this lesson you will

  • Retrieve a wide candidate set, then narrow it
  • Score query and passage jointly with a reranker
  • Balance the latency cost against the accuracy gain

Resources