Retrieval-augmented generation (RAG)
- Retrieval-augmented generation is a pattern where a system searches your own documents or data at question time and puts the matching passages into the model's prompt, so the answer is grounded in your content rather than the model's memory.
01Why it matters
Why does retrieval-augmented generation (RAG) matter?
RAG is the reason most businesses never need to train a model of their own. Your policies, contracts, tickets and price lists keep changing. A model trained on them is out of date the week it finishes. Retrieval keeps the knowledge somewhere a human can edit and leaves the model somewhere nobody has to touch.
Change the document, and the next answer changes with it.
It also fails in a way that looks like the model failing. That is why so many of these builds get diagnosed wrongly and rebuilt on a bigger model that does not help. If the retrieval step returns the wrong three paragraphs, a perfect model gives a confident wrong answer. Most of the engineering is not in the generation half at all. It is in chunking, in metadata, in permissions, and in whether the passage that was used is shown to the reader so they can check it. A retrieval system that cannot show its sources has thrown away the main reason to build one.
How Stratition handles it
Document pipelines are the shape this takes most often: intake, extraction, retrieval, then an answer carrying the page it came from. We treat retrieval as a permissions problem before it is an accuracy problem, because an index assembled without access control will cheerfully answer an HR question for a contractor. Retrieval is evaluated separately from generation, so when quality drops we can say which half moved.
02See also
The terms this one leans on, and how they connect to each other.
03Where this leads
Where we do the work
Start here
Tell us what you're trying to build.
One call. We'll tell you how we'd ship it — and what it would take.
- You own your data and IP
- NDA on request
- Reply in one business day