What Is a Knowledge Base Chatbot? How It Works and What It Can't Do
A knowledge base chatbot answers only from your own pages and documents. How it finds answers, what to put in it, how it stays current, and whether it learns.

Short answer
A knowledge base chatbot is an AI chatbot that answers only from content you give it, such as your website, help articles and PDFs, by retrieving the passages that match each question and writing a reply from them. It does not learn from conversations: the model is not retrained on your chats, and answers change only when someone edits the content. As of October 2026, PepoChat re-reads web pages weekly and offers a person when nothing matches.
You have probably met the phrase on a pricing page: a chatbot "trained on your data" or "powered by your knowledge base". Both describe the same kind of product, and knowing how it works tells you what it will get right, what it will get wrong and how much upkeep it needs.
This page is for business owners and support leads choosing or running their first AI support agent. It defines the term, walks through the five steps between a question and an answer, then goes deeper on the three things buyers ask about most: what to put in the knowledge base, how it stays current, and whether the bot learns from conversations. The retrieval mechanics themselves are covered in our RAG explainer for non-engineers.
PepoChat is our product; its behaviour below was checked in its code and documentation on 22 October 2026, and every external source was read the same day.
What is a knowledge base chatbot?
A knowledge base chatbot is an AI chatbot that answers visitors' questions from a defined collection of your own content, and admits when that collection has no answer, instead of drawing on the open internet or a model's general training.
The knowledge base is the private, searchable store of text the bot reads from: crawled web pages, uploaded files, synced documents and short answers you write yourself. The phrase has a second meaning, a public help center that customers browse, and many knowledge base chatbots sit on top of one. You do not need help center software to start, though: your website and a few documents already make a knowledge base.
Vendors also call this a chatbot "trained on your data", a document chatbot or a RAG chatbot. The word "trained" is loose, because in almost every product nothing is trained. Your content is indexed so it can be searched, and a language model reads the matching passages at the moment it answers. The technique is retrieval-augmented generation (RAG), which AWS's RAG explainer describes as pointing a model at an authoritative knowledge base outside its training data before it responds, "all without the need to retrain the model".
The consequence for you is practical. The bot is only as complete, current and consistent as its knowledge base, so most wrong answers are content problems you can fix in minutes, not model problems you wait for a vendor to solve.
How is a knowledge base chatbot different from ChatGPT or a rule-based bot?
A knowledge base chatbot differs from ChatGPT in where its answers come from, and from a rule-based bot in whether it can handle questions nobody scripted: it writes its own replies like ChatGPT, but only from your content.
| Rule-based chatbot | ChatGPT | Knowledge base chatbot | AI support agent | |
|---|---|---|---|---|
| Where answers come from | Scripts and buttons you wrote | What its model learned, plus web results when it searches | Your content, searched for every question | Your content, plus live lookups in your systems |
| Handles questions nobody scripted | No | Yes | Yes, when your content covers them | Yes, when your content or a connected tool covers them |
| Limited to your facts | Yes | No | Yes | Yes |
| Acts in your business systems | Fixed flows only | No | No, it only answers | Yes, through integrations you enable |
| Where customers use it | Your website or a messaging app | OpenAI's own apps | Usually a widget on your website | Your website, sometimes other channels |
Comparison as of October 2026.
ChatGPT is a general assistant: it knows a great deal about the world, but nothing holds its answers to your current policies, and it lives in OpenAI's apps rather than on your site. A knowledge base chatbot inverts that trade. It knows only what you gave it, so it can say "I don't have that information" instead of producing a plausible guess, and many are built on the same OpenAI models.
A rule-based chatbot follows a decision tree of buttons and keyword triggers; it never writes a sentence nobody scripted, which makes it predictable and brittle. An AI support agent is a knowledge base chatbot with tools and a human handoff added, so it can also check an order, open a ticket or pass the conversation to a person. Most products sold as AI support agents, PepoChat included, are knowledge base chatbots at their core, and the AI agents inside helpdesk suites are the same idea attached to a ticketing system. The definition of an AI support agent covers the tool layer.
How does a knowledge base chatbot work? The five steps
A knowledge base chatbot works in five steps: it ingests your content, splits it into passages, turns each passage into an embedding, retrieves the passages closest to each question, and generates a reply from those passages alone.
| Step | What happens | In PepoChat, October 2026 | What can go wrong |
|---|---|---|---|
| 1. Ingest | Pages are fetched and files read, then reduced to plain text | Main page content kept, menus and footers dropped; scanned PDFs and images read by a vision model | Text that appears only after scripts run, sits behind a login or lives in an image never arrives |
| 2. Split | The text is cut into passages small enough to search | About 1,000 characters each, cut at line breaks | An answer lands in a different passage from its heading |
| 3. Embed | Each passage is turned into numbers that represent its meaning | One OpenAI embedding model, 1,536 numbers per passage | Your internal jargon sits far from the visitor's words |
| 4. Retrieve | The question is embedded and compared with every stored passage | The 30 nearest are fetched and the best 8 kept, up to 12,000 characters | Near-duplicate pages crowd out the passage with the answer |
| 5. Generate | A language model writes the reply from the retrieved passages | Told to use only the passages and to offer a person when they fall short | A stale or contradictory passage is quoted faithfully |
Last verified 22 October 2026 in PepoChat's search and ingestion code and its documentation.
An embedding is a list of numbers that represents what a passage means, so a question about "getting my money back" lands near a passage titled "Refund policy" although the words barely overlap. Matching by meaning is what lets the bot handle questions phrased in ways you never wrote.
Two details decide more than the rest. Retrieval runs per question, not per conversation: PepoChat's agent is told to search before answering any product question, and only greetings skip the search, so a follow-up on a new topic gets fresh passages. PepoChat also sets no minimum similarity score. The nearest passages always come back, and the model judges whether they answer the question; when they do not, the agent says it has no specific information in its knowledge base and offers to bring in a person. Agent instructions can change its tone, but not that rule against inventing facts.
What goes into a knowledge base chatbot?
A knowledge base chatbot can use any content that can be turned into text: website pages, uploaded documents, synced Notion or Google Drive pages, help center articles and answers you write yourself, and as of October 2026 PepoChat accepts all five.
| Source type | Examples | How PepoChat keeps it current | Counts toward the source limit |
|---|---|---|---|
| Website crawl | Your public site, followed link by link from one address | Re-fetched weekly; Sync website pages refreshes now; Import again adds new pages | 1 source for up to 200 pages, 3 levels deep |
| Sitemap import | The pages in your sitemap.xml, narrowed by include and exclude paths | Same as a crawl | 1 source for up to 200 pages |
| Single page or list of links | A returns page, or up to 20 pasted addresses | Re-fetched weekly with your other pages | 1 source per link |
| Uploaded files | PDF, Word, Markdown, HTML, TXT, CSV, JSON and images, 25 MB each | Upload a file with the same name to replace it | 1 source per file |
| Notion | Pages and databases you share with PepoChat | Changed pages re-fetched daily; Sync now refreshes at once | 1 source per connection, up to 500 pages |
| Google Drive | Docs, Sheets (first tab only), Slides and files you pick | Changed files re-fetched daily; Sync now refreshes at once | 1 source per connection, up to 500 files |
| Text snippets and Q&A pairs | "Do you ship to Canada?" with your answer | Edit in place; the agent uses the change in a moment | None; 100 on Free, 1,000 on paid plans |
| Help Center articles | Published how-to guides in the widget's Help tab | Mirrored on publish and on every save, removed on unpublish | None; 50 on Free, 300 on paid plans |
Limits from PepoChat's documentation and code, checked 22 October 2026. Free allows 5 knowledge sources and 20 MB of text; Starter and Growth allow unlimited sources with 200 MB and 1 GB.
Start with the pages behind your most common questions: pricing, shipping and returns, account and billing help, opening hours and contact details. Then fill the gaps with documents and Q&A pairs. More is not better. Every irrelevant or outdated passage is one more candidate for the eight places retrieval fills, so a small, accurate knowledge base beats a large, messy one. The guide to formatting docs for an AI chatbot shows how to write each page so its passages still make sense when read alone.

Keep out anything you would not say to every visitor. Unless a product offers per-visitor permissions on its content, and PepoChat does not, any passage can be quoted to anyone who asks the right question. That rules out internal notes, staff-only procedures, unreleased prices, discount codes, customer records and chat transcripts. Transcripts are the tempting one, but they hold names, emails and one-off answers, so read them for gaps and write each fix as a general answer instead.
OWASP's Top 10 for LLM applications, in its 2025 edition, names related risks for retrieval systems: leaks between users who share one store, and data poisoned by insiders or "unverified data providers". Its advice is to accept data "only from trusted and verified sources". For a support bot, that means your own pages and documents, not forums, scraped pages or anything visitors can edit.
Does a knowledge base chatbot learn from conversations?
A knowledge base chatbot does not learn from conversations the way most people assume: the AI model is not retrained on your chats, the knowledge base changes only when someone edits it, and the bot remembers a visitor only within one conversation.
People use "learning" for four different things, and only one of them happens without your involvement.
| What people mean | Does it happen? | In PepoChat, October 2026 |
|---|---|---|
| The AI model is retrained on your chats | No | Nothing is trained or fine-tuned; replies come from OpenAI's models under standard API terms |
| The knowledge base updates itself from chats | No | Content enters only as pages, files, synced apps, snippets or Help Center articles |
| The bot remembers earlier messages in the same chat | Yes | The agent reads the conversation so far before each reply |
| The bot remembers a returning visitor | Only with a memory feature and an identity check | Meeting memory, off by default, for a verified visitor only |
Checked in PepoChat's code and documentation on 22 October 2026.
Is the AI model trained on my customers' chats?
Most knowledge base chatbots call a model provider's API at answer time rather than training a model, and PepoChat trains and fine-tunes nothing. For each reply it sends the conversation, the retrieved passages and your agent instructions to OpenAI's models under standard API terms. OpenAI's data controls page says that as of 1 March 2023, data sent to the API "is not used to train or improve OpenAI models" unless the customer explicitly opts in, and that abuse-monitoring logs are kept for up to 30 days by default.
Not trained does not mean not stored. Each conversation also sits in the vendor's own database. In PepoChat it stays in the team inbox until you remove it, or until Data retention on the Team page, off by default, deletes resolved conversations after 30, 90, 180 or 365 days. Ask every vendor both questions, training and retention; our guide to where chatbot data goes covers the details.
Does the knowledge base update itself from conversations?
No, and a bot that rewrote its own knowledge from chats would be a liability. In PepoChat, content enters the knowledge base only as imported pages, uploaded files, synced Notion or Drive pages, snippets and Q&A pairs, or published Help Center articles. Nothing a visitor types, and nothing an operator replies in the inbox, is added.
Microsoft showed the risk in 2016. It launched its chatbot Tay expecting it to "get better and better" through interaction, and in the first 24 hours "a coordinated attack by a subset of people exploited a vulnerability in Tay". Microsoft's post-mortem drew the lesson that "AI systems feed off of both positive and negative interactions with people". A support bot that absorbed what visitors typed would invite the same attack, and could repeat one customer's details in another customer's answer.
Does a knowledge base chatbot remember returning visitors?
Within one conversation, yes: the agent reads the earlier messages, so "and on the Growth plan?" makes sense after a question about Free. Across conversations, no. Each new PepoChat conversation starts with no memory of earlier ones; a visitor can scroll back through their own chats in the widget while their 24-hour session lasts, but the agent does not read them.
The exception is meeting memory, an optional PepoChat feature, off by default, that lets the agent recall a returning customer's past meetings from PepoSmart meeting notes: dates, interests, commitments and summaries, never raw transcripts. It works only for a verified visitor, one who proved their email address with a 6-digit code, so a stranger who types someone else's address gets nothing. The meeting memory explainer covers that gate in detail.
What actually improves the answers?
People improve the answers, using what conversations reveal. A weekly routine looks like this:
- Filter the team inbox by Escalated and read the questions the agent could not answer.
- Check the Topics card in Analytics for subjects that grow week over week, and the share of thumbs-down votes on the Sentiments card.
- Name the cause of each miss: missing content, a stale page, two sources that disagree, or a question that needs a live lookup.
- Fix the source: a Q&A pair worded the way the visitor asked, an edited page followed by Sync website pages, or a replaced file.
- Ask the same question in the Test the agent drawer, where replies are free and kept out of analytics.
That loop is the honest version of "it learns over time". The learning is yours, and every change is one you can read, date and undo.

How do you keep a knowledge base chatbot current?
You keep a knowledge base chatbot current by changing the source rather than the bot: edit the page or file, then let the weekly re-fetch collect it, or trigger a sync when the change cannot wait.
| When this changes | Do this in PepoChat | When the agent answers from it |
|---|---|---|
| A price or policy on an imported page | Edit the page, then click Sync website pages | After the sync, or at the next weekly re-fetch |
| A new page on your site | Click Import again on the crawl or sitemap card | When the import finishes |
| A page removed from your site | Delete its row on the Knowledge Base page | Immediately; a sync keeps the old copy |
| A PDF price list or policy | Upload the new version with the same file name | Once processed; the old version is replaced |
| A Notion page or Google Doc | Edit it in Notion or Drive | Within a day, or at once with Sync now |
| One answer the agent keeps getting wrong | Add or edit a Q&A pair | In a moment |
Checked in PepoChat's documentation and code on 22 October 2026.
A worked example shows why the order matters. Say your returns window drops from 30 days to 14 on 1 November. You edit the returns page, but an old returns PDF and a Q&A pair written in the spring still say 30. Until the next re-fetch, every stored passage says 30; after it, retrieval can return both versions, and the agent may quote either. The fix takes a few minutes: sync the page, replace the PDF, edit the Q&A pair, then ask "How long do I have to return an order?" in the test drawer.
Four habits keep the knowledge base honest between changes:
- Date time-bound facts. "As of November 2026, returns are accepted within 14 days" lets both the agent and the reader judge freshness; "currently" tells neither anything.
- Exclude retired versions. If your docs keep
/v1/pages next to/v2/, add an exclude path to the crawl or sitemap import so old instructions never enter. - Watch for duplicates. One page under two addresses, such as with and without a query string, is stored twice and can take two of the eight passage places.
- Expect re-syncs to be cheap. PepoChat's weekly re-fetch re-indexes only pages whose words changed, so redeploying an unchanged site costs nothing.
What can't a knowledge base chatbot do?
A knowledge base chatbot cannot answer what is not written down, see a customer's account, act in your systems or make judgement calls, so each of those gaps needs an integration, a person or a rule you set.
- It cannot see account data. "Where is my order?" needs a live lookup, not a page. As of October 2026, PepoChat offers 22 prebuilt actions across 13 providers, such as Shopify order status by order number and Stripe subscription checks, and none of them moves money.
- It cannot act without a tool. Booking a meeting, cancelling a plan or opening a ticket each needs an action you switch on. Action execution is at-least-once, so a write can occasionally run twice, which is why refunds and payments should never be wired as actions.
- It cannot make exceptions. A refund outside policy or a goodwill discount is a judgement call. PepoChat offers a person when nothing relevant is found and escalates to the team inbox when the visitor accepts or asks for one; that human handoff is the hand-over of a conversation, transcript included, to your team.
- It cannot guarantee a correct answer. Grounding narrows mistakes without ending them, because the model can misread a passage or faithfully quote a stale one. Test with questions it should refuse, as the guide to stopping chatbot hallucinations explains.
- It cannot keep a secret that sits in its knowledge base. Anything stored can be quoted to any visitor.
PepoChat has three limits of its own worth knowing, as of October 2026. Replies do not show which page they came from, in the widget or in the team inbox. Search matches by meaning only, with no separate keyword search, so exact strings such as SKUs or error codes can match less reliably than sentences. And there is no report of unanswered questions, so the Escalated filter and the Topics card are where the gaps show up.
How do you choose a knowledge base chatbot? A 10-point checklist
Choose a knowledge base chatbot by checking ten things before the price: grounding, citations, human handoff, source types, re-sync, permissions, pricing unit, data policy, widget weight and test tools, all of which a free plan or trial can show.
| # | Check | What a good answer looks like | PepoChat, October 2026 |
|---|---|---|---|
| 1 | Grounding | Answers only from your content and says when it does not know | Base rules: search first, never invent, offer a person |
| 2 | Citations | Shows the source page, at least to your team | Not shown to visitors or in the inbox |
| 3 | Human handoff | Offers a person when nothing is found and hands over the transcript | Escalates to the team inbox; three Team availability modes |
| 4 | Source types | Site crawl, sitemap, files, docs apps and written answers | All of these, plus a mirrored Help Center |
| 5 | Re-sync | Scheduled re-fetch plus a manual button | Weekly for web pages, daily for Notion and Drive, sync buttons for both |
| 6 | Permissions | You choose what it reads, what it may do and where it runs | Connectors see only what you share; actions switched on one by one; allowed domains |
| 7 | Pricing unit | A unit you can forecast, and a clear rule at the cap | AI replies: 200 on Free, 2,000 on Starter ($49), 10,000 on Growth ($149) a month |
| 8 | Data policy | No training on your data, and retention you control | OpenAI under standard API terms; Data retention from 30 to 365 days, off by default |
| 9 | Widget weight | A small loader that never blocks your page | 8,249-byte loader (3,387 bytes gzipped as served); chat frame preloads in browser idle time |
| 10 | Test tools | Free test chats before customers see answers | Test the agent drawer, free and kept out of analytics |
PepoChat column checked in its code, documentation and pricing page on 22 October 2026; loader size measured on the live widget the same day.
Two rows deserve a closer look. On pricing, ask what happens at the cap: when a PepoChat Free workspace reaches 200 replies, new conversations go to the team inbox with a friendly message, while paid plans keep answering and bill $10 per 1,000 extra replies. On grounding, the quickest test is a refusal test: ask five questions your content does not answer and count how many times the bot admits it cannot help instead of guessing.
What to do next
- Build one in an afternoon with the guide to training an AI chatbot on your website and PDFs, starting with the pages behind your top ten questions.
- Trace a single reply from question to handoff in the PepoChat docs page on how answers work.
- Create a free workspace to run the refusal test on your own content: every feature is on the free plan, with 200 AI replies a month and 5 knowledge sources, and no card to enter.
Frequently asked questions
- What is a knowledge base chatbot?
- A knowledge base chatbot is an AI chatbot that answers questions only from content you provide, such as website pages, help articles, PDFs and Notion or Google Drive documents. For each question it retrieves the most relevant passages and writes a reply from them. When the content has no answer, a well-built one says so and offers a person instead of guessing.
- How is a knowledge base chatbot different from ChatGPT?
- ChatGPT answers from what its model learned in training, plus web results when it searches, and it lives in OpenAI's own apps. A knowledge base chatbot answers only from your content, runs on your website, and can say it does not know instead of producing a plausible guess. Many are built on the same OpenAI models; the difference is what they are allowed to read.
- Does an AI chatbot learn from customer conversations?
- Usually not. A knowledge base chatbot is not retrained on your chats, and its knowledge base changes only when someone edits it. As of October 2026, PepoChat uses OpenAI models under standard API terms, under which OpenAI says API data is not used for training unless the customer opts in. The bot remembers the current conversation, and a returning visitor only through optional meeting memory after email verification.
- What documents can a knowledge base chatbot use?
- Most accept web pages and common document formats. As of October 2026, PepoChat takes a website crawl or sitemap import of up to 200 pages, PDF, Word, Markdown, HTML, TXT, CSV, JSON and image files of up to 25 MB each, synced Notion and Google Drive pages, text snippets, Q&A pairs and published Help Center articles. Scanned PDFs and images are read by a vision model.
- How often should I update the knowledge base?
- Update it the day a fact changes, and review it weekly against the conversations your bot escalated. As of October 2026, PepoChat re-fetches website pages every week and Notion and Google Drive pages daily, re-indexing only what changed, and Sync website pages refreshes at once. After a price or policy change, sync immediately instead of waiting for the schedule.
- Can a knowledge base chatbot take actions?
- Not on its own. A pure knowledge base chatbot only answers; looking up orders, booking meetings or opening tickets needs integrations. As of October 2026, PepoChat has 22 prebuilt actions across 13 providers, including Shopify order status and Stripe subscription checks, plus custom actions for any HTTPS endpoint. None moves money, and refunds or payments should stay with a person.
Try this on your own site in ten minutes
PepoChat includes every feature on the free plan — 200 AI replies and 5 knowledge sources a month, no credit card.
Keep reading
Chatbase vs PepoChat: Which AI Support Agent Fits Your Team in 2026?
An honest side-by-side of Chatbase and PepoChat on pricing, free plan or trial, sources, handoff, booking, actions, channels and voice, and a pick by team type.
Intercom Fin Pricing Explained, and What a Flat-Plan Alternative Costs
What Intercom Fin's $0.99 per outcome adds up to once you count resolutions and seats, with a worked 2,000-conversation example and when a flat plan wins.
