Retrieval augmented generation explained: RAG in practice
Retrieval augmented generation, RAG for short, is a method in which a language model retrieves relevant passages from a defined document collection before each answer and bases its answer on what it found. This lets it answer with current, company specific knowledge and cite the source, without retraining the model itself.

How retrieval augmented generation works
The method has three steps. First, the documents are split into sections and prepared so that they can be searched by meaning. When someone asks a question, the system picks out the most relevant sections, which is the retrieval step. The language model then receives the question and the passages together and formulates the answer from them. The model therefore knows no more than before, it is simply given the right excerpt for every question.
How it differs from fine tuning and a plain language model
| Feature | Plain language model | Fine tuning | Retrieval augmented generation |
|---|---|---|---|
| Where the knowledge comes from | general training knowledge | training knowledge plus your own retrained data | your own document collection, retrieved at runtime |
| Updating | not without a new model | only by retraining again | replace the document, done |
| Source citation | no | no | yes, for every answer |
| Permissions per user | cannot be mapped | cannot be mapped | controllable through retrieval |
| Well suited to | general texts | style, technical language, fixed formats | questions about manuals, standards, incident history |
Fine tuning changes how a model behaves, RAG changes the material it works with. The two can be combined. For knowledge questions within a company, RAG is usually the simpler route, because knowledge changes daily and every answer should remain verifiable.
Practical example: knowledge and assistance in manufacturing
In our industry report, RAG is the core of use case field E, knowledge and assistance. The maintenance technician asks in natural language and gets the answer with its source, instead of working through 400 pages of PDF. One documented case from industry is Covestro: the company runs its company wide assistant COVA on its own infrastructure and reports 4,500 weekly users at operating costs of one tenth of a standard solution (company statement, Covestro 2025). This is not a project of ours.
The report names four prerequisites:
- Documents in machine readable form. Scanned PDFs without text recognition are the most common blocker.
- An access control concept, because not everyone may see every cost calculation or design drawing.
- Answers with source citations, otherwise the workforce will not trust them.
- A maintenance routine, so that outdated documents do not keep feeding into answers.
No other field touches as much sensitive material. 77 % of companies name data protection requirements as the biggest obstacle (Bitkom 2026, the German digital industry association). That is why we prefer to run RAG on AI in your own data centre. When the answer turns into a process, such as a ticket, RAG moves into the territory of AI agents for companies. The classification of all fields is set out in our article on AI use cases in manufacturing.





