Documentation and knowledge base

Knowledge base for AI: how to prepare your company materials

If one file says delivery is free and another says it costs €15, the assistant receives contradictory information. It may pick the outdated condition and pass it on to the customer. That is why preparing a knowledge base starts with checking your documents.

A knowledge base for AI is an organized set of materials the assistant relies on when answering: service descriptions, instructions, terms of service and other company information.

How AI finds the right information

One common approach is called RAG. The system searches for fragments of materials relevant to the question and passes them to a language model to prepare the answer. For example, for a question about rescheduling a booking, it finds the relevant section of the rules.

This differs from fine-tuning a model, which changes its internal parameters. In conversation, both processes are sometimes called "training on documents", so it is worth asking your vendor which mechanism is used.

Connecting a knowledge base does not guarantee error-free answers. The system may find an irrelevant fragment, misinterpret an exception or miss a conflict between documents. Quality must be tested on real questions.

What to include in the first version

Start with the information your staff use most often. For a service company, this means the scope of services, booking procedure, service area, and rescheduling and cancellation rules. For a store, it means product specifications, delivery, warranty service and the inquiry handling procedure.

Add answers to frequently asked questions in your customers' own words. If people ask "Can I come in the evening?", it helps to describe available hours and restrictions explicitly, even if they are already implied in the schedule.

Separately, write down what the assistant is not allowed to promise: a discount without approval, a specific deadline without checking, a free service outside the current terms. These restrictions must be consistent with the logic of your business systems.

How to put your documents in order

Remove duplicates and archived versions from the working set. For each document, specify the owner, the effective date and the scope. If terms differ by branch, city or customer category, these differences must be explicit.

A scan without text recognition, a complex table and an instruction with text inside an image all need checking after upload. The presence of a file in the dashboard does not yet mean the system has extracted all the information correctly.

It helps to split documents by topic: one subject, a clear heading, complete rules. At the same time, keep important links intact: a condition, its exception and the explanation should sit together or be reliably linked in search.

What information should come from your systems

A document works well for return rules. For stock levels or free booking slots, you need a live query to your business software. Frequently changing information quickly goes out of date in a static knowledge base.

Internal materials also require access control. A customer-facing assistant must not receive restricted documents just because they are stored alongside public instructions. Permissions must be checked before fragments are passed to the model.

How to check that the knowledge base is ready

Compile a set of typical, complex and incomplete questions. Add a few queries that the materials do not answer. Evaluate factual accuracy, the applicability of terms and the assistant's ability to admit a lack of information.

For example: "Can I cancel a booking an hour in advance?", "Is it cheaper at another branch?", "Can you guarantee installation tomorrow?" The answer must take into account the specific rules and the available data. If there are no grounds for a promise, the assistant should ask for clarification or hand over to a specialist.

Keep this set for re-testing after updates. One successful conversation does not show how the assistant performs in other situations.

Who maintains the knowledge after launch

Appoint a person who reports changes in terms and reviews the updated answers. It is useful to turn errors from real conversations into new test questions.

We will help you prepare materials for an AI assistant and connect them to your live data sources. You can start with your current instructions and a list of questions your team answers every day.

Let's find your first process to automate

We will review your task, data and channels and propose a safe pilot with a clear result.

Get a consultation