LESSON 3.2
Reranking retrieved candidates
Learn key techniques and workflows in Retrieval-Augmented Generation from Scratch.
5m
advanced
5,828 students
Overview
Retrieve broadly, then rerank precisely. A reranker reads query and passage together, which is why it beats vector distance on ordering.
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
Pro Tip
Use caching and revalidation wisely to ensure your app stays fast and data remains fresh without unnecessary requests.