Zenaique
Glossary · RAG

Retriever

Also known as: First-stage retriever, Recall model

The fast first-stage search in RAG: bi-encoder or BM25 fetching a shortlist for the reranker or LLM.

The fast first stage of a RAG pipeline. Uses precomputed embeddings (bi-encoder) or an inverted index (BM25) to scan millions of documents in milliseconds and hand a shortlist of tens or hundreds of candidates to a downstream reranker or directly to the LLM.

In practice

Every production RAG interview covers the two-stage pipeline. The retriever is where recall lives, and its choice (dense vs sparse vs hybrid) drives cost, freshness, and quality.

How it compares

The retriever fetches a shortlist fast; the reranker scores that shortlist more accurately per pair.

A bi-encoder is one way to build a retriever: independent embeddings of query and docs compared by vector similarity.

Comparisons that include Retriever

Related topics

Related terms