PrepZone Logo
PrepZone
Back to AI

AI · Medium

What is reranking in a RAG pipeline?

AIRAG

Answer preview

Reranking: After initial retrieval (top-20), use a cross-encoder model to score query-chunk pairs more accurately → return top-5.…