Look up terms and abbreviations in the glossary
Put company knowledge to work with RAG
RAG connects a language model to relevant information retrieved when a question is asked. This makes company knowledge easier to use and verify. Quality depends on sources, retrieval, permissions, and answers; the technique does not guarantee accuracy.
When an employee asks about current return terms, the answer must use the company’s current material. The model’s general training is insufficient as a source for that specific rule. RAG can find relevant passages and let the model formulate an answer with citations. Microsoft describes this combination of retrieval and generation. [2]
This article focuses on management’s choices about a shared knowledge solution. RAG: From documents to useful knowledge (AI-07-001) provides the technical overview of Microsoft, ChatGPT, Claude, and Gemini, along with SQL, graphs, and ongoing improvement. The website’s introduction offers a short starting point. [1]
Choose the data source to fit the question
| Question | Suitable evidence | Necessary controls |
|---|---|---|
| What is our policy? | An approved document | Version, validity, and exceptions |
| What is the current status? | An API or database | Identity, access, and query timestamp |
| How much have we sold? | A calculation using structured data | Period, currency, and a complete dataset |
| How are these things related? | Documents or a verified graph | Sources and accuracy of relationships |
A selection of similar text passages cannot replace a complete sales calculation. The database should calculate the sum using agreed definitions; the model can explain the result. Likewise, retrieve current order status from the responsible system, not an old document copy.
A knowledge graph may be relevant when relationships across multiple steps are essential. It also adds construction, quality, and maintenance work. Start with the simplest search approach that can answer the selected questions. Connect AI to your existing business systems (Q15) describes secure connections to the systems.
Maintain one authoritative original
Every document needs a stable ID, language, owner, status, and version. Record which version is approved and when it should be reviewed. Reader-friendly DOCX and PDF files may carry the same content, but must not become duplicate knowledge sources in retrieval.
Preserve text, tables, and exceptions during ingestion. A chunk must contain enough context to be understood on its own. Column headings and units must stay with the table content. Prepare your company’s data for AI (Q13) explains how to assess source quality.
Save a checksum and import status for every content version. Update the retrieval layer when a document changes or is withdrawn. A managed service such as Gemini API File Search can handle importing and search. [3] It does not by itself establish your editorial approval process or ongoing synchronization from the originals.
Enforce access permissions before the model receives the text
User permissions must determine which information can be retrieved and sent to the model. Retrieving every document and then telling the model to hide confidential ones is insufficient. Access rules must also cover source links, caches, and logs.
A document may contain text attempting to change the assistant’s instructions. OWASP describes this risk as prompt injection. [4] Treat source text as material to interpret and restrict tools and actions outside the model. A knowledge assistant generally does not need to send documents to arbitrary recipients.
Also clarify the provider’s data processing. When several models share a retrieval layer, each relevant provider receives the excerpts sent to it. A shared index does not automatically mean identical contracts or access rules. Protect confidential information when using AI (Q16) explains security in more detail.
Test both retrieval and answers
Create questions with known expected sources. Include questions the material cannot answer and ones where two versions might be confused. Test whether retrieval finds the right passage and whether it actually supports the answer. A citation may point to a relevant document without supporting the specific claim.
Measure time to a reviewed answer, errors, coverage, and rework. If retrieval finds the right source but the answer is wrong, the remedy differs from the remedy for poor retrieval. Assess the quality of AI answers and actions (Q24) describes this classification of errors.
RAG does not automatically learn from user feedback. Feedback can guide source corrections, metadata improvements, and tests of chunking or ranking changes. Model training is a separate activity. Keep an independent test set so improvement is not merely adaptation to familiar examples.
An example of a shared internal knowledge base
The company in this example starts with one product group and a small set of approved guides. The assistant may answer internal questions and cite sources. It must ask for the product version when needed and clearly explain when evidence is missing.
After the experiment, the company builds an MVP with user access, feedback, and a data owner who corrects sources. Before adding departments, it tests changes, deletions, and access across groups. Operations takes responsibility for import failures and detecting outdated active versions.
Direct value is faster information retrieval. Indirect value is a better shared knowledge base. Scaling is justified by actual usage and quality together with the full maintenance effort. Keep AI reliable and handle operational failures (Q27) describes ongoing operations.
Next management decision: Choose one type of knowledge, a content owner, and a set of questions the solution must answer. Fund an experiment covering sources, access, and measurement before ingesting all company material.
A customer example with goals and follow-up
In the service example, the baseline is 12 minutes of work per case. The nine-minute target must include opening the source, checking the product version, and correcting the answer. Also measure reopened cases and appropriate abstention when evidence is missing.
After accounting for the control group’s trend, the effect may be 1.5 minutes per case, or 100 hours across 4,000 cases. A high count of retrieved documents is a different measure. Test source updates and withdrawals as part of operations.
Use the complete VP/SE model, the VP guide and the SE guide. Reassess both estimates before Hypothesis, MVP, and Scaling. VP/SE is a local preference index, not financial ROI or WSJF. Learn to apply it in half-day session 1 on VP and half-day workshop 2 on SE and prioritization, each four hours long, including a break.
Sources and further reading
Examples and recommended actions reflect EnableAI’s professional judgment. Company scenarios and calculations are illustrative. The article was updated with worked examples and references on September 15, 2026.
[2] Microsoft · RAG in Azure AI Search