# Knowledge base for an AI agent: what to write so it answers right

> An AI agent answers only as well as its knowledge base. Give it short, current facts: prices, delivery, hours, addresses, policies and the answers to your twenty most common questions, in the languages your customers use. Leave out anything you would not tell a customer. Test with real questions before going live, review its answers weekly and update the sources when something changes.

Source: https://toti.chat/en/blog/ai-agent-knowledge-base/
Updated: 2026-11-27

An AI agent that answers customers is not a search engine. It should say only what your business would say, and the knowledge base is where you tell it what that is.

## What should go in?

| Source | Example |
| --- | --- |
| Prices and products | “Sofa Milan, 3-seat: 7,900,000 soʻm, 14 days to make” |
| Delivery and payment | Districts, costs, times, Click/Payme/cash |
| Hours and addresses | Branches with landmarks (“near Chorsu”) |
| Policies | Returns, warranty, deposits, cancellations |
| Frequent questions | The 20 questions your team answers every day |
| Past chats | Good answers your team already gave |

Write facts the way a customer asks about them. “Do you deliver to Yunusabad?” should find a line that says “Delivery in Tashkent, including Yunusabad: 30,000 soʻm, same day if ordered before 15:00.”

## How to write it

- **Short and specific.** One fact per line or paragraph, with numbers.
- **Dated where it changes.** “Prices valid from 1 November 2026.”
- **In your customers’ languages.** If people ask in Uzbek and Russian, have the key facts in both; the agent replies in the script the customer used.
- **No contradictions.** Two price lists with different numbers will produce both answers.

## What to leave out

- Internal notes, margins, supplier names.
- Personal data of customers or staff.
- Promises you cannot keep: “always in stock”, “delivery in 1 hour”.

## Rules for the agent

Besides facts, tell the agent how to behave:

1. **Answer only from the knowledge base.** If the answer is not there, say so and hand over.
2. **Never promise** discounts, refunds or deadlines that are not written down.
3. **Hand over** complaints, large orders and anything about health or money to a person.
4. **Be honest** that it is an assistant if someone asks.

Platform rules matter too. Since January 2026 WhatsApp’s Business Solution Terms, for example, allow AI that serves customers of your business but not general-purpose chatbots. A clear way to reach a person is good practice everywhere.

## Test before going live

Collect thirty real questions from your chats, including awkward ones (“Is it cheaper at your competitor?”, typos, mixed Uzbek and Russian). Ask the agent each one. For every wrong answer, fix the source, not the question.

## Keep it current

- Review the agent’s answers every week; mark bad ones and correct the source behind them.
- Update prices and stock the day they change.
- Add new questions customers start asking: a new product, a holiday schedule.

## How it works in TotiChat

In **Toti AI → Knowledge** add text, FAQs, documents, web pages, a Google Sheet and past chats; switching a source off removes it from answers at once. **Playground** lets you test as a customer, **Review** shows the agent’s answers to mark and correct, and the agent’s instructions set tone and hand-over rules. The AI agent is part of the Pro plan and higher; each reply uses one AI credit.

Updated 27 November 2026.
