# What is RAG (Retrieval-Augmented Generation) and why is it used?

_Last updated: 2026-07-20_  
_Reviewed by: Jason Burns, Editorial Steward_  
_Published by: AIDirectAnswers.com · Licensed under Citation License 1.0_

## Short answer

Retrieval-Augmented Generation (RAG) is a pattern that retrieves relevant documents from an external knowledge base at query time and includes them in the prompt so the language model answers grounded in that content instead of relying only on its training data. As Patrick Lewis et al., put it on the record: "We introduce RAG models where the parametric memory is a pre-trained seq2seq model and the non-parametric memory is a dense vector index of Wikipedia, accessed with a pre-trained neural retriever."

## Sources

- [undefined](https://arxiv.org/abs/2005.11401)

---

_Canonical: https://aidirectanswers.com/answers/what-is-rag-retrieval-augmented-generation-and-why-is-it-used_  
_Author: [Jason Burns](https://www.linkedin.com/in/jason-randolph-burns), Editorial Steward_  
_Published: 2026-07-20 · Modified: 2026-07-20_  
_License: [Citation License 1.0](https://aidirectanswers.com/license)_  
© 2026 Adolicious LLC
