---
title: "Enterprise RAG: sources, permissions and evaluation | Quantlix"
description: "Retrieving the truth means answers that are correct, current, permitted and traceable. A playbook for sources, permissions, answer checks and ownership."
canonical: "https://quantlix.com/en/whitepapers/enterprise-rag-truth-playbook/"
last-updated: 2026-11-23
---

Source: https://quantlix.com/en/whitepapers/enterprise-rag-truth-playbook/
Language: en
Description: Retrieving the truth means answers that are correct, current, permitted and traceable. A playbook for sources, permissions, answer checks and ownership.

[Playbook](https://quantlix.com/en/insights/?type=playbook) [Knowledge Systems](https://quantlix.com/en/insights/?topic=knowledge-systems)

# Enterprise RAG: sources, permissions and evaluation

Retrieving the truth means answers that are correct, current, permitted and traceable. A playbook for sources, permissions, answer checks and ownership.

Quantlix Editorial

Insights team

Published Oct 8, 2026 (2026-10-08) 8 min read

![An industrial loom with a large roll of white fabric, with the headline “Enterprise RAG”.](https://quantlix.com/_astro/insight-rag-enterprise-knowledge.C9AcOmc1_1XCoeu.webp)

03 / Technical library

Engineering guides: Whitepapers

**On this page**

A useful RAG (retrieval-augmented generation) system connects a question to authorized source evidence before it writes an answer. Most of the quality comes from the work around the model: preparing sources, applying permissions, checking answers and keeping knowledge current. This playbook follows that work in order. It is a reference approach, not a field-tested deployment claim, and every example is illustrative.

## What retrieving the truth means

The original RAG paper by Lewis and colleagues paired a language model with a searchable index of documents. The authors describe giving provenance for a model’s outputs and updating its knowledge as open problems, and they present retrieval from an explicit document index as one way to address them ([Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks](https://arxiv.org/abs/2005.11401)). Those two needs still describe the job in a company.

In practice, a good answer meets four tests:

- **Correct.** It matches what the source says, for the right product, site or case.
- **Current.** It comes from the approved revision, not an older copy or a draft.
- **Permitted.** The person asking is allowed to open the sources behind it.
- **Traceable.** Each statement points to a passage the reader can check.

An answer that reads well but fails one of these tests is still a wrong answer. An illustrative equipment assistant shows why. Asked how to reset a controller, it has to find the right machine, the revision in force and a document the technician may open. Only then can it explain the procedure and point to the passage. A fluent answer built from the manual for a different model fails, however confident it sounds.

## Prepare the sources first

Many failures start in the library, not in the model. Before anything is indexed, a team can check five things:

- **Ownership.** Each collection has a named owner who can say what is approved and when it is next reviewed.
- **Versions.** Revision, effective date and status (draft, approved or withdrawn) are stored as fields next to the text, so retrieval can prefer what is in force.
- **Duplicates.** Copies on shared drives and in email attachments compete with the master. Index the master, or record which copy wins.
- **Withdrawn documents.** Removing a file from its source system does not remove it from a search index. Decide how each withdrawal reaches the index.
- **Tables and scans.** A table flattened into one line of text loses its meaning, and a scan without a text layer cannot be searched. Check extraction on real pages and review the ones that matter most.

Structured documentation has a head start. Manuals built from separate modules, such as those described in our [S1000D guide](https://quantlix.com/en/standards/s1000d/), give every module a unique code, which helps retrieval know what a passage belongs to.

## Apply permissions before the model sees anything

Filter first, answer second. If a restricted passage reaches the model, the answer can reveal it, whatever the instructions say. A sound pattern has four parts:

1. Keep each source’s access rules (group, role or classification) with every indexed passage.
2. Identify who is asking at the moment of the request.
3. Search only the passages that person may open.
4. Check access again at answer time, because access changes.

The same boundaries apply to caches, logs and stored conversations, since an answer saved in a shared cache can leak what the original source protected. OWASP’s guidance on [vector and embedding weaknesses](https://genai.owasp.org/llmrisk/llm082025-vector-and-embedding-weaknesses/) describes the same concern: weak access control can expose embedded data, and a shared vector database can leak context between groups of users. Its suggested remedies include permission-aware stores and accepting data only from verified sources. The wider [OWASP Top 10 for LLM Applications](https://genai.owasp.org/llm-top-10/) (2025 edition) also lists sensitive information disclosure and misinformation as separate risks, which is a useful prompt for a review.

Personal data needs one more thought. If documents contain it, copies in the index count as well, so check that correction and erasure requests reach the index. The [GDPR guide](https://quantlix.com/en/standards/gdpr/) explains those rights.

## Design retrieval around real questions

Retrieval design can stay simple to describe. Three choices matter most:

- **Search.** Keyword search is good at exact part numbers, clause numbers and names. Meaning-based (embedding) search is good at paraphrases. Many systems combine the two.
- **Ranking.** After the first search, reorder the candidates so the strongest evidence comes first, using metadata such as status, revision and product to favor the version in force.
- **Context selection.** Give the model only the passages it needs, with enough surrounding text that a step or a table row still makes sense, and with each passage’s source attached. More text is not automatically better, because irrelevant or conflicting passages give the model more ways to go wrong.

Tune these choices on questions collected from the people who will really ask them, not on questions invented for a demo. The [RAG and knowledge systems](https://quantlix.com/en/services/rag-knowledge-systems/) service page describes how Quantlix approaches this work, and the guide on [RAG, fine-tuning and workflow automation](https://quantlix.com/en/blog/rag-fine-tuning-workflow-automation/) helps you check that retrieval is the right starting point at all.

## Check each answer before it is shown

A displayed citation is useful only if it supports the statement beside it. Two checks make that real:

- **Support.** Confirm that the cited passage says what the answer claims, and that it belongs to the right product, case and revision.
- **Declining.** When retrieval finds nothing relevant, or only sources that disagree, the system should say so and point to a named owner or a person who can help. “I cannot find an approved source for this” is a correct result, and a team should test for it.

Showing the source name, revision and date beside each citation lets readers judge for themselves. Retrieval makes grounding possible, but it does not remove incorrect answers, so evaluation continues after launch.

For a wider risk frame, the [NIST AI Risk Management Framework](https://www.nist.gov/itl/ai-risk-management-framework) is a voluntary framework that helps organizations build trustworthiness into how AI is designed, used and evaluated, and NIST has published a companion profile for generative AI. Our [NIST AI RMF guide](https://quantlix.com/en/standards/nist-ai-rmf/) summarizes both. Whether a particular system meets any framework is a decision for the organization and its assessors.

## Build an evaluation set

Evaluate retrieval and answers separately. A good answer can hide a poor search, and a good search can still produce an unsupported answer. For every question, record who is asking, which passage should be found and what the correct outcome is, including a refusal. Start small enough that a domain reviewer can read every case, and add real questions as they arrive.

The set should include at least these five types:

| Question type | What it tests | Expected behavior |
| --- | --- | --- |
| Answerable | Retrieval and answer support | Finds the approved passage, answers from it and cites it |
| Conflicting sources | Version and priority rules | Uses the document in force, or says the sources disagree and names them |
| Withdrawn document | Index updates | Leaves the withdrawn text out and points to its replacement, if one exists |
| Restricted document | Permissions | Gives a person without access none of its content and suggests the proper request route |
| Out of scope | Boundaries and fallback behavior | Declines clearly and says what the assistant does cover |

Score each question twice: did the right passage appear, and does the answer follow it? Add pairs of cases that ask the same question before and after a permission is revoked. Re-run the whole set after significant changes to documents, access or model behavior.

## Give freshness and permissions an owner

A knowledge system keeps changing after launch, so someone has to own the changes. Agree these points before go-live:

- **Source owners** confirm what is approved, review dates and withdrawals for their collections.
- **A named person** receives reports of wrong answers and source gaps, and routes each one to the right source owner. Fixing the source usually beats patching the instructions.
- **Document changes** have a defined path to the index, covering new, updated and withdrawn files, with a check that the change took effect.
- **Access changes**, such as a new role, a departure or a reclassified document, reach the index on a schedule agreed in scope.
- **Logs** of questions, retrieved passages and answers are kept for review, under the same permissions as the sources, because they can contain restricted text.

Timing, ownership and cost for this work follow the assessed scope, so settle them with the people who run the sources rather than assuming them.

## Pre-launch checklist

- Every source collection has a named owner and a review date.
- Revision, status and effective date are stored with each passage.
- Withdrawn and superseded documents are removed or ranked out, and a test shows it.
- Permissions are applied during retrieval, and caches and logs follow the same boundaries.
- The evaluation set covers all five question types, with expected sources written down.
- The system declines out-of-scope and unsupported questions.
- Each citation opens the passage that supports the statement.
- Someone owns the route for reporting a wrong answer.
- Everyone agrees what triggers a re-evaluation: document, access or model changes.

A system that passes this list is better prepared, not proven. Keep measuring it with real questions after launch.

## Key takeaways

1. Store owner, revision and status with every passage, so retrieval can prefer the approved version and leave withdrawn documents out.
2. Apply permissions before search results reach the model, and keep caches, logs and stored conversations inside the same boundaries.
3. Test five kinds of question (answerable, conflicting, withdrawn, restricted and out of scope) and treat a clear refusal as a correct result.

- [Playbook](https://quantlix.com/en/insights/?type=playbook)
- [Knowledge Systems](https://quantlix.com/en/insights/?topic=knowledge-systems)

Written by

## Quantlix Editorial

Insights team · Quantlix

[Talk to Quantlix](https://quantlix.com/en/contact/)

[More whitepapers](https://quantlix.com/en/whitepapers/)

## Related whitepapers

[More whitepapers](https://quantlix.com/en/whitepapers/)

- ![Rows of teal machines in a large factory hall, with the headline “Enterprise AI agents”.](https://quantlix.com/_astro/insight-agentic-ai-2026.D-kNoqyV_1nLdqL.webp)

  Playbook

  Generative AI Oct 8, 2026 (2026-10-08)

  ### [Enterprise AI agents: scope, control and operation](https://quantlix.com/en/whitepapers/agentic-ai-enterprise-2026/)

  Scope the workflow, limit each tool, plan for lost responses, test against today’s process and name an owner before an enterprise AI agent goes live.

  8 min read Read
- ![A long control room lined with instrument panels, with the headline “AI governance”.](https://quantlix.com/_astro/insight-responsible-ai-governance.Dj9mPO1f_ZdHPsk.webp)

  Playbook

  Responsible AI Oct 8, 2026 (2026-10-08)

  ### [AI governance: actions, evidence and human control](https://quantlix.com/en/whitepapers/responsible-ai-governance-agentic-era/)

  Practical AI governance for teams: match controls to what a system can do, keep usable evidence, plan escalation and change control. Not legal advice.

  8 min read Read

## Need the version tailored to your platform, risk model and roadmap?

Bring us the context. We will turn the patterns in this library into a pragmatic delivery path your team can use.

[Plan a workshop](https://quantlix.com/en/contact/)
