Retrieval-augmented generation

What is RAG (Retrieval-Augmented Generation) in SEO?

Retrieval-augmented generation is how ChatGPT and Perplexity pull a live page from the web before they write an answer. Plain HTML is the file that step can quote, because the facts are already in the response the server sent.

What the retrieval step keeps

ChatGPT and Perplexity are not limited to the text they were trained on. For a current question they fetch pages, split those pages into passages, and generate from the passages.

The fetch is the HTML your server returns. A sentence that appears only after a script runs is not in that file, so it cannot be retrieved.

How GeoHTML prepares the page

  • The answer is the first paragraph under the question.
  • Lists and tables keep each fact inside one passage.
  • JSON-LD repeats the same words the reader sees, and adds none.

Read how AI crawlers read HTML for the difference between a fetch and a render.

Related terms

GEO glossary

Request a free AI-extraction audit

Send one public URL. A person reads the HTML your server returns and writes back what AI crawlers can quote, and what they never see.

Request a free AI-extraction audit