What happens when somebody asks
- The question is searched against your documents. The documents were split into passages in advance, and each passage stored with a representation of what it means.
- The best passages are fetched. Usually a handful, chosen by meaning, often mixed with plain keyword search.
- The model answers from them. The instructions tell it to use only what it was given, to cite the passages, and to say when they do not answer the question.
None of the three steps is the model's knowledge. That is the point: the answer comes from your content, as it is today.
When you need it, and when you do not
You do not need it when everything the assistant should know fits on a few pages. Opening hours, prices and rules go straight into the instructions, and the answer is just as good without a search in front of it.
You need it when the content is large, scattered or changing: hundreds of product sheets, the manuals for every machine you service, contracts, the support history. Then no set of instructions can hold it, and the search decides which part the model sees.
Where it goes wrong
- Stale documents. The index is a copy. If nobody updates it when a document changes, the assistant confidently quotes last year’s terms.
- Bad splitting. A table cut in half, or a passage without the heading that explains it, gives the model half an answer to work with.
- Search that misses. Names, codes and abbreviations are where meaning-based search is weakest. That is why keyword search stays in the mix.
- Permissions after the fact. Hiding a passage in the answer is too late. It has to be filtered out of the search.
- No test set. Without real questions to run, every change is a guess about whether it got better or worse.
How to find out in an hour
Whether a knowledge base needs RAG depends on how much there is and how often it changes, which is quicker to see in your case than to explain in general.
Describe it in the Living Brief and you get an architecture sketch, phases and a range in weeks straight back, without anyone phoning you. If you are not sure where AI would help at all, the free AI review starts from the business instead.