Skip to content
OpsyLux
← All articles

Applied AI

RAG for Business Knowledge: Start with Sources, Not a Chatbot

A practical guide to source quality, permissions, retrieval evaluation, and knowing when an AI assistant should decline to answer.

By the OpsyLux team

Define which questions the assistant should answer

Retrieval-augmented generation, or RAG, gives a language model selected source material before it produces an answer. It can help people navigate a collection of business documents, but it does not automatically make every answer correct or current.

Choose a bounded set of questions and identify the authoritative sources for them. A policy assistant and a customer-support assistant may need different documents, permissions, and review processes. If the underlying information is contradictory, a chatbot is not the first problem to solve.

Make the source collection maintainable

Start with a small, owned collection. Track a stable document ID, version, source location, and the date of the last meaningful update. Decide who can correct a document and how deletions or access changes reach the search index.

Split content into passages that preserve enough context to be useful. Headings, tables, and references can matter as much as paragraph length. Test actual questions against the resulting passages rather than choosing a chunk size solely because it is a common default.

Enforce permissions before retrieval reaches the model

A user should only retrieve information they are allowed to read. Apply access restrictions in the retrieval layer, using the same identity and authorization rules as the source system where possible. Telling the model not to reveal restricted information is not a substitute for keeping that information out of its context.

Treat retrieved documents as untrusted data, not instructions. Separate source text from system instructions, limit available tools, and test documents containing misleading commands. If the assistant can take actions, require authorization for those actions independently of its generated text.

Evaluate retrieval separately from the answer

Build a small set of representative questions with expected supporting documents. Include ambiguous questions, outdated documents, and questions for which the collection has no answer. First check whether retrieval finds the right evidence; then check whether the generated answer uses it accurately.

Ask reviewers to verify citations and unsupported claims, not just fluency. Record the document and prompt versions used for each evaluation so a change to indexing or wording can be compared with the previous release.

Design a useful no-answer path

When evidence is missing or conflicting, the assistant should say so and provide a practical next step, such as opening the relevant source or contacting its owner. A confident answer is not useful if it invents a policy.

Pilot with a limited audience. Monitor failed searches, citation quality, response time, and operating cost while minimizing sensitive data in logs. Expand only when the source-maintenance and review process can support the additional questions.