Join the waitlist
Glossary

Retrieval-augmented generation (RAG)

What retrieval-augmented generation (RAG) is, why AI answers that search the web repeat what third-party pages say, and what that means for product accuracy.

Retrieval-augmented generationdefinition

Retrieval-augmented generation (RAG) is a technique where an AI model first retrieves relevant documents, such as web pages, and then writes its answer from them. It is why AI search answers about your product often repeat what the pages they retrieved say, right or wrong.

Retrieval-augmented generation, or RAG, pairs a language model with a search step. Instead of answering only from what it absorbed in training, the system first retrieves documents relevant to the question, then generates an answer grounded in them. The approach was named in a 2020 paper by Patrick Lewis and colleagues, "Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks," which reported more factual output than a model working from its parameters alone (arXiv).

What it means in practice

AI search features work this way. When ChatGPT searches the web, Perplexity answers with citations, or Google shows an AI Overview, the answer is built from pages retrieved at that moment. Which pages get retrieved matters. Profound's citation study, which is vendor research, found Reddit was the most cited domain for Perplexity (6.6% of citations) and AI Overviews (2.2%), while Wikipedia led for ChatGPT (Profound).

An example

Hypothetically, someone asks an assistant "Does Ledgerly have an API?" It retrieves Ledgerly's docs and a comparison page that says "no public API." If the comparison page ranks higher or is more detailed, the answer may say no, even though Ledgerly's docs say yes.

Why it matters for accuracy

RAG cuts both ways. It means a wrong answer is often not a brand hallucination but a faithful summary of a wrong page. It also means fixing that page, or making your own page clearer, can change future answers. The practical step is to look at what an answer cites. See how to trace the source of AI misinformation.

Put Corri on watch.

Join the waitlist to be among the first to use it.

One email when Corri is ready for you. Nothing else.

That didn’t go through. Try again in a moment.