Definition Innovation & AI
RAG (retrieval-augmented generation)
A technique that has a language model search a knowledge base for relevant documents before writing its answer, so that it answers from the company’s content rather than from its memory alone.
In practice
Asked about a warranty, the agent finds the relevant page of the terms and conditions and builds its answer from that text.
Not to be confused with
Model alone
A model alone answers with what it learned during training. With RAG, it relies on your up-to-date documents.