Skip to content

Glossary: RAG Basics

Retrieval

Also written: retrieve, augment, generate

The first RAG step: finding the few passages most likely to contain the answer. The prompt is then augmented with them and the model generates an answer from them.

Where the book teaches it

Related terms

RAGReranker