Give the model a route to material outside its weights.
A language model generates from patterns learned during training and from the context it receives now. Retrieval-augmented generation, or RAG, adds a search step: find passages related to the current question, place selected material in context, and ask the model to answer using it.
The foundational RAG paper describes the system as combining parametric memory—the model—with non-parametric memory—a searchable collection. In an application, that collection might contain product documentation, policies, manuals, research papers, or another set of sources the user is allowed to access.
RAG makes relevant evidence available to a model. It does not guarantee that the evidence is correct, that search found the best passage, or that the final answer follows it.
Updating a source collection can be faster than retraining a model, but new material must still be parsed, indexed, and made available to retrieval. The source can change while the answer pipeline still points to an older index.
