Skip to main content

AI and Automation

RAG (Retrieval-Augmented Generation)

RAG grounds an AI in your own content instead of its training data. It is usually the right architecture, and it fails on retrieval rather than on the AI.

Definition

Retrieval-augmented generation is a two-step arrangement. When a question arrives, the system first searches your own material for relevant passages, then hands those passages to a language model and asks it to answer using them.

What It Actually Means

The model is not answering from memory. It is reading an extract you supplied and writing a reply based on it, which is much closer to a well-briefed assistant than to an oracle.

For almost every business use of AI on internal content, this is the right shape.

Why It Beats The Alternative

The instinctive alternative is fine-tuning: training the model on your documents so it knows them. It sounds more thorough and is usually the wrong tool.

Updating is instant. Change a document and the next answer reflects it. Fine-tuning means retraining.

Answers can cite their source. The system knows which passage it used and can show you, so a person can verify in seconds. This is the single biggest practical advantage, because it converts a claim into something checkable.

Permissions still work. Retrieval can be filtered to what the asker is allowed to see. A fine-tuned model has absorbed everything it was trained on and cannot selectively forget, which is a genuine data-protection problem when documents have different audiences.

It is far cheaper, and it fails more gracefully. Retrieval finding nothing produces an admission of ignorance rather than an invention.

Where It Actually Fails

The failure is nearly always retrieval, not generation, and this is the thing worth understanding before you commission one.

If the search step returns the wrong three passages, the model writes a fluent, confident, well-sourced answer based on the wrong material. It looks exactly like a good answer. The AI performed correctly. The system was wrong.

That has consequences for where the effort goes. Most of the work in a RAG build is not the AI part. It is how documents get split up, how they are indexed, how the search is tuned, and how conflicting or outdated versions are handled. A supplier whose proposal is mostly about which model to use has not built one of these before.

The other reliable failure is content. Retrieval over documentation that is contradictory, obsolete or absent produces confident answers drawn from the wrong version. These systems expose the true state of your internal knowledge with uncomfortable clarity.

What To Ask

  • Does every answer cite its sources? Non-negotiable. Without it nobody can check anything.
  • What happens when nothing relevant is found? It must say so rather than improvise.
  • How are permissions applied to retrieval? Especially where documents have different audiences.
  • How does content get updated and removed? Superseded material left in the index is the most common cause of wrong answers.
  • How was retrieval evaluated? Ask for real questions and the passages returned, not a demo.

What To Expect

Done properly, RAG is the most dependable business application of language models available today, because it constrains the system to material you control and makes its working visible.

It does not eliminate hallucination. A model can still misread a passage or fill a gap. It does make errors traceable, which is what makes the output usable for real work rather than only for drafting.

More terms are in the glossary.

Portrait of Alexander De Sousa, founder of Digital Royalty
Founder-led
“I’ve put everything I know into how this company works — the standards, the method, the care on every project. It runs through the whole team, and I hold us all to it.”

Alexander De Sousa · Founder LinkedIn

Featured on BBC Radio Solent

Get started

Tell us what you need

A few quick questions, then a straight answer from a real person — usually within a few hours.

Tell us what you're working on

Whether it's a new site, a platform, or a process that shouldn't be manual any more — we'll tell you honestly if we can help.