Glossary: retrieval-augmented generation

What is retrieval-augmented generation (RAG)?

Retrieval-augmented generation, or RAG, is a method where an AI system first retrieves relevant documents from a search index or database, then writes its answer using them. AI search tools such as ChatGPT search, Perplexity and Google AI Overviews work in this way for many questions, which is why being retrievable decides whether you can be cited.

Check your AI visibility

See in seconds whether ChatGPT, Claude, Perplexity and Google's AI crawlers can read your site.

  • GPTBot
  • OAI-SearchBot
  • ClaudeBot
  • PerplexityBot
  • Google-Extended
  • Bingbot
  • Which AI crawlers can read your site, right here
  • Schema, llms.txt and search basics in the full report
  • Your top fixes, ready to paste, after a no-cost signup

How RAG shapes AI answers

The term comes from a 2020 research paper by Patrick Lewis and colleagues at Facebook AI Research. The idea is to give a language model fresh, specific information at answer time instead of relying only on what it learned in training.

For a website, RAG explains how AI search works in practice. If your page is not in the index the system searches, or its key passage is hard to match to the question, it cannot be retrieved and so cannot be cited.

  • Retrieve

    The system turns the question into one or more searches and pulls back a set of candidate pages or passages from its index. Crawler access and indexing decide whether you are in that set.

  • Rank and select

    It picks the passages that look most relevant and reliable. Clear, specific passages that match the question closely have an advantage here.

  • Generate with sources

    The model writes the answer from the selected passages and often links them as citations. Training knowledge still shapes the wording and which brands it expects to mention.

Step by step

How to make your pages easy to retrieve

  1. 01Be in the indexAllow the search crawlers behind AI tools, such as OAI-SearchBot and PerplexityBot, and make sure key pages are indexed in Google and Bing.
  2. 02Match the question wordingUse the words buyers use in headings and opening sentences, so a search for their question finds your passage.
  3. 03Keep passages self containedWrite each section so it answers one question fully, since systems often retrieve passages rather than whole pages.
  4. 04Put text in the HTMLMake sure the main content is in the server rendered HTML, not loaded later or hidden behind tabs that need scripts.
  5. 05Check what gets retrievedLook at which of your pages AI engines cite for your buyer questions, and which competitor or third party pages they pick instead.

Checklist

Checklist

  • AI search crawlers allowed
  • Key pages indexed in Google and Bing
  • Headings use the buyer's own wording
  • Each section answers one question fully
  • Main content in the server rendered HTML
  • Cited sources checked for buyer questions

Check whether AI search can retrieve you

Run the audit on your domain to check crawler access and page basics, then sign up at no cost to track cited sources.

Check my retrievability

Questions

Is RAG the same as AI search?

Not exactly. RAG is the technique. AI search products use it, along with their own indexes, ranking and model, to answer questions with sources.

Does every AI answer use retrieval?

No. Some answers come from training alone, especially when web search is off. Those answers usually show no citations.

Can I see if my page was retrieved?

Only when it is cited or linked. Pages that were retrieved but not cited leave no visible trace, so tracking citations is the practical measure.

Not ready to sign up?

Leave your work email and we will send practical notes on getting found in AI answers, one at a time. Add your site if you want them to fit it. Unsubscribe any time.

Last updated 2026-11-21