A clinical-knowledge bot that almost shipped
A large hospital network builds an internal AI assistant for nurses. The team picks a strong embedding model, indexes thousands of clinical documents, and wires up a retrieval-augmented generation pipeline. The demo is impressive.
Two weeks before launch, a clinical safety reviewer asks one question: when the bot returns a recommendation, can it tell us which version of which protocol it came from, who approved that protocol, and whether the user asking is actually allowed to see it?
The team realizes the answers are 'sometimes,' 'we are not sure,' and 'no.' The launch is delayed by a quarter.
The real problem
RAG is a great pattern for one thing: finding relevant text quickly. It is not a pattern for trusted answers, governed access, or auditable decisions.
In an enterprise, the question is rarely 'is this text relevant?' It is 'is this the official answer, sourced from the trusted document, scoped to what this user is allowed to see, and explainable to the auditor who will ask next quarter?'
The Context Advantage view
RAG sits in the Context pillar of the four C's, but it is only one slice of it. A real context layer combines retrieval with the semantic layer, lineage, permissions, and the rules that govern when a piece of information can be trusted at all.
Retrieval without meaning is search. Meaning without retrieval is documentation. The two together, governed properly, are an enterprise context layer.
In plain language
RAG goes: turn the question into a vector, find similar text, hand the text to the model, return the answer. Fast and useful.
An enterprise context layer adds: only retrieve from sources approved for this use case, filter by what the user is permitted to see, prefer trusted metric definitions over raw text when the question is numeric, attach lineage to every claim, and log enough metadata that an auditor could reconstruct the answer six months later.
A real-world example: healthcare done end to end
The hospital team rebuilt the assistant. Clinical protocols were indexed with version, owner, approval state, and applicable role. The retrieval layer filtered by user role and clinical area. Numeric answers were not retrieved — they came from a governed semantic layer with approved definitions for terms like 'high risk' and 'overdue.' Every answer carried citations the auditor could click.
The bot relaunched. Adoption was higher, not lower, because trust was higher.
A practical way to act this week
Audit your current RAG pipeline against five questions. Is the source approved for this use case? Is access scoped to the user's permissions? Are numeric answers coming from a trusted semantic layer? Does every answer carry lineage? Can an auditor reconstruct the answer later?
If you cannot answer 'yes' to all five, you have a search system, not a context layer. That is fine — as long as you know which one you have.
What this means for data professionals
Data engineers: own the metadata that makes retrieval governable — version, owner, approval state, role. Analytics engineers: keep numeric answers in the semantic layer, never in free-text retrieval. Governance teams: define which sources are approved for which use cases, and bake that into the retrieval filter, not into a wiki page.
The common mistake
Treating RAG as the finished product. Indexing everything. Returning whatever ranks highest. Trusting the model to know which version of a document is current and whether the user should be reading it.
The better way
Use RAG as a retrieval primitive inside a larger context layer. Route numeric and metric questions to the semantic layer. Filter retrievals by approved-source and user permission. Attach lineage to every response. Make the audit trail a product feature, not a compliance afterthought.
"RAG finds text. A context layer finds the right answer — and proves it."
Try this at work
- List every source your RAG pipeline indexes and mark each as approved or not.
- Add version, owner, approval state, and role metadata to every chunk.
- Route numeric and metric questions to the semantic layer, not retrieval.
- Filter retrieval by the user's permissions, not just by relevance.
- Attach citations and lineage to every answer.
- Log enough metadata to reconstruct any answer six months later.
- Review approved sources on a recurring schedule, not a one-time launch.
This is one of the ideas explored deeper in The Context Advantage by Team BricksNotes — a living book for data + AI professionals learning how Context, Control, Cost, and Choice shape the agentic AI era.
Explore the book →If an auditor asked your AI assistant to justify one answer it gave last week, could it?