Data and retrieval
What is enterprise RAG, and what does a demo leave out?
The technique is the same as the demo, and what changes is everything around it: who may see what, how current it is, and how you know it works.
What is enterprise RAG?
Enterprise RAG is retrieval-augmented generation built to run on a company's real documents under real constraints. It searches only what the asking user may see, answers from those passages with citations, stays current as files change, and is measured against a test set. The hard part is retrieval and permissions, not the model.
The short version
- Enterprise RAG is retrieval-augmented generation that respects each user's permissions, cites its sources, stays current and is measured against a test set.
- The gap between a RAG demo and enterprise RAG is content, permissions and evaluation, not a better model.
- Permissions must apply before retrieval, because filtering results afterwards means restricted content has already been read.
- RAG reduces invented answers but does not end them, so every answer needs a citation a person can check.
- A company whose documents sit in one suite should usually try that vendor's assistant before building anything.
What is enterprise RAG?
Enterprise RAG is retrieval-augmented generation run on a company's own documents, with the controls staff need before they can rely on it. A search step finds relevant passages. A language model writes an answer from them and says where it came from. The word 'enterprise' adds requirements, not a different technique.
There are four main requirements. It must respect who is asking. It must stay current as documents change. It must show its sources. And somebody must be able to measure whether it works. A system missing any of these is a prototype, however good the answers look.
The pattern is common. Menlo Ventures' 2024 survey of 600 US IT decision-makers reported RAG at 51% adoption. The page does not state the base of that figure, so read it as a sign of direction, not a share of companies. Every respondent worked at an enterprise with 50 or more employees, so it says little about smaller firms.
How is enterprise RAG different from a RAG demo?
A demo answers one person's questions from a tidy folder. Enterprise RAG answers many people's questions from messy, changing, restricted content. The retrieval technique can be identical. What differs is the material, and the cost of getting it wrong.
Demos flatter RAG because someone picked the documents. There is one version of each policy, nothing is restricted, and the questions came from a person who knew the answers. Production has three drafts of the same policy, a scanned contract with a table in it, and a member of staff asking about a folder they should not be able to open. Most teams discover the gap the first time a request fails in a way the demo never showed.
How do a RAG demo and enterprise RAG compare?
| Concern | RAG demo | Enterprise RAG |
|---|---|---|
| Documents | A clean sample folder | Live sources, including drafts, duplicates and scans |
| Permissions | One user sees everything | Search is scoped to what each user may open |
| Freshness | Indexed once | Changes and deletions reach the index on a schedule |
| Search | Vector search alone | Keyword and vector search, then reranking |
| Answers | Plain text | Every claim links to a passage a person can open |
| Testing | A few hand-picked questions | A versioned test set run on every change |
| No answer available | It guesses | It says so |
What are the parts of an enterprise RAG system?
An enterprise RAG system is a pipeline with eight parts: connectors, parsing, permissions, search, reranking, generation, evaluation and logging. Most of the engineering sits before the model is called. The model is the most replaceable part of the system.
The common mistake is choosing a model first. A better model cannot answer from a passage the search never found, and it will write a confident answer from the wrong one. If retrieval misses, nothing later in the pipeline can recover.
The eight parts, in order
- Connectors that read from the systems of record, such as SharePoint, Google Drive, a wiki or a ticketing tool, not from a copy somebody exported once.
- Parsing and chunking that keep tables, headings and document markings attached to the text they belong to.
- A permission layer that resolves the user's identity and scopes the search before it runs.
- Hybrid search, because vector search alone often misses exact terms such as part numbers and clause references.
- Reranking, which reorders the candidates so the passages reaching the model are the ones that matter.
- Generation that answers only from retrieved passages, cites them, and declines when they do not contain the answer.
- An evaluation set, run on every change to the model, prompts, chunking or search.
- Logging of the question, the passages retrieved and the answer, so a wrong answer can be traced.
Why do permissions decide whether enterprise RAG is safe to use?
Permissions decide it because copying content into a search index creates a second access control surface, and that surface does not inherit the first. A document in SharePoint has rules the host enforces on every read. Once extracted and indexed, it is text and a vector. Those rules travel only if somebody carries them across and keeps them current.
Enforce permissions before retrieval, not after. Resolve the user's identity, then search only what they may open. Filtering the results afterwards is a display control: the restricted content has already been retrieved, and every later code path has to remember to drop it.
Permissions also drift. People change roles, folders get reshared, and a document deleted in the source can survive in the index. So the design question is how often you reconcile, and how quickly a removed document stops being retrievable. 'We re-index weekly' is an awkward answer if someone was removed from a project on Monday.
Does RAG stop AI from making things up?
No. RAG reduces invented answers, but it does not end them. The model can still misread a passage, merge two sources, or cite a document that does not support the claim. A citation proves a source exists, not that it says what the answer claims.
A public benchmark from legal research shows the limit. Stanford RegLab and Stanford HAI tested commercial legal AI tools, which are retrieval-backed products, against a pre-registered dataset of over 200 open-ended legal queries. They reported in May 2024 that the tools hallucinated in 1 out of 6 or more queries. That is a 2024 result, specific to legal research, and the tools have since changed. Do not carry the number across to your own system.
The lesson does carry. Retrieval gives you a checkable answer, not a correct one. So design for checking. Link each claim to its passage, keep that passage one click away, and tell staff the citation is the part to read. For decisions with real consequences, a person signs off.
How do you measure whether enterprise RAG works?
Measure it with a fixed test set of real questions with known answers, and score retrieval and generation separately. Retrieval asks whether the right passage was found. Generation asks whether the answer used that passage faithfully. If you score only the final answer, you cannot tell which part to fix.
Build the set from what people actually ask, taken from support tickets, shared inboxes and the questions new staff put to colleagues. Include questions the system should refuse, questions whose answer changed recently, and questions from a user who is not allowed to see the answer. That last group is the one most test sets leave out.
Run the set on every change to the model, prompts, chunking or search. Small changes can quietly move results. Then sample live usage, because people ask differently once a system is real, and add the failures to the set.
Should a smaller company build enterprise RAG or buy it?
Buy first if your documents live in one suite and your permissions there are already correct. A vendor's assistant is usually the cheaper first test. Build when your knowledge spans several systems, when you need control over what is cited and how, or when the assistant has to work inside your own tools.
The price of the first option is public. Microsoft's pricing page, checked in November 2026, showed Microsoft 365 Copilot Business at $18.00 per user per month paid yearly, originally $21.00, or $25.20 paid monthly. That sits on top of a Microsoft 365 subscription. Recheck it before relying on it, because vendor prices move.
An off-the-shelf assistant inherits your existing mess. If everyone can open everything in SharePoint, the assistant can find everything too. Tidy the permissions and the duplicate documents first. That work pays off on either route. RAG is also not worth building at all for a few dozen stable documents that one person could keep in a handbook.
What goes wrong with enterprise RAG after launch?
Mostly, the content moves and nobody owns it. Documents get superseded while the old version stays retrievable. A folder gets renamed and a connector quietly stops picking up changes. Answers get worse slowly, and no alarm fires.
Treat it as a system with an owner. Someone needs to watch ingestion failures, review the questions that got no good answer, and decide which source wins when two documents disagree. That last decision is not an engineering question. Retrieval exposes contradictions the organisation already had, and the fix is usually to retire a document, not to tune a model.
Questions people ask
What should we ask a vendor selling enterprise RAG?
Ask where permissions are enforced, before or after retrieval. Ask how quickly a deleted document stops being retrievable, and how a removed user loses access. Ask to see the evaluation set and the scores, including questions the system should refuse. Ask what is logged, who can read the logs, and how long they are kept. A vendor who answers with model names has not answered.
Do we need a vector database for enterprise RAG?
Not always. A dedicated vector database is one option, and some teams start with vector search inside a database they already run, such as PostgreSQL. What matters more is combining keyword and vector search, and being able to scope a query by permission. Choose the store that makes those two things easy. Moving to a dedicated product later is a contained change if the rest of the pipeline is clean.
Will our documents be used to train the model?
That depends on the provider and the contract, so read the terms for the specific product and plan you are buying. Consumer and business plans can differ. Also check how long prompts and outputs are retained, where they are processed, and who can access them. Your documents also end up in an index and in logs, and those copies need the same retention and deletion rules as the originals.
Can enterprise RAG run on our own infrastructure?
Yes. The index, the connectors and the application can all run in your own cloud account, and the model can be self-hosted too. The trade-off is operational: you take on patching, scaling and monitoring, and open models may need more evaluation to match hosted ones. If the real concern is where data sits, a hosted model under suitable terms may be enough. Decide from your actual obligations, not from general unease.
How is enterprise RAG different from an AI agent?
RAG answers questions from documents. An agent takes actions using tools, and searching documents can be one of those tools. The risk differs. A RAG system that fails gives a bad answer a person can check, while an agent that fails may change something in another system. Get retrieval working and measured before you let anything act on what it finds.
How long does an enterprise RAG project take?
It depends more on the content than on the code. A first version over one clean source is a small job. Several systems, scanned documents and strict permissions make it a much larger one. We would not quote a timeline before seeing the sources. The useful first step is a short review of where the knowledge lives, who can open it, and which questions people need answered.
Related on this site
Sources
- 2025: The State of Generative AI in the Enterprise, Survey of 495 U.S. enterprise AI decision-makers, run with an independent research firm, November 7–25, 2025. Menlo is an AI investor and the sample is enterprises, not firms under 50 staff. · Menlo Ventures, data from 2025
- 2024: The State of Generative AI in the Enterprise, Survey of 600 U.S. IT decision-makers at enterprises with 50 or more employees, September 24 to October 8, 2024. The page does not state the base of the 51%, so do not describe it as 51% of companies. All respondents are above the reader's size band. · Menlo Ventures, data from 2024
- AI on Trial: Legal Models Hallucinate in 1 out of 6 (or More) Benchmarking Queries, Benchmark of commercial legal AI tools against a pre-registered dataset of over 200 open-ended legal queries, reported May 2024. The tools tested have since changed, so present this as a 2024 result, specific to legal research. · Stanford RegLab and Stanford Institute for Human-Centered AI (HAI), data from 2024
- AI adoption survey report 2026: executive summary, Computer-assisted telephone interviews with 3,503 UK businesses, 7 January to 21 April 2026. The figure is for all business sizes, with no small-firm breakdown on this page. · Department for Business, Innovation, Science and Trade (UK government), data from 2026
- Act Now: Lock in Current Pricing on Microsoft 365 Copilot Business Bundles | Microsoft Community Hub, Vendor's own published price, in a post dated March 17, 2026. Microsoft's pricing page, checked November 2026, showed $18.00 paid yearly (originally $21.00) and $25.20 paid monthly, so recheck before publishing. The add-on sits on top of a Microsoft 365 subscription. · Microsoft, data from 2026