How RAG works
- 1Retrieve: find the passages most related to the question, using search, vector search or both.
- 2Augment: add those passages to the prompt the model sees.
- 3Generate: the model writes an answer based on them, often with citations.
AI search engines such as Perplexity, ChatGPT search, Copilot and Google AI Overviews all follow this pattern in some form.
Why it matters for visibility
In a RAG system, the answer can only use what was retrieved. If your page is not among the retrieved passages, you are not in the answer, however good your product is. Being retrievable, readable and quotable is the core of AI search optimization.
What it means for brands
- Be findable in the searches the engine runs, not only in the question the user typed.
- Make each passage clear and self contained so it survives being lifted out of the page.