Course map · S2 Retrieval and RAG · Episode 7 of 16
Reranking
Lesson complete
Reranking
Add a reranker when the right passage is found but ranked too low. Give it a long enough shortlist, and measure what it costs per question.
Up next: S2 E8 Filters, permissions and fresh documents, coming soon.
Back to S2Lesson notes
Search was finding answers but ranking them too low, so an LLM reranker reading the top 20 lifted search from 281 to 316 of 400, for about $0.001 a question.
Add a reranker when the right passage is found but ranked too low. Give it a long enough shortlist, and measure what it costs per question.
Ideas in this lesson
- Retrieval