When someone asks an AI assistant about your type of business, the answer may be built from web pages you never see. A method called RAG is behind much of this. HubSpot has published a plain-English guide on it for marketers, and the core idea is simple: the AI looks up sources first, then writes its answer from what it finds.
What changed
Pew Research Center analyzed the browsing data of 900 U.S. adults in 2025. People clicked a regular search result on 8% of visits when Google showed an AI summary. Without one, they clicked on 15% of visits. With fewer clicks, the answer itself carries more weight, and so do the pages it draws from.
What RAG means
RAG stands for retrieval-augmented generation. A standard language model answers from patterns it learned in training, and that knowledge has a cutoff date. It will not know about your newest pricing page or help article. With RAG, the system checks an outside source first, such as a help center or company documents, and uses what it finds.
The idea comes from a 2020 research paper by Lewis and colleagues. It linked a pre-trained language model to a searchable index of Wikipedia.
How it works
The guide describes three steps: retrieve, augment, generate. The system prepares your content ahead of time by splitting pages into chunks. When a question arrives, it finds the closest-matching chunks and adds them to the prompt. The model then writes the answer. If the system is built to show sources, it can link back to your page.
The guide compares a standard model to a smart colleague answering from memory. A RAG system is the same colleague with your company wiki open. If the wiki is outdated or has gaps, the answer shows it.
What to do
Because each chunk is judged on its own, a passage works best when it can stand alone. The guide points to three habits:
- Open with a direct answer.
- Name the product or topic explicitly.
- State facts in full sentences, not phrases like "as mentioned above."
What is not known
Answer engines differ. Some pull from the live web, some from curated indexes, and some from private company documents. Citation behavior varies by platform and can change when products update. Clear content can make your pages easier for machines to use, but it does not guarantee they will be retrieved or cited. The guide suggests treating any tactic as a way to improve your odds, then measuring what happens.
The takeawayAI assistants may quote your pages, so write each section to stand alone with a direct answer, and check what actually shows up.