# How to build a knowledge base for your AI assistant

> How to build a knowledge base for your AI assistant: what to include, how to write answers it can use and how to keep prices and policies up to date.

- Canonical URL: https://localsysmachine.com/blog/ai-assistant-knowledge-base
- Published: 2026-11-14 (14 November 2026)
- Updated: 2026-11-15 (15 November 2026)
- Author: The Convowell team
- Tags: knowledge, ai-replies, ai-drafts, ai-costs
- Reading time: 10 min read
- Publisher: Convowell (https://localsysmachine.com/)

A knowledge base for your AI assistant is the written set of facts it may rely on when it answers customers: your hours, prices, delivery terms, policies and the answers to the questions people really ask. Build it by writing down the most-asked facts first, one clear fact per line in your customers' own words, and then review it on a schedule so prices and policies never go stale.

**In short:**

- Without written facts, an AI assistant guesses. With them, it quotes you.
- Start with hours, location, delivery, payment, returns and your top questions.
- Keep a short fact sheet for every reply and longer documents to look up.
- Date temporary notes, review monthly and test with real questions first.

## What is a knowledge base for an AI assistant?

A knowledge base for an AI assistant is the set of facts it may rely on when it writes a reply. When a fact is missing, the assistant either guesses or has to say it will check.

A language model is good at sentences but knows nothing about your business: not your price list, your delivery areas or that you close early on Wednesdays. Without a knowledge base, it fills those gaps with something that sounds likely, which is how confident wrong answers happen.

A careful setup has two halves. A rule tells the assistant to say it will check instead of guessing, one of the basics of [using AI safely in WhatsApp customer service](https://localsysmachine.com/blog/ai-for-whatsapp-customer-service). Your knowledge base then decides how often it can answer straight away.

Keep knowledge apart from the other things you tell an assistant, so each stays short:

| Document  | Answers               | Example line                              |
| --------- | --------------------- | ----------------------------------------- |
| Knowledge | What is true          | We open 8 am to 6 pm, Monday to Saturday. |
| Rules     | What it must never do | Never offer a discount.                   |
| Persona   | How it sounds         | Two or three short lines, no jargon.      |

## What should you write down first?

Write down the facts customers ask about most, starting with the ones that rarely change. A good order is opening hours, location, delivery, payment, returns, your top questions and then products or services with prices.

1. **Opening hours**, including holidays and when you answer messages.
2. **Location** and how to find you, or that you sell online only.
3. **Delivery areas, fees and usual timing**, or how collection works.
4. **Payment methods** you accept, and when payment is due.
5. **Returns, exchanges and cancellations**, in a sentence or two each.
6. **Your top questions**, each with your best answer.
7. **Products or services with prices**, sizes, options and what is included.

The first five are short and rarely change. Prices come last because they make the longest list and change most often, so they belong in a document of their own.

To find your top questions, scroll back through a month of chats and note every question you answered more than twice. Write each one down the way the customer asked it, not the way you would phrase it. Bloom Bakery's list might start with "do you do gluten free", "can I order a cake for Saturday" and "are you open on Sunday".

## Always-on facts or look-up documents?

Use both: a short fact sheet the assistant reads with every reply, and longer documents it looks up only when a question needs them. The fact sheet keeps everyday answers consistent, while the documents hold price lists, catalogues and FAQs without crowding every reply.

The split matters for cost and quality. AI providers bill by the token, a small chunk of text that is often part of a word, and everything the assistant reads counts, as [how AI token pricing works with your own API key](https://localsysmachine.com/blog/ai-token-pricing-own-api-key) explains. A reply about opening hours is also better without your whole catalogue alongside it.

| Layer             | What goes in                                | When it is read            |
| ----------------- | ------------------------------------------- | -------------------------- |
| Fact sheet        | Hours, location, delivery, payment, returns | With every reply           |
| Look-up documents | Price lists, catalogues, FAQs               | Only the matching passages |

![Two layers of knowledge feeding one draft reply: a fact sheet with hours, location, delivery, payment and returns, included with every reply, and documents looked up when relevant, where only the matching price list is used while the catalogue and FAQ stay aside](https://localsysmachine.com/images/blog/ai-assistant-knowledge-base/two-layers.svg)

In Convowell, the fact sheet is the **Knowledge** document in AI Studio, read with every draft. Longer material goes in the **Knowledge** tab as approved documents, and only the passages that match the customer's message are added to a draft. The quick start writes a first version for your kind of business, but its starter knowledge is a template to fill in and approve, not facts to trust as written.

## How do you write answers an AI can use?

Write knowledge the way you would brief a new employee on their first day: one fact per line, exact figures, the conditions that apply and the things you do not do. Use the words your customers use, because those are the words their questions will contain.

- **One fact per line.** "Delivery in town: [price], next working day if you order by 2 pm" beats a paragraph mixing delivery, payment and returns.
- **Questions in your customers' words.** People write "do you deliver to the north side", not "shipping coverage". Some look-up systems match documents by the words in the question, so a synonym you never wrote down can be missed.
- **Exact figures.** "Monday to Saturday, 9 am to 6 pm" beats "most days", and "[price] for a large loaf" beats "very reasonable".
- **Conditions and exceptions.** "Returns within 14 days with the receipt. Sale items cannot be returned." The exception is the line that saves an awkward conversation.
- **What you do not offer.** "We do not deliver on Sundays." "No same-day appointments." Without these lines, nothing tells the assistant that the answer is no.
- **No contradictions.** If the price list says one thing and an old FAQ another, the assistant cannot tell which is current, and neither can your customer.

A simple template keeps every entry complete. Copy one block per question:

```text
Question: (in the customer's words)
Answer: (one or two sentences, with exact figures)
Conditions and exceptions: (when it applies, and when it does not)
Last checked: (date)
```

Filled in for Harbor Bike Repair:

- **Question:** Can you fix my bike today?
- **Answer:** Small repairs such as punctures are usually done the same day if you bring the bike in before noon. Bigger repairs need a look first, and we confirm the time after checking.
- **Conditions and exceptions:** Same-day repairs Monday to Friday only. We do not repair e-bike motors.
- **Last checked:** 1 November.

## Which formats work best?

Plain text, Markdown and CSV work best, because they are just text with a little structure. Write fact sheets as plain lines, FAQs as Markdown with a heading per question and price lists as CSV with one item per row.

| Format            | Best for              | Tip                       |
| ----------------- | --------------------- | ------------------------- |
| Plain text (.txt) | Short fact sheets     | One fact per line         |
| Markdown (.md)    | FAQs and policies     | A heading per question    |
| CSV (.csv)        | Price lists and menus | One item per row, headers |

Markdown is plain text with simple marks, such as a hash sign before a heading. A CSV file is a spreadsheet saved as plain text, with commas between the columns. A header row such as product, size, price and notes tells the assistant what each value means.

PDF and Word layouts, with columns, tables and footers, often come out scrambled when the text is pulled out automatically. Copy the text out yourself, tidy it and save it as a text or Markdown file, deleting outdated lines on the way.

## How do you keep prices and policies current?

Keep each fact in one place, date anything temporary and review everything once a month. An outdated fact is worse than a missing one, because the assistant states it with the same confidence as a correct one.

1. **One source of truth per fact.** The price lives in the price list only, not repeated in the FAQ or the fact sheet. When it changes, you change one line.
2. **Dated temporary notes.** "Until 30 November: closed on Mondays while the shop is refitted." Delete the note when the date passes. In AI Studio, notes like this go in the **Memory** document, the place for workspace-wide notes that hold for a while.
3. **Change it the same day.** When a price, an opening time or a policy changes, update the knowledge that day, not at the next review.
4. **A monthly review.** Pick a fixed day and read every entry. Check prices, hours, fees and policies, and update each "Last checked" date.
5. **Archive old documents.** A retired price list that is still active will still be quoted. Archive it, so it stays on file but is no longer used.

## How do you test it before customers see it?

Test your knowledge base with real questions customers have sent you, before any customer sees a reply. Check every fact in each draft against your notes, and treat every "I'll check" as a gap to fill or a case to hand over.

1. **Collect 10 to 20 real questions** from recent chats, short and misspelt ones included, such as "price?" and "open sunday?".
2. **Ask each one in a preview.** In AI Studio, the **Playground** drafts a reply to a sample conversation without sending anything to anyone.
3. **Check every fact** in every draft: price, hours, fee and conditions.
4. **Note each "I'll check".** It is either a gap in your knowledge or a case that should come to you anyway, such as an order or a booking. Our guide to [taking orders and bookings on WhatsApp without mix-ups](https://localsysmachine.com/blog/take-orders-and-bookings-on-whatsapp) covers those.
5. **Fix the knowledge and ask again** until the answers are right.

Testing does not stop at launch: every draft you edit to correct a fact points to a missing line, so add it the same day.

Test again before you turn on auto-reply, the optional setting in Convowell that is off by default and lets the assistant answer new messages by itself, at a human pace. With it on, simple questions are answered without you reading the reply first, so the facts behind them need to be right. Questions it is unsure about are still handed to you. New to the assistant? [Meet Convowell and its AI drafts](https://localsysmachine.com/blog/introducing-ai-drafts-for-whatsapp) for the bigger picture.

## Frequently asked questions

### How long should a knowledge base be?

A knowledge base should be as long as your customers' questions require and no longer. The always-included fact sheet works best at a page or less, because it is read with every reply. Longer material such as price lists, catalogues and FAQs can run to many pages in separate documents, since only the passages that match a question are used.

### Can I upload PDF or Word files as knowledge?

In Convowell, knowledge uploads take plain text, Markdown or CSV, not PDF or Word files. Copy the text out of the PDF or Word file, tidy the layout and save it as a text or Markdown file. The result is usually cleaner than an automatic conversion, and you get a chance to remove outdated lines from your knowledge on the way.

### How often should I update my knowledge base?

Update your knowledge base the day a fact changes, and review all of it once a month. Change prices, hours and policies straight away and add temporary notes with an end date. Then use the monthly review to catch what you missed, archive old documents and refresh the last-checked date on each entry.

### What happens when a customer asks something it does not cover?

When a customer asks something your knowledge base does not cover, a well set-up assistant says it will check instead of guessing. You then answer the customer yourself and, if the question is likely to come up again, add the answer to your knowledge. In Convowell, the app's own safety rules already stop drafts from stating a price, a fee or a product fact that is missing from your documents and approved knowledge, and with auto-reply on, a question it is unsure about is handed to you instead of being answered.
