The quality of a chatbot's answers depends on its knowledge base: it can only quote and summarise what you put in. If the source is incomplete or outdated, so is the answer, however good the language model is.
The guide walks from choosing sources to a repeatable review routine, taking into account OWASP's recommendations for LLM applications and the GDPR data minimisation principle.
1. What is worth including?
| Source | What it is for | Maintenance |
|---|---|---|
| Service pages and FAQ | The basis for the most common questions. | Update when a page changes. |
| Prices and plans from a separate source | The numbers stay exact instead of being read out of running text. | Change it immediately when prices change and retest price questions. |
| Process descriptions (ordering, delivery, cancellation) | It gives the steps consistently. | Name one person responsible. |
| Hand-written final answers | For sensitive questions you decide the wording. | Review monthly. |
2. What never to include
- Personal data: customer names, e-mail addresses, invoices, conversation logs. Under Article 5(1)(c) GDPR, processing must be limited to what is necessary for the purpose.
- Passwords, API keys, internal access details and contractual secrets.
- Internal discussions, undecided plans and legal opinions you do not intend to publish.
- Other people's copyrighted text that you have no permission to use.
3. How to build a good knowledge base
- Write each topic in short, self-contained paragraphs so that retrieval finds the relevant passage.
- Use your visitors' words, not only internal jargon; name topics after the questions they really ask.
- Mark what does not apply to everyone (for example only one plan or country) and state its scope.
- Record what the chatbot must not talk about and when it should hand over to a human.
4. No relevant source, no answer
For input and output filtering OWASP mentions the RAG Triad: context relevance, groundedness and question/answer relevance. In practice this means: if retrieval finds no relevant source, the chatbot should not invent an answer but offer a ticket or a human contact instead.
5. The review loop
| Frequency | Task |
|---|---|
| Daily in the first week | Review unanswered and negatively rated conversations. |
| Hetente | Write a final answer for frequently repeated questions. |
| When prices change | Update the source and retest price-related questions. |
| Quarterly | Check the whole knowledge base: remove outdated pages and add new services. |



