EN
A RAG Knowledge Base: Letting AI Answer From Your Documents, Not Its Memory
13.10.2026

Most of what a company knows sits in documents nobody can find. A retrieval-based knowledge base turns that material into answers — and removes the single biggest cause of AI errors.

Every established company holds a large amount of written knowledge: procedures, contracts, technical specifications, price policies, past correspondence, internal instructions. Almost none of it is findable when someone needs it.

The everyday symptom is familiar. A new employee asks a colleague a question that is answered in a document nobody remembers, an experienced employee answers from memory and is occasionally wrong, and the same five questions circulate through the company indefinitely.

A retrieval-based knowledge base — commonly called RAG, for retrieval-augmented generation — addresses this by making the documents themselves answerable in plain language. This article explains what that means practically, what it takes to build, and where it stops being worth the effort.

The distinction that matters

A general AI model answers from what it absorbed during training. It has never seen your contracts, your prices or your internal procedures, so when asked about them it produces something plausible instead of something correct.

A retrieval system works differently. The question first goes to your own documents, the relevant passages are found, and the answer is composed from that material — with a reference to where it came from.

The difference in reliability is substantial, but the more important difference is verifiability. An answer with a source can be checked; an answer without one has to be trusted, and in a business context that is a much weaker position.

The point of retrieval is not that the AI becomes cleverer. It is that the answer comes from a document you control, and you can see which one.

It is worth being precise about one thing, because it is the source of most disappointment. A retrieval system does not know anything your documents do not say. If the procedure was never written down, or was written down vaguely, the answer will be vague or absent. The system is a very fast reader with perfect recall of what it has been given, and nothing more than that — which is considerably more useful than it sounds, but only if the material exists.

What it is genuinely good for

The pattern that pays is a large body of written material, questions that repeat, and answers that need to be current.

  • Internal support: procedures, HR policies, system instructions
  • Technical documentation for a product with many variants
  • Contract and policy terms staff have to quote accurately
  • Product knowledge for a catalogue too large to memorise
  • Historical project information nobody remembers in detail

Internal use is where most companies see value first, and it is also the safer place to start. An internal user who receives a poor answer asks a follow-up question; a customer who receives one may simply leave.

The volume threshold matters too. Below a few hundred documents, a well-indexed shared folder and a person who knows where things are will usually outperform any system. The value appears when the material is large enough that no individual holds a map of it, and when the people needing answers are not the people who wrote the documents.

Where the work actually is

The common assumption is that this is primarily an AI project. In practice, most of the effort goes into the documents.

StageShare of effortWhat it involves
Collecting documentsHighFinding where the material lives
Cleaning and deduplicatingHighRemoving outdated and conflicting versions
StructuringMediumSplitting documents sensibly for retrieval
Retrieval and answeringMediumThe part people think of as the project
Access controlMediumWho may see which documents
Keeping it currentOngoingUpdating as documents change

The second row is where projects fail most often. If three versions of a procedure exist and two are obsolete, the system will confidently quote whichever it finds, and the business discovers its document problem the hard way.

This is uncomfortable but genuinely valuable. The cleanup would have been necessary eventually; the project simply makes it visible now rather than during an audit.

Access control is not optional

A knowledge base that ignores permissions is a data leak waiting to be discovered.

Salary policies, contract terms, client agreements and internal disputes all live in company documents, and an assistant that answers any question from any document will happily tell a junior employee what a director earns.

The requirement is that retrieval respects the same permissions as the underlying files. The system must search only within what the person asking is entitled to see — which means permissions have to be modelled before the assistant is useful, not added afterwards.

How documents are split for retrieval is a quiet but consequential decision. Cut them too finely and the system returns fragments that lose the condition stated in the paragraph above; cut them too coarsely and the relevant sentence gets buried among pages of unrelated text. Tables, numbered procedures and contracts each behave differently here, which is why this part rarely works well as a one-size-fits-all setting and usually needs adjusting against your own material.

Keeping it current

A knowledge base is not a project with an end date. Documents change, and a system quoting last year's policy with total confidence is worse than no system at all.

Two things make this manageable. The first is automatic updating: when a document changes in its original location, the knowledge base reflects that without anyone re-uploading it.

The second is visible dates. Every answer should carry the date of the document it came from, so a reader can judge for themselves whether a two-year-old procedure is still the one in force. That single element removes a large share of the risk at almost no cost.

What good answers look like

Three properties separate a system people trust from one they abandon after a month.

Answers cite their source, by document name and ideally by section, so the reader can open the original in one step.

Answers admit absence. When the documents do not cover the question, the correct reply is that no source was found — not a general-knowledge answer that looks identical to a sourced one.

Answers surface conflict rather than hiding it. When two documents disagree, saying so is far more useful than silently choosing one, because the disagreement is itself information the business needs.

Measuring whether it works is simpler than most AI projects allow. Track how many questions are answered with a source, how often users open that source, and how often someone asks a colleague the same question afterwards. That third measure is the honest one: if people still check with a human after reading the answer, the system has not yet earned their trust, whatever the usage figures say.

When it is not worth it

Retrieval systems are not free, and several situations do not justify them.

A small, stable body of documents does not need one. If the answers fit on ten well-organised pages, a good search function and a clear index will serve better and cost a fraction as much.

Highly volatile information is a poor fit too. Live stock levels and current prices belong in the systems that hold them, read directly, rather than in a document-based knowledge layer.

And material that is largely undocumented cannot be retrieved. If the knowledge genuinely lives in three people's heads, the first project is to write it down; there is nothing for a retrieval system to find until then.

One more design choice shapes how people experience the system: whether it answers in prose or shows the passages it found. Prose reads more naturally and hides the evidence; a list of matching extracts is less elegant and lets the reader judge for themselves. For anything consequential — contract terms, safety procedures, pricing rules — showing the passages is the safer default, and many teams end up preferring it even where prose would have been acceptable.

How to start

Choose one department and one well-defined set of questions to begin with. Support procedures, or the technical documentation for a single product line, is the right size for a first project.

Gather the fifty questions that department answers most often, use them as the acceptance test, and build only until those fifty are answered correctly with sources. That gives you a working system in weeks and a realistic picture of what the full version would require.

Expanding from a working narrow system is straightforward. Rescuing a broad one that nobody trusts is not, which is the same lesson we set out in our article on what happens when an AI assistant answers wrongly.

In summary

A RAG knowledge base makes your own documents answerable and, more importantly, verifiable. Expect the document cleanup to be the real work, model permissions from the start, show dates and sources on every answer, and begin with one department rather than the whole company.

You can see our approach to corporate knowledge bases and RAG systems, AI customer support assistants and the wider artificial intelligence area on the service pages. If you would like your documents assessed before committing to a build, request a free consultation.