← Dictionary

3. Getting facts right

Retrieval

The search step inside RAG — finding the right passages before the model ever sees the question. When a RAG system gives bad answers, the fault is usually here: the model was handed the wrong pages.

Why it matters: garbage retrieved, garbage generated. Debugging AI answers starts with "what was it actually shown?"

Related: RAG