Glossary · Retrieval and models
What is Retrieval-Augmented Generation (RAG)?
Last updated November 2026 · Reviewed against the IndexHot GEO Measurement Standard v1.0
Retrieval-Augmented Generation (RAG) is an architecture in which a language model retrieves relevant documents from an external index before generating a response, using those documents as evidence.
In short: Retrieving external documents before generating an answer.
Why it matters
RAG is the reason a brand can appear in an AI answer at all. Without retrieval, the model answers from training data alone and your recent content is irrelevant. With retrieval, the quality of your retrievable passages determines whether you are used.
How to work with it
A typical pipeline embeds documents into chunks, retrieves candidates by similarity, re-ranks them, then conditions generation on the top passages.
Common mistakes
- Assuming training-data presence is enough and ignoring fresh retrieval.
- Publishing content that only works as a whole document, not as passages.
- Blocking crawlers that feed retrieval indexes.
Real example
A documentation site blocked one AI crawler during a migration and forgot to reverse it. Citation rate fell from 34 to 3 percent of prompts and stayed there for eleven weeks, even after the content was rewritten twice. Restoring crawl access recovered most of it in nine days.
How to measure it
Fetch your key pages with a plain HTTP client, no JavaScript, and confirm the body text is present. Then check robots.txt against each named AI user-agent.
Where it breaks
RAG does not guarantee freshness. Some pipelines retrieve from cached indexes that update on their own schedule, so a page published today may not be retrievable for days.
How it differs from adjacent terms
Grounding is what RAG is for; RAG is the mechanism that makes grounding possible. A system can ground without retrieval by citing training data, and it can retrieve without grounding by fetching pages and ignoring them. Compared with Semantic Search, RAG is the full pipeline while semantic search is one retrieval strategy inside it, alongside keyword and hybrid approaches.
Quick checklist
- Primary content served in the initial HTML, no JavaScript needed.
- robots.txt checked against each named AI user-agent.
- No CDN challenge served to non-browser clients.
- Key pages within three internal clicks of the homepage.
- Retrieval confirmed by asking questions your page answers.
FAQ
Does RAG mean my content is read live?
Often yes, but not always. Some systems retrieve from a live index, others from a cached crawl. Either way, crawlable, well-chunked pages are the prerequisite.
Why does my page get retrieved but not quoted?
Retrieval and generation are separate steps. A page can be fetched as a candidate and then discarded because another passage summarises the answer more cleanly.
Related terms
See how this shows up for your brand
The free IndexHot check runs a governed question library across ChatGPT, Perplexity, Gemini and AI Overviews, then separates mention, citation and absorption.
Run the free check