Knowledge base for AI support: what to write so agents answer correctly
What to put in a knowledge base for AI support so agents answer correctly: policies, product facts and edge cases, with a ready-to-copy article format.
Short answer: A knowledge base for AI support is the written set of facts your agents use to answer: policies, product details, procedures and the exceptions to each rule. Write 20 to 40 short, specific entries covering your most common questions, state conditions in plain if-then language, and tell the AI to flag anything not covered rather than guess. The quality of the answers follows the quality of what you wrote.
An AI support agent does not know your business. It knows how to read, reason and write, but your return window, your shipping carriers and your policy on late deliveries exist only where you put them. A knowledge base is that written source of truth. Done well, it is the single biggest lever on answer accuracy.
Why does the knowledge base matter more than the AI?
When an AI draft is wrong, the cause is usually one of three things: the fact was missing, the fact was ambiguous, or the exception was never written down. Very rarely is it a failure of writing skill. That is good news, because you can fix all three.
It matters legally and commercially too. In 2024 a Canadian tribunal held Air Canada responsible for wrong refund information its website chatbot gave a passenger, rejecting the argument that the chatbot was a separate entity (CBS News). Whatever your AI says, you own. Accurate source material is your first defense, and approval on sensitive replies is your second.
What should you include?
Six kinds of content cover most of what a small business needs.
| Content type | Example | Why the AI needs it |
|---|---|---|
| Policies | Returns within 30 days, unused, with receipt | Prevents invented rules |
| Product facts | Sizes, materials, compatibility, what is in the box | Answers pre-sale questions |
| Pricing and offers | Shipping fees, free-shipping threshold, discount terms | Avoids wrong quotes |
| Procedures | How to process a return, how to replace a damaged item | Gives the correct next step |
| Escalation rules | Refunds above $75 go to the owner | Knows when to stop |
| Voice rules | Greeting, sign-off, words to avoid | Keeps replies on-brand |
Voice deserves its own page; see AI support tone of voice.
How do you decide what to write first?
Let your tickets tell you. Do not start by writing everything you know; start with what customers actually ask.
- Take your last 100 tickets and tag each by topic.
- Rank the topics by frequency.
- For each of the top ten, write one entry that fully answers it.
- Add the policies those answers depend on.
- Add the exceptions you remember causing trouble.
Example: a candle shop finds that order status, shipping times, wick trimming, returns and gift wrapping make up 70% of tickets. Ten entries on those five topics already cover most of the inbox.
How do you write an entry the AI will use correctly?
Clear writing helps people and AI alike. Follow these rules.
- One topic per entry. "Returns" and "Warranty" are separate.
- State conditions explicitly. Write "If the item is unused and within 30 days, offer a full refund. If it is used, offer store credit." Do not write "usually refundable."
- Use numbers and dates. "Ships in 2 business days" beats "ships quickly."
- Name the exceptions next to the rule. Do not leave them for another page.
- Say what the AI should do, not only what is true. "If the customer asks for a refund over $75, prepare it and send it to the owner for approval."
Here is a ready-to-copy format:
TOPIC: Returns for unused items
APPLIES TO: All products except gift cards and final-sale items
RULE: Full refund to the original payment method if returned
within 30 days of delivery, unused, in original packaging.
EXCEPTIONS:
- Final-sale items: no refund, no return.
- Damaged on arrival: replacement or refund, no return needed,
ask for one photo.
- Past 30 days: offer store credit up to 14 days later,
escalate beyond that.
CUSTOMER ASKS: "Can I send this back?" "Do I get my money back?"
WHAT TO DO: Confirm order and delivery date, state the rule,
send the returns link. Refunds over $75 go to the owner.
NOT SURE? Say you will check and flag the ticket for a person.
What about edge cases?
Edge cases are the situations that break the normal rule, and they are where AI errors cluster. AI applies the main rule fluently, so an unwritten exception becomes a confidently wrong answer.
Common edge cases to write down:
- Items bought on sale or with a coupon
- Gift orders shipped to someone else
- Customers outside your normal shipping region
- Combined orders partly shipped
- Subscriptions that renewed yesterday
- Customers who already received a refund once
Keep a running list. Each time a draft is wrong, ask whether it was a missing fact or a missing exception, and write the fix the same day. The guide to AI support accuracy shows how to track those misses weekly.
How do you handle questions the knowledge base cannot answer?
The safest instruction you can give is: "If the answer is not in the knowledge base, say you will check and flag the ticket for a person." Without it, AI tends to fill the gap with something plausible. This is the root of most AI support hallucinations.
Treat each flag as a to-do for the knowledge base. If three customers ask about gift wrapping in a month and the AI keeps flagging it, you have found your next entry.
Can AI draft the knowledge base for you?
Partly. An AI agent can read your website and propose a first version: what you sell, who you serve, your policies and your tone. That saves the blank-page problem. You still have to check it and add what is not public.
In beereau, this is the starting point: you share your company website, the Head of Support reads it and drafts what the company sells, who it serves and how it talks, and you check the result. Then you add the exceptions and policies only you know. For the full training flow, see how to train an AI support agent.
How do you keep it current?
- Update on change. A new price or policy goes in the same day.
- Monthly review. Skim the top ten entries for stale facts.
- Add from misses. Every wrong draft produces a new or edited entry.
- Retire old entries. Remove expired offers so they are not quoted.
Treat the knowledge base like a living document, not a launch deliverable.
Next step
Take the ten most common questions from your last 100 tickets and write one entry for each in the format above. Include the exceptions you can think of and the escalation rule. That is a working knowledge base you can test against real tickets today, and the foundation of an AI customer support team.
Frequently asked questions
What is a knowledge base for AI support?
It is the collection of written facts an AI agent draws on to answer customers: policies, product details, shipping and return rules, and how to handle special cases. The AI can only be as accurate as what is written there.
How big does a knowledge base need to be?
Smaller than most people expect. Twenty to forty clear, accurate entries covering your top questions and policies beat hundreds of vague pages. Start with the ten questions you answer most often.
What should I include in an AI support knowledge base?
Policies (returns, shipping, warranty), product facts, pricing rules, step-by-step procedures, escalation rules, tone guidance and the edge cases where the answer depends on conditions.
Can AI build a knowledge base from my website?
It can draft one by reading your site, and that is a good starting point. You still need to check the draft, fill gaps the website does not cover and add the exceptions that live in your head.
How do I write entries so AI does not misread them?
Use plain sentences, state conditions explicitly with if-then wording, include numbers and dates, and avoid pronouns that point at earlier text. One topic per entry works better than a long mixed page.
What are edge cases and why do they matter?
Edge cases are the situations that break the normal rule: an item bought on sale, a gift order, a customer outside your shipping area. AI tends to apply the main rule confidently, so writing the exceptions down prevents wrong answers.
How often should I update the knowledge base?
Update it whenever a policy, price or product changes, and review it monthly. Every time a draft is wrong because of missing information, add the missing fact the same day.
What should the AI do when the knowledge base has no answer?
It should say it does not know and flag the ticket for a person instead of guessing. Write that rule explicitly, and treat each such flag as a signal to add an entry.