Retrieval-Augmented Generation (RAG) fetches relevant text from an outside knowledge source at query time, then puts that text in the prompt. The model answers from the supplied evidence, not only from memory.
A trained model's knowledge is frozen at its cutoff, the date its training data stops. It has never seen your company's wiki, last week's ticket, or a private contract. Asking it anyway produces confident guesses.
RAG solves this without retraining. You update the documents, and the next answer changes. Because each answer traces back to a retrieved passage, you can show the source.
The tradeoff is that answer quality now depends on retrieval quality. If the search misses the right passage, the model is back to guessing.
This answer doesn't lend itself to a diagram - it reads best . No credits were charged.
Why there's no diagram: “”
The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓
The diagram below the answer is the concept . Jump to it ↓