Glossary / Retrieval-augmented generation (RAG)
Retrieval-augmented generation (RAG)
A method where a model first retrieves relevant documents and then writes an answer from them.
Example
The tool pulls three pages about a tax rule and writes from those rather than from memory.
In Lumen
Lumen answers with sources, in the spirit of retrieval-based answering.
Related terms
Reviewed 2026-11-23.