# Retrieval-augmented generation

Canonical page: https://www.theglitch.ai/ai-glossary/retrieval-augmented-generation

Retrieving relevant material and supplying it to a model when generating an answer.

[Retrieval-augmented generation, common card \#192 in The Glitch AI glossary: Retrieving relevant material and supplying it to a model when generating an answer.](https://www.theglitch.ai/images/cards/glossary/retrieval-augmented-generation.png?v=2f19100ea6792295)

GLS 192 · common

Also called: RAG.

For: Must know · Builders

## Why it matters

RAG is the standard way to make AI answer from your own documents instead of from memory, with sources you can check.

## In practice

Search product documentation before answering a setup question.

## Watch for

Wrong retrieval or misread evidence can still produce a wrong answer.

## Related terms

[Embedding](https://www.theglitch.ai/ai-glossary/embedding) · [Grounding](https://www.theglitch.ai/ai-glossary/grounding) · [Hallucination](https://www.theglitch.ai/ai-glossary/hallucination)

## Try it here

[Find a reusable workflow](https://www.theglitch.ai/library/skills)

## Guides that use it

[27 AI terms to know in 2027.](https://www.theglitch.ai/learn/ai-terms-2027) · [Context engineering is the real job.](https://www.theglitch.ai/learn/context-engineering)

## Sources

- [Google ML glossary](https://developers.google.com/machine-learning/glossary#retrieval-augmented-generation-rag)

Definition updated 2026-10-29.

[The Ultimate AI Glossary (2027): every term](https://www.theglitch.ai/ai-glossary)

---

Site: [The Glitch](https://www.theglitch.ai) · [About Rabin](https://www.theglitch.ai/about) · [Agent guide](https://www.theglitch.ai/agent.md)
