Reranking: A Second, Sharper Look

Vector similarity is a fast but lossy first pass, so the best chunk is often ranked fifth instead of first. A cross-encoder reranker reads the query and each candidate together and re-scores them precisely. This chapter covers the two-stage retrieve-then-rerank pattern, bi- versus cross-encoders, LLM rerankers, and the latency cost.

Advanced RAG Masterclass

Sign up free to read the rest of this lesson