Three parts of an AI bot
- Language model (GPT, Claude, Gemini). It understands the question and writes the answer. On its own it knows nothing about your prices.
- Knowledge base. Your price list, rules, address, shipping terms, answers to common questions. Before every reply the bot searches the base for relevant pieces and passes them to the model.
- Instructions and actions. Behaviour rules (tone, what it may promise, when to call a human) and tools: show free slots, create a booking, send a lead to the CRM.
If one part is weak, the bot works badly. Most often the problem is the knowledge base: incomplete or outdated.
How the bot answers a question
- The customer writes: "How much is a teeth cleaning and can I come on Saturday?"
- The bot searches the knowledge base for cleaning prices and opening hours.
- The model gets the question, the found pieces and the instructions, and writes an answer.
- If an action is needed (showing free slots), the bot calls a tool such as the clinic calendar.
- The answer goes to the customer. If the question is complex or the customer is upset, the bot hands over to a person.
This approach is called RAG (retrieval-augmented generation). It lets the bot answer precisely from your data without retraining the model.
Why bots make things up
A language model always tries to give an answer. If the fact isn't in the knowledge base, it may produce a plausible but wrong reply: a price that isn't on your list, or delivery to a city you don't serve. Three rules remove most of this:
- Instruction "answer only from the knowledge base". If there is no answer, the bot says it will check and calls a person.
- A complete knowledge base. Collect the 30–50 most common questions from real chats and write the answers.
- Testing before launch. Run the bot through 50–100 real questions, including awkward and ambiguous ones.
What goes into the knowledge base
| Section | Contents |
|---|---|
| Services and prices | names, "from" prices, what's included, duration |
| Hours and contacts | opening hours, address, directions, parking |
| Rules | booking and cancellation, payment, shipping, returns, warranty |
| FAQ | 30–50 questions from real chats and your answers |
| Tone | formal or casual, emojis, reply length, 2–3 examples |
| Limits | what the bot doesn't do and when it hands over |
When the bot hands over to a person
- The customer asks for a manager.
- A complaint or negative emotion.
- A question with no answer in the knowledge base.
- A large or unusual request: wholesale, corporate order, custom terms.
- An urgent situation: pain, accident, failed delivery.
The person gets a notification in the messenger or CRM with the whole conversation, so they don't have to ask again.
How to build a knowledge base in one day
- Morning: go through the last month of chats in Instagram, WhatsApp and on the website.
- Midday: list all customer questions and merge duplicates. Hundreds of messages usually become 30–60 unique questions.
- Afternoon: write an answer to each the way your best manager would, with current prices and terms.
- Evening: list separately what the bot doesn't do and when it calls a person.
Pre-launch checklist
- The bot quotes correct prices for your 10 most popular services or products.
- The bot honestly says "I'll check" when there is no answer.
- The bot hands over complaints, urgent cases and requests for a manager.
- The bot doesn't promise discounts, instalments or deadlines that aren't in the rules.
- The bot replies in the customer's language and in your team's tone.
- You know where to see all bot conversations and who reviews them weekly.
Today's task
Open your customer chats from the last month and list the 20 most common questions. Next to each, write the answer your best manager would give. This is the first version of your knowledge base.