AI Knowledge Base: A Guide to Answering Customers

AI Knowledge Base: A Guide to Answering Customers
Share this post

An AI knowledge base brings together the documents, FAQs, products, and policies that the AI agent for customer support checks before answering. It is the company’s AI brain: the AI only answers well what the business has written down and reviewed.

AI knowledge base in four steps: a customer question on WhatsApp, a search in the knowledge base, an answer from approved content, and a check and handoff when there is no answer
AI knowledge base: the brain that answers the company’s customers

Without that base, a language model answers from general knowledge and may make up a price, a deadline, or a rule. With it, the answer starts from what the business has approved, and Google Cloud describes this approach as retrieval-augmented generation, or RAG.

This guide explains what goes into the knowledge base, how the AI searches and answers, how to avoid hallucination, how to handle data protection, how to measure quality with tests, and how to connect it all to customer service on WhatsApp, the CRM, and marketing.

Key Takeaways

  • An AI knowledge base gathers what the business knows into short, clear texts that the agent checks before every answer.
  • The AI does not learn on its own: it searches the knowledge base for excerpts, answers from them, and, when it cannot find the answer, should say it will check and hand off.
  • Quality is measured with a fixed set of test questions, rerun after every change to the knowledge base, the rules, or the agent.

What an AI Knowledge Base Is

What goes into an AI knowledge base: documents, frequently asked questions, the product catalog, and company policies
Four types of content make up the knowledge base

An AI knowledge base is the part of generative AI the business controls. The model brings the language; the knowledge base brings the business facts, such as hours, prices, timelines, and rules.

Documents, FAQs, Products, and Policies

Documents hold the long material: manuals, tables, regulations, and service scripts. FAQs hold the short, repeated material, such as payment methods, business hours, address, and delivery time.

The product or service catalog lists name, description, price, and terms. Policies cover exchanges, cancellations, warranties, and refunds, and a wrong answer about them can cost the business dearly.

The most common formats are PDF, plain text, Markdown, and CSV spreadsheets. Clean text, with headings and full sentences, usually works better than scanned images or tables without headers, which make reading and search harder.

Knowledge Base, FAQ, and Prompt

The prompt says how the agent should act: tone, limits, and when to hand off. The knowledge base says what it knows. Mixing the two produces huge instructions that are hard to review and to update when a price changes.

The guide to AI models for chatbots covers the model side. In practice, a business can switch models with little effort, but the knowledge base remains the asset that separates a correct answer from a generic one.

The Company AI Brain: One Source of Truth for Customer Service

The company AI brain in layers: knowledge base, agents on WhatsApp, actions in the CRM and calendar, and marketing content
The company AI brain: from knowledge to action

The company AI brain is the idea of teaching once and using it in many places. The same knowledge base answers customers, supports the sales agent, and feeds marketing copy, with no conflicting versions of the same price. In ConverZAP, this AI business brain powers the agents that answer on WhatsApp.

From Knowledge to Action

A knowledge base on its own only answers. The value shows up when the agent also acts: it saves data on the contact, moves the deal through the pipeline, and books appointments. That is what the guide to an AI agent integrated with a CRM shows.

Order matters: first the agent checks what is true, then it decides the next step. An AI SDR agent on WhatsApp, for example, uses the knowledge base to handle objections and the qualification rules to decide whether to book a meeting.

What the AI Brain Does Not Replace

The AI brain does not replace the team. Sensitive cases, negotiations outside the price list, and complaints stay with people, and the post on human and AI customer service on WhatsApp explains how to split the work.

It also does not know what nobody wrote down. If the exchange policy exists only in the manager’s head, the AI has no way to answer it. That is why building the knowledge base often uncovers gaps that were already hurting human customer service.

How AI Answers From the Knowledge Base: RAG Made Simple

How RAG works: a customer question, a search for excerpts in the knowledge base, the excerpts added to the model's context, and an answer written from those excerpts
RAG in three steps: search, answer, hand off

RAG stands for retrieval-augmented generation. The name sounds intimidating, but the idea is simple: before writing, the system looks in the knowledge base for the excerpts that cover the question. To understand the difference between a knowledge base and fine-tuning, see how to train AI on company data.

Search First, Then Answer

According to Google Cloud, RAG combines information retrieval systems with language models. First comes the search in the company’s data; then grounded generation, where the excerpts found are added to the model’s context.

An example: a customer asks on WhatsApp whether the store delivers on Saturday. The search finds the excerpt “Deliveries Monday through Saturday, until 2 p.m.,” and the model writes the answer from it in a conversational tone.

If the search returns the wrong excerpt, the answer comes out wrong even with a good model. OpenAI’s guide on accuracy points out that RAG creates a new thing to optimize: retrieval, which can fail on its own.

Keyword Search and Semantic Search

There are two common ways to search. Anthropic describes semantic search, using embeddings that encode meaning, and lexical search, such as BM25, which finds exact terms, like an error code.

In ConverZAP, knowledge base search runs on words, built for Portuguese text, not on semantic similarity. That is why it pays to write the terms customers use, such as “price,” “cost,” and “how much,” in the same excerpt that holds the price table.

Context, Not Training

Using a knowledge base is not training the model. OpenAI separates the two paths: the knowledge base provides context when proprietary or up-to-date knowledge is missing, and fine-tuning is for consistent behavior, such as format and tone.

OpenAI compares it to a student taking an open-book exam. The business does not change what the model knows; it hands over the right book, and it can swap a page the same day a price changes.

What to Put in an AI Knowledge Base

What to put in an AI knowledge base and what to leave out: content that answers customers and data that should not go in
What goes in and what stays out of the knowledge base

The best starting point is the questions the team already answers every day. Exporting the most repeated questions from the inbox shows what needs to be written first.

Content That Answers Customers

These are the items that usually open a knowledge base, in almost any type of business:

  • Operations: hours, address, service areas, timelines, and payment methods.
  • Offer: products or services with price, terms, and what is included.
  • Rules: exchanges, cancellations, warranties, refunds, and required documents.

Each industry has its own questions. Dental clinics add accepted insurance plans and preparation for procedures; stores and e-commerce add shipping, tracking, and exchanges. The industry pages help list these topics.

What to Leave Out

Leave out drafts, old tables, expired promotions, and internal opinions. An outdated document is worse than a missing one, because the AI will cite it with the same confidence as an approved text.

Customers’ personal data, passwords, and internal financial information also stay out. The knowledge base exists to answer anyone who asks, so nothing in it can be something the business would not tell a stranger.

How to Organize the Documents

One topic per document makes search and review easier. Instead of an 80-page PDF, short files work better, such as “Exchange policy,” “2026 price list,” and “Accepted insurance plans,” each with a review date.

Headings and sentences should use the customer’s language. Writing “Can I pay in installments by card?” followed by the answer helps keyword search find the right excerpt and helps reviewers see what is missing.

How to Avoid Hallucination: Grounding Rules

Rules to avoid hallucination: answer only from the knowledge base, say it will check when nothing is found, and hand off to a human agent
Three rules against hallucination in customer service

Hallucination is when the model generates content that does not match the facts. In customer service, it shows up as a made-up price, a deadline promised with no basis, or an exchange policy the business never had, stated with total confidence. The guide on AI hallucination goes deeper into the types of errors and how to test the agent.

Answer Only From the Knowledge Base

Google’s grounding documentation defines the concept as connecting the model’s output to verifiable sources, which reduces the chances of made-up content. The practical rule is to instruct the agent to answer only with what is in the knowledge base.

A clear instruction can read like this: “Answer only with information from the knowledge base. If you cannot find the answer, say you will check and offer to connect the customer with the team.” Short, direct rules are easier to test.

Anthropic recommends restricting answers to the documents provided and giving the model explicit permission to say it does not know. Anthropic itself warns that these techniques reduce, but do not eliminate, hallucinations.

“I Don’t Know” and Handoff to a Human

When the knowledge base does not have the answer, the agent should say it will check, not make something up. In ConverZAP, that is the default instruction when the knowledge base lookup finds nothing.

The WhatsApp Business Policy requires businesses that use automation to offer clear, direct paths to escalate, such as a handoff to a human agent in the conversation. The customer support agent page shows the handoff with reason and summary.

Knowledge Base Updates and Governance

AI knowledge base governance loop: an owner per topic, regular review, tests before publishing, and answer corrections
The knowledge base update and governance loop

A knowledge base is never finished. Prices change, policies change, and new products arrive, and every change needs to reach the knowledge base the same day it reaches the front desk.

Owner, Routine, and Review Date

Each topic needs an owner: finance handles prices and payments; operations, timelines and deliveries; legal or management, policies. Without an owner, nobody notices when a document expires.

A simple routine works well: a monthly review of the documents, an immediate review at every price change, and the date written into the title itself. When a table is replaced, the old version leaves the knowledge base, so there are never two truths.

In ConverZAP, the knowledge base can start by reading the company website at the initial sign-up, but it is not synced afterward. When the website changes, the knowledge base update is manual, and the review routine needs to include that check.

Corrections in the Simulator

Before turning an agent on, it is worth testing it in the simulator with real questions. When an answer comes out wrong, the correction is made by hand, and the question with the right answer goes into that agent’s FAQ.

This is not automatic learning: the AI does not learn on its own from conversations. The team decides what changes, which keeps control over what the agent tells customers.

Data Protection and Sensitive Data in the AI Knowledge Base

Data privacy in an AI knowledge base: what stays out and the access and security safeguards
Data privacy: what stays out of the knowledge base and who can edit it

The knowledge base answers customers, so it is no place for personal data. Brazil’s data protection law (LGPD) (in Portuguese) defines as sensitive, among others, data on health, racial or ethnic origin, religious belief, political opinion, sex life, genetics, and biometrics. Similar rules apply under GDPR in the EU.

What Stays Out of the Knowledge Base

The LGPD necessity principle limits processing to the minimum needed for the purpose. Customer lists, medical records, signed contracts, and old conversations do not need to be in the knowledge base to answer general questions.

The WhatsApp Business Policy also prohibits asking for or sharing full payment card numbers, financial account numbers, and identity document numbers. An agent rule can reinforce this: never request this data in the conversation.

Health data deserves extra care. A clinic can explain in the knowledge base how a procedure works, but each patient’s history stays in its own system, with restricted access, not in the content that answers the public.

Access, Security, and Extraction Attempts

The LGPD requires technical and administrative security measures. The information security guide for small-scale processing agents from ANPD, Brazil’s data protection authority (in Portuguese), recommends access control, so that only authorized people edit the data, and not sharing accounts or passwords among employees.

There is also the risk of someone trying to make the agent reveal what it should not, through messages designed to manipulate it. OWASP recommends limiting the model’s access to data sources.

In practice, the simplest way to protect a piece of data is to keep it out of the knowledge base. What the agent cannot read, it cannot reveal, no matter how clever the question.

How to Measure Quality With Tests

How to measure AI knowledge base quality: test questions, expected answers, hard cases, and metrics
Quality tests: from question to metric

Without tests, a business only discovers an error when a customer complains. OpenAI recommends keeping a set of questions with the correct answers, which serves as a reference to compare each adjustment.

A Fixed Set of Test Questions

The set should mimic real questions. Anthropic suggests including hard cases: a question with no answer in the knowledge base, an ambiguous question, and an off-topic message. The same question written in different ways tests keyword search.

A good start is 30 to 50 questions taken from the inbox, each with its expected answer. The set is rerun after every change to the knowledge base, the rules, or the agent, to catch regressions.

Metrics to Track

Four simple metrics help read the tests and day-to-day operations, alongside the customer service metrics the team already tracks, such as response time and satisfaction:

MetricWhat it showsHow to measure
Accuracy on the test setWhether the knowledge base and rules answer correctlyCorrect answers ÷ test questions
Answers with no sourceContent gapsQuestions where the agent said it would check
Handoff rateCases that need peopleConversations handed off ÷ conversations with the agent
Corrections madeWeak spots in the knowledge baseItems corrected in the simulator per week

The answers-with-no-source metric is the most useful for the routine. Every question where the agent said it would check points to a document to write or an excerpt to rephrase in the customer’s words.

An AI Knowledge Base for WhatsApp, the CRM, and Marketing

AI knowledge base connected to WhatsApp customer service, the CRM, the calendar, and marketing content
One knowledge base, many uses: WhatsApp, CRM, and marketing

For many businesses, the knowledge base pays off most in WhatsApp customer service, because that is where questions arrive in volume. Through the official WhatsApp Business API, the agent answers, records, and passes the conversation on.

Customer Service and Sales on WhatsApp

In ConverZAP, the Brand & Knowledge area holds documents in PDF, TXT, Markdown, or CSV, plus products and policies. The agents check this content with the consultar_base (search knowledge base) tool before answering, along with each agent’s own FAQ.

The step-by-step setup is in the guide on how to create AI agents for WhatsApp and in the ConverZAP help center. For sales, the post on AI for WhatsApp sales shows the knowledge base handling objections.

CRM, Calendar, and Marketing From the Same Knowledge Base

Beyond answering, the agents act in the WhatsApp CRM and the calendar: they save data on the contact, move the deal through the pipeline, and book appointments. The knowledge base provides the content; the tools record the outcome.

When the conversation moves to a human agent, they receive a summary of the case, and the data collected stays on the contact in the CRM. That way, whoever takes over does not have to ask again what the customer already answered.

The same brand feeds the marketing modules, which helps avoid one price in the ad and another in customer service. Clear, consistent content also helps the business show up in ChatGPT and in other AI answers.

Step by Step to Build an AI Knowledge Base

Step by step to build an AI knowledge base: real questions, documents, rules, tests, going live, and review
AI knowledge base, step by step

The plan below helps a small business build the first version of its knowledge base without coding, with the team that already serves customers every day.

From Research to the First Version

  1. List the 30 to 50 most common questions in the inbox.
  2. Write or gather one short document per topic, with a review date.
  3. Add products, prices, terms, and policies.
  4. Set the rules: answer only from the knowledge base, say it will check, and hand off.

A quick way to see the starting point is the free tool that shows how the AI answers using only your website. The result reveals what the site already explains and what still needs to be written.

From Testing to Routine

  1. Run the question set in the simulator and fix the wrong answers.
  2. Activate the agent on WhatsApp with handoff to the team.
  3. Every week, review the unanswered questions and update the knowledge base.

Choosing the AI agent platform also matters. Check whether it shows what the AI reads, lets you test before going live, hands off to the team with context, and records actions in the CRM.

Common AI Knowledge Base Mistakes

Common AI knowledge base mistakes: long mixed documents, old versions, no I-don't-know rule, and no tests
Common AI knowledge base mistakes

Many problems with an AI agent come from the knowledge base, not the model. The mistakes below are easy to recognize, and most can be fixed with a review of content and rules.

Content Mistakes

  • Giant document: one PDF with everything makes search and review harder.
  • Two truths: the new and the old price tables live at the same time.
  • Internal jargon: team terms customers never use when they ask.

Another mistake is expecting the AI to infer unwritten rules. If the business accepts exchanges only with a receipt, that condition needs to be in the text, or the agent will give an incomplete answer.

Operational Mistakes

Turning the agent on without a test set, without an “I don’t know” rule, and without handoff is a costly mistake. AI agents work best with a defined scope and clear limits from day one.

To start with the right knowledge base, ConverZAP, a Tech Provider verified by Meta, offers a free trial, and the AI business brain page shows how documents, products, and policies feed the agents. After publishing, the guide on how to measure AI visibility helps track whether the business shows up in AI answers.

Frequently Asked Questions

FAQ on AI knowledge bases: how to build one, training, hallucination, the company AI brain, data privacy, and learning
Frequently asked questions about AI knowledge bases
How do I build an AI knowledge base to answer customers?

Start with the most repeated questions in the inbox, write one short document per topic, add products and policies, set an “I don’t know” rule with handoff, and test with real questions before turning the agent on in WhatsApp.

Is an AI knowledge base the same as training a model?

No. The knowledge base gives the model context at answer time, like an open book during an exam. Training or fine-tuning a model changes its behavior, such as format and tone, and is not the recommended way to keep prices and rules up to date.

Does an AI knowledge base stop the AI from making up answers?

It greatly reduces the risk but does not eliminate it. That is why the knowledge base comes with rules: answer only with approved content, say it will check when it cannot find the answer, and hand off to the team when there is no answer or the case is sensitive.

What is a company AI brain?

It is the AI knowledge base used as a single source of truth: what the business teaches once answers customers on WhatsApp, supports actions in the CRM and calendar, and feeds marketing content, always with the same information.

What data should stay out of an AI knowledge base?

Customers’ personal data, sensitive data as defined by Brazil’s data protection law (LGPD), such as health and biometrics, passwords, card numbers, and confidential internal documents. The knowledge base should contain only what the business would tell anyone who asked.

Does the AI learn on its own from conversations?

That is not how it works in ConverZAP. When an answer comes out wrong, the team corrects it in the simulator, and the right answer goes into that agent’s FAQ. New documents and price changes are also updated in the knowledge base manually.

Share:

Subscribe to our newsletter
Get news and updates about WhatsApp automation and AI agents
Read more
Talk to our team
See how ConverZAP can help your business on WhatsApp
Conexão da ConverZAP com a API oficial do WhatsApp pela Meta