On this page
Key takeaways
- AI search tools that cite sources mostly work in three steps: decide to search, retrieve passages, then write an answer from them. This is called retrieval-augmented generation, or RAG.
- Your page can be dropped at each step. It may not be crawled, it may not be found for the sub-questions, or its passage may not be clear enough to quote.
- AI tools quote passages, not whole pages. A passage should make sense on its own.
- Some of what circulates about how this works is reported second-hand. This guide marks which figures are primary and which are not.
- You can test each step on your own pages with a free, 30-minute check.
The short answer. Most AI search answers come from retrieval-augmented generation: the tool searches an index, pulls passages from pages, and writes an answer from them. To be quoted, a page has to be reachable, found for the sub-questions the tool runs, and written in passages that make sense on their own. If any step fails, the page is left out, however good it is elsewhere.
What retrieval-augmented generation means#
A large language model learns from text during training and stores what it learned in its parameters. Ask it a question with no search, and it answers from that memory. The memory has a cutoff date, and it can be wrong or vague about a specific company.
Retrieval-augmented generation (RAG) adds a lookup. The idea comes from a 2020 research paper by Patrick Lewis and colleagues, who combined a language model's stored knowledge with an index of Wikipedia passages and found that this produced "more specific, diverse and factual language" than a model working from memory alone. [Lewis et al., arXiv 2005.11401] The name was coined there. Today the same idea sits behind the "search the web" and "sources" features of AI assistants and Google's AI Overviews.
Ahrefs describes RAG as "a framework that determines which content AI tools retrieve and cite before generating an answer." [Ahrefs, RAG explained] For a marketer, the practical point is that there are two ways to be in an answer: be in the model's memory, or be retrieved at the moment of the question. This guide is about the second.
The three steps, and where your page can drop out#
The Ahrefs explainer breaks RAG into retrieval, augmentation and generation. Here is the same flow in terms a marketer can act on. The detail inside each step differs between tools and is partly reported rather than published by the vendors, so we mark that below.
| Step | What happens | How a page drops out | What to check |
|---|---|---|---|
| 1. Decide | The tool decides whether the question needs a search | Question is answered from memory, no search | Is your topic one people ask as a question that needs fresh facts? |
| 2. Retrieve | It runs searches, often several, and picks passages | Crawler blocked, page not indexed, page not found for the sub-questions | Access, indexing, coverage of sub-questions |
| 3. Write | The passages go into the model with the question, and it writes an answer | Passage is unclear, incomplete or buried | Self-contained passages, facts near the top |
Step 1: the tool decides whether to search
Not every question triggers a search. Ahrefs reports that for ChatGPT a smaller classifier scores queries as needing no search, a simple search or a complex multi-step search. [Ahrefs, RAG explained] That detail is relayed second-hand, not published by OpenAI, so treat it as a likely picture, not a fact.
What is measured is how often question-style searches trigger an AI answer. Researchers at Washington University found Google AI Overviews on 64.7% of question-form queries, against 13.7% of all the trending searches they tested. [Xu, Iqbal and Montgomery, arXiv 2605.14021] Questions are where retrieval is most active. See are Google AI Overviews accurate for the full study.
Step 2: the tool searches, often several times
Google's documentation says AI Overviews and AI Mode may use "query fan-out", running several related searches across subtopics. [Google Search Central] Ahrefs describes the same pattern for other tools: the system expands the question into sub-queries, sends them to an index, breaks pages into chunks and compares them with the question. [Ahrefs, RAG explained]
Three things follow for your pages.
Access. If an AI search crawler cannot read your page, it cannot be retrieved. OpenAI says sites that block its OAI-SearchBot "will not be shown in ChatGPT search answers," though they can still appear as navigational links. [OpenAI, crawler overview] Perplexity documents PerplexityBot. [Perplexity, crawlers] See which AI crawlers to allow.
Indexing. Google says a page must be "indexed and eligible to be shown in Google Search with a snippet" to appear as a link in AI Overviews or AI Mode. [Google Search Central] Ordinary SEO hygiene is the entry ticket.
Coverage of the sub-questions. The page that ranks for the main search may lose to pages that answer a sub-question better. The university study found nearly 30% of domains cited in AI Overviews did not appear in the first-page results at all, and concluded that Google uses a source selection mechanism distinct from its ranking algorithm. [Xu, Iqbal and Montgomery, arXiv 2605.14021] An average Overview cited about eight sources. [WashU Source, 29 September 2026] So there is room for pages that cover one narrow question well.
Step 3: the tool writes from the passages
AI tools rarely read your page top to bottom. Microsoft's Bing team says assistants "break content down, a process called parsing", and that formats that help include "one- to two-sentence responses that directly address a question" and "sentences that make sense even when pulled out of context." [Microsoft Advertising, Bing]
Why self-contained passages matter is shown by a 2024 paper on "sufficient context". It found that leading models often answer incorrectly instead of declining when the retrieved passage is not enough, and that in two widely used test sets, over half of the questions came with passages that were not enough on their own. [Joren et al., arXiv 2411.06037] If your passage leaves out the key fact, the tool may fill the gap with something else.
Placement may matter too. Ahrefs reports a study by Kevin Indig of 1.2 million ChatGPT citations in which the first 30% of a page produced 44.2% of citations. [Ahrefs, RAG explained] That is a second-hand figure from one analyst, and a sample of one tool, so use it as a hint to put the answer first, not as a rule.
What the research says raises your odds#
Three sources agree on the direction, with different strengths of evidence:
- Specific, sourced facts. The GEO study rewrote pages in different ways and found methods such as adding quotations and statistics raised visibility in a test AI answer, "by up to 40%", while keyword stuffing did not help. It was a research setup, not a live assistant. [Aggarwal et al., arXiv 2311.09735]
- Freshness. Ahrefs found that URLs cited by AI assistants are 25.7% fresher on average than the URLs in ordinary search results, across 17 million citations. [Ahrefs, RAG explained] It shows a link, not that updating a page earns a citation.
- Reference-style pages. In Ahrefs' analysis of the 1,000 pages ChatGPT cited most, educational pages such as explainers and how-tos were 19.4% and blog posts 1.9%, with Wikipedia at 29.7%. Ahrefs says the page types were sorted with AI, so the split is directional. [Ahrefs, ChatGPT's most cited pages]
A 30-minute RAG check for one page#
Pick one page that should be quoted, such as a pricing explainer or a product comparison.
- Access (5 minutes). Open your robots.txt and look for rules naming OAI-SearchBot, PerplexityBot or Googlebot. Confirm the page is not blocked and is not set to noindex or nosnippet.
- Indexing (5 minutes). Search Google for the exact page title in quotes. If the page does not appear, fix indexing first.
- Sub-questions (10 minutes). Write the five questions a buyer would ask around the page's topic: price, who it suits, how it compares, what it integrates with, how it works. Ask each in one AI tool with search on. Note which pages are cited.
- Passage test (10 minutes). Copy the paragraph under each heading into a blank note. Does each one make sense with nothing around it? Does it name the company, product and fact it describes? If not, rewrite it so it does.
Repeat the question runs on another day, because AI answers vary. Our guide to measuring AI visibility explains how to count properly.
What to change on the page#
- Put the answer first. One or two plain sentences under each question heading, then detail.
- Name things in full. Write the company or product name in the passage, not "we" or "it", so the passage works alone.
- Give one sourced figure per section. The GEO study found statistics and quotations raised visibility.
- Cover the sub-questions. A short FAQ block or comparison page answers narrow questions that a main page misses.
- Check the basics. Schema markup describes a page correctly but Google says AI features need no special structured data. Whether llms.txt helps is a separate question we cover elsewhere.
- Review every few months. Update figures and dates when something changes.
For Google specifically, see how to appear in Google AI Overviews and AI Mode.
What no one outside the vendors knows#
Be wary of anyone who claims to know the exact scoring formula. The vendors do not publish it. Ahrefs relays reported details, such as a claim that ChatGPT shortlists sources on relevance, authority, recency and diversity of perspective, and a reported hard timeout when fetching a page. [Ahrefs, RAG explained] These come from third-party testing and are not confirmed by OpenAI. They are useful as hypotheses to test on your own pages, not as rules.
Want to know which of your pages AI retrieves?
Send me one page and five questions around it. I will run each question several times on the main AI tools and tell you which pages are cited, whether yours is one, and which passages to rewrite first. The first consultation is free.
- I check access, indexing and sub-question coverage
- I repeat each question so one answer does not mislead
- I mark the passages that cannot stand alone
Sources: Lewis et al., Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks · Ahrefs, RAG explained · Xu, Iqbal and Montgomery, Measuring Google AI Overviews · WashU Source, 29 September 2026 · Google Search Central, AI features · Google Search Central, 1 December 2026 · Microsoft Advertising, Bing · Joren et al., Sufficient Context · Aggarwal et al., GEO · Ahrefs, ChatGPT's most cited pages · OpenAI, crawler overview · Perplexity, crawlers
Questions and answers
What is retrieval-augmented generation in simple terms?
It is a way for an AI tool to look something up before answering. The tool searches an index, pulls out the most relevant passages and writes its answer from them, instead of relying only on what it learned in training. The method was described in a 2020 paper by Lewis and colleagues. (arXiv 2005.11401)
Does every AI answer use RAG?
No. When a tool answers from its trained memory without searching, there is no retrieval step. Ahrefs reports that ChatGPT first decides whether a question needs a search, but that detail is relayed second-hand and not published by OpenAI. (Ahrefs)
Why does AI quote a passage and not my whole page?
Because it works in chunks. Microsoft's Bing team says assistants break content down and prefer sentences that make sense when pulled out of context. (Microsoft Advertising) Write each section so it can stand alone.
Does ranking first on Google mean AI will retrieve my page?
Not reliably. In a 2026 university study, nearly 30% of the domains cited in AI Overviews were not among the first-page results for the same search. (arXiv 2605.14021) Ranking helps, but sub-question coverage also decides who is retrieved.
Can I block AI search and still appear in answers?
For ChatGPT, OpenAI says sites that block OAI-SearchBot will not be shown in ChatGPT search answers, though they can still appear as navigational links. (OpenAI) Blocking has a cost in visibility, so decide it deliberately.
Is RAG the same as GEO or AEO?
No. RAG is the technical method AI tools use to answer from retrieved pages. AEO and GEO are names for the work of making your company easy to retrieve and quote. See AEO vs SEO vs GEO for the difference.
How do I know if my page is being retrieved?
Ask the buyer questions around the page in AI tools with search on, several times on different days, and note whether your page is cited. Google Search Console now also reports clicks and impressions for AI Overviews and AI Mode. (Google Search Central, 1 December 2026)
B2B marketers who build tools to measure how ChatGPT, Gemini, Claude and Perplexity talk about companies. About us


