Concept · RAG · NLP · Operations
RAG vs enterprise RAG
Why the prototype that answers beautifully in one afternoon does not survive first contact with a real company.
- Level
- Advanced
- min read
- 14 min
- Updated
- Aug 18, 2026
- IS
- RAG is retrieving relevant passages and injecting them into the prompt. Enterprise RAG is the same idea plus permissions, freshness, conflict resolution, citable evidence and continuous evaluation.
- Use when
- Use RAG when the answer depends on knowledge that changes and the model does not have. Use the enterprise version when a wrong answer has consequences.
- Avoid when
- Do not use RAG when the knowledge is stable and small enough to fit in the prompt, nor when the real problem is that the information does not exist anywhere.
VerdictThe gap between a demo RAG and an enterprise RAG is almost never the model — it is governance of the content feeding retrieval.
There is a script that repeats itself at every company that decides to put AI on top of its own knowledge. Someone builds a RAG prototype in an afternoon, shows it in a meeting, and everyone is impressed. Six months later the system is in production answering badly, and the conversation has become "which model should we switch to".
It is almost never the model. It is that the prototype was solving an easier problem than anyone noticed at the time.
Direct answer: RAG is retrieving relevant passages and injecting them into the prompt. Enterprise RAG is that same pattern plus five guarantees an organisation cannot do without: per-user permissions, content freshness, conflict resolution between versions, citable evidence, and continuous evaluation.
The RAG everybody knows
The basic pattern has four steps and is genuinely simple. That simplicity is exactly what makes it work so well in a demo.
- 01
Index
split documents into passages and embed them
- 02
Retrieve
find the passages closest to the question
- 03
Inject
paste the passages into the prompt
- 04
Generate
the model answers from what it received
On a small, coherent, contradiction-free corpus, this answers very well. The problem is that no company has a corpus like that.
What the enterprise adds to the problem
| Dimension | In the prototype | In the enterprise |
|---|---|---|
| Volume | Dozens or hundreds of documents | Hundreds of thousands, across different systems |
| Access | Everyone sees everything | Each person sees what their role allows |
| Freshness | Static content | Policy changes today and applies from today |
| Consistency | One version of each thing | Three versions of the same document, two of them wrong |
| Vocabulary | Uniform | Every department calls the same thing by a different name |
| Cost of error | Embarrassment in a demo | Wrong decision, fine, rework |
| Proof | Not needed | Must say where the answer came from |
Every row in that table becomes an architectural requirement. That is why enterprise RAG is not RAG with more servers — it is a different system.
The five guarantees
1. Permissions applied at retrieval
This is the one most often built wrong, and the most serious.
The tempting path is retrieving everything and instructing the model not to reveal what the person may not see. That is not access control; it is asking a probabilistic system for discretion. If the passage entered the context, it can leave in the answer.
- 01
The question arrives with the user's identity
not just the question text
- 02
The query is filtered by permission
the index returns only what this person may see
- 03
Authorised passages go into the prompt
the rest is never loaded
- 04
The model answers
having never seen the restricted material
In practice this means carrying permissions alongside each passage in the index and applying them as a query filter — and reindexing when permissions change, which is the part most projects forget.
2. Freshness with a date and an owner
An undated document is a trap. The model has no way to know which of two similar texts is current, so it picks whichever seems more relevant to the question — a criterion with no relationship to being correct.
Every indexed passage needs, at minimum: last updated date, responsible owner, status (current, revoked, draft) and scope of validity.
3. Conflict resolution
With validity metadata, conflict stops being luck and becomes an explicit rule: current beats revoked, specific beats generic, most recent wins ties.
4. Citable evidence
In a corporate setting, an answer without a source is worth close to nothing for any decision that matters. Not because people distrust AI — because they need to show someone else where it came from.
Citing the source also changes system behaviour: forcing it to point at the originating passage makes hallucination far more visible to the reader.
5. Evaluation split by stage
"Is the RAG good?" has no useful answer. Two questions do:
| Stage | What it measures | What to do if it is bad |
|---|---|---|
| Retrieval | Did the right passage enter the context? | Improve chunking, reranking, metadata and hybrid search |
| Generation | Did the answer use well what it received? | Adjust the prompt, the citation format, the model |
The overwhelming majority of problems blamed on the model are retrieval failures. If the right passage never entered, no model on earth gets the answer right.
The architecture that holds up
Receives question and identity
chooses the strategy and assembles the context
Hybrid retrieval
- keyword search
- vector search
- reranking
Governance
- permission
- validity
- owner
- scope
Generation with evidence
- answer citing the source passage
The point that usually surprises people coming from the prototype: hybrid search almost always beats pure vector search in a corporate setting. Product names, policy codes, contract numbers and internal acronyms are retrieved better by literal matching than by semantic similarity. Combining both and reranking is the pattern that works.
The silent enemy: too much context
There is a constant temptation in RAG: if the answer came out wrong, increase the number of retrieved passages. It feels safe — more material, more chance it is in there.
It is the opposite. Irrelevant passages compete with relevant ones for the model's attention. That is context rot applied to your case.
Do
- Rerank by relevance before trimming the list
- Prefer few right passages to many probable ones
- Summarise long documents before injecting
- Remove revoked versions from the index instead of living with them
- Measure correct-retrieval rate separately
Avoid
- Raising top-k so you do not miss anything
- Indexing everything because storage is cheap
- Keeping drafts and final versions in the same index
- Trusting the model to pick the right passage out of thirty
- Evaluating only the final answer
Where to start
The path that works does not start with infrastructure. It starts by choosing a scope where you can measure whether it is working.
- 01
Pick a small domain with an owner
one department, one document set, one person who knows the right answer
- 02
Write 30 real questions with a gold standard
collected from the people asking, not invented by the people building
- 03
Clean before indexing
remove revoked documents, mark validity and owner. This step delivers more quality than any model swap.
- 04
Measure retrieval before optimising generation
if the right passage does not enter, the rest is irrelevant
- 05
Only then add permissions and scale
with governance validated at small scale
Can you say, for every document in the index, who owns it and whether it is current?
You are ready to scale
Governance already exists. Now it is retrieval engineering and evaluation.
Start here, not with the vector database
Without owner and validity, the system will answer confidently from the wrong material — and you will have no way to know.
The summary is uncomfortable and true: enterprise RAG is 20% retrieval and 80% content governance. The part that looks technical is the part that gets solved quickly. The part that decides the outcome is knowing who owns each piece of information, when it stops being valid and who may see it — and that is organisational work, not model work.