How an AI chatbot trained on your website works (and fails)

Website chatbots don't train a model on your pages: they search your text and answer from it. How that works, and how to fix each kind of wrong answer.

An AI chatbot trained on your website uses retrieval-augmented generation (RAG): it searches a stored copy of your pages for the passages that match a visitor's question, then has a language model write the answer from those passages. Nobody builds or fine-tunes an AI model on your site. It works in three steps:

  1. When you add a page, the tool copies its text, cuts it into short passages and stores them in a search index that matches by meaning, not exact words.
  2. When a visitor asks a question, the tool searches that index and pulls out the few passages closest to the question.
  3. A language model writes the reply from those passages, the visitor's question and a set of instructions from the tool.

"Training", in most of these tools, Laddu Chat included, means step 1: copying and indexing your text. Retraining means doing step 1 again.

The design explains nearly every wrong answer you'll see. The bot can only use text that (a) made it into the index and (b) came up in the search for that question. When an answer is wrong, the cause is almost always the text: the bot was given old, missing, unreadable or contradictory text. Swapping the AI model won't fix that. Fixing the text will.

We make Laddu Chat, so the fixes below use its screens. Competitor details come from their own documentation, checked on 20 November 2026, with links under Sources.

How does an AI chatbot trained on your website work?#

When you add a page, the tool fetches it, usually drops the menus and footers, and keeps the body text. It splits that text into passages of a paragraph or so. Each passage goes through an embedding model, which turns it into a long list of numbers that describes what the passage means. Passages about "call-out fees" and "how much do you charge for an emergency visit" end up with similar numbers even though they share no words. The numbers go into a vector index, a database built to find the nearest matches fast.

How a website chatbot answers: it searches a stored copy of your pages and writes the reply from the closest passages

When a visitor types a question, the question gets the same treatment. The index returns the handful of passages whose numbers sit closest to the question's. Those passages, the question and the tool's own instructions go to a language model, which writes the reply. Your pages are never read live during a chat. The bot answers from its stored copy.

That stored copy is a snapshot. Change your opening hours on the site and the bot keeps the old ones until that page is read again.

The handful of passages is the other constraint. The bot doesn't read your whole site before each reply. If the answer is spread across your pricing page, your terms and a booking policy, the search may surface one of them and miss the rest. If it's buried in a long page about something else, it may not surface at all.

And the model writes fluently whatever it's given. Hand it last year's price and you get last year's price, stated with full confidence. The tone of an answer tells you nothing about whether it's right.

So when a bot is wrong, fix the sources first. Settings come second.

Why does my chatbot give wrong answers? 7 causes and fixes#

Find the symptom, then jump to its section below for the exact Laddu Chat steps.

Seven reasons a website chatbot gives a wrong answer

What you seeLikely causeFix in Laddu Chat
Old prices, old hours, a discontinued productThe page changed after you added itURL Sources → Recrawl on that page → Retrain
"I don't have that specific detail" for something you know is on your siteThat page was never addedURL Sources → Add URLs → paste the page address → Process URLs
Nothing from your pricing calculator, booking widget or tabbed contentThe text only appears after scripts runPaste that text in as a text source
Answers that sound like your login screen, or nothing at allThe page is behind a loginExport the content as a PDF or paste it as text
Nothing from a menu, price list or brochure you uploadedThe PDF has no selectable textCheck the Processed Content tab; upload a text PDF or paste the text
Two different answers to the same question on different daysTwo sources disagreeDelete the old source, or correct it and refresh
Vague or generic answers to common questionsThe answer isn't written down anywhereText Sources → Add Text → write it as question-and-answer pairs

1. The page changed after you added it#

This is the most common cause on a site that's actually maintained. Laddu Chat doesn't refresh page sources automatically, so a page you added in March still says what it said in March.

Fix: Knowledge Base → URL Sources, find the page and click Recrawl. When that finishes, a Retrain button appears next to it. Click it, then ask the bot the question again.

Make it a habit: whoever edits the website also refreshes that page in the bot, in the same sitting. The date on each source card is the date you added it, not the date it was last refreshed, so don't rely on it to tell you what's current.

If nobody on the team will remember, put it on the monthly checklist: Recrawl and Retrain the pricing, hours and services pages whether or not you think they changed.

2. The answer is on a page you never added#

In Laddu Chat, each URL adds one page. There's no whole-site import and no sitemap import, so the bot knows exactly the pages you gave it and nothing else. People add the home page and the services page, then wonder why the bot doesn't know the returns policy.

Fix: Knowledge Base → URL Sources → Add URLs, paste the page address and click Process URLs. You can add several URLs in one go.

Before you add anything, write down the 20 questions your business actually gets, and next to each one note which page answers it. Then add those pages. You'll usually find a few questions that no page answers. Those belong in cause 7.

3. The text only appears after scripts run#

Some content isn't in the page when it loads. Scripts fetch it or build it afterwards:

  • pricing calculators and plan toggles,
  • booking and scheduling widgets embedded from another service,
  • reviews widgets,
  • tabs and accordions that load their content when clicked,
  • whole sites built as single-page apps.

There are two ways to read a page. A plain fetch downloads the HTML the server sends, which for a script-built page can be little more than an empty container. A headless browser loads the page like a visitor's browser would, runs the scripts, then copies the text. That gets more, but still misses content that waits for a click, and a booking widget embedded from another service is a separate page in an iframe, so its text was never on your page to begin with. In Laddu Chat, URL Sources shows each page's status and any error, but not the text it pulled out, so check with one question: ask for something that only that widget or tab shows, such as the price of your middle plan. A specific right answer means the text came through.

Fix: if the bot misses it, copy the text yourself and add it under Knowledge Base → Text Sources → Add Text. For a calculator, write out the actual numbers: Website care plan: $40/month for up to 5 pages, $75/month for up to 20 pages. A sentence like that answers the question better than the calculator ever did.

4. The page is behind a login#

Client portals, members' areas, password-protected pages, a staging site with a password on it: Laddu Chat has nowhere to enter a login for a page source. It gets what a logged-out visitor gets, which is usually the login form.

Fix: export the content as a PDF and upload it under PDF Sources, or paste it under Text Sources.

Before you do, ask whether it should be in a public bot at all. The bot will tell any visitor anything that's in its sources. Member pricing, internal procedures and anything with customer details should stay out.

5. The PDF has no selectable text#

A scanned price list or a brochure exported as images looks fine to you but may have no selectable text. Open it and try to highlight a sentence. If you can't, the bot may get nothing from it; check the Processed Content tab.

Fix: after you upload a file in Knowledge Base → PDF Sources, open the Processed Content tab. It shows the text pulled out of each file, and you can edit it before it goes into the bot. Empty or garbled text means the PDF is the problem. Export a text version from the original file, or paste the important parts as a text source. Use PDFs with selectable text. Our guide to setting up a chatbot that answers from PDFs covers the size limits by tool and how to check tables.

6. Two sources disagree#

You updated the pricing page but forgot the 2025 blog post announcing the old prices. Or the 2026 menu PDF is still uploaded next to the 2027 one. The search returns whichever passages best match the question's wording, not the newest ones, so the bot may quote either version, and it can switch from one chat to the next.

Fix: remove the old copy. On the source card, click Delete. If the old page has to stay on your site, correct it there, then Recrawl and Retrain it. For facts that change, like prices, hours and fees, keep one text source that states the current version with a date: Prices from 1 January 2027: .... When you read a wrong answer in the transcripts later, the date tells you which version the bot used.

7. The answer isn't written down anywhere#

"Do you work weekends?" "Is there parking?" "How fast do you reply to quotes?" Whoever answers the phone hears these every day, and the website never mentions them. The bot can't answer what isn't written. In Laddu Chat it says it doesn't have that detail and points the visitor to your Support Email, which is the right behaviour, but it's still a lost answer. Write those answers into a text source.

If you're building the bot for a client, ask whoever answers their phone for the ten questions they hear most, with the answers. That list beats anything on the client's website.

Vague text is the milder version. If your page says "prices vary by project", the bot will say prices vary by project.

Fix: Knowledge Base → Text Sources → Add Text. Write the answers as short question-and-answer pairs, with the real numbers:

Do you work weekends? Saturdays 9am to 1pm for emergencies only, with a $90 call-out fee. Closed Sundays.

How fast do you reply to quote requests? Within one working day.

A text source holds up to 100,000 characters. To change one later, click View Content, edit it, and click Update and Retrain.

What about the bot's instructions?#

Along with your passages, every tool sends the model a hidden set of instructions. They tell it which business it speaks for and what to do when the passages don't cover the question. In some tools you can edit them.

Laddu Chat doesn't have a custom-instructions box. The Configure tab is where you set the Chatbot Name, Support Email, Welcome Message, Suggested Questions and Lead Collection fields. One of those affects answers more than people expect, and one does two jobs:

  • Chatbot Name. The bot uses this as the name of the business it works for. Call it "Harbour Plumbing", not "Test bot 2", or the bot will tell your visitors it works for Test bot 2.
  • Support Email. Lead emails go here, and the bot also gives it to visitors. When the sources don't cover a question, the bot says so instead of guessing and points visitors to this address, or offers to take their details if lead fields are on. Without a valid Support Email, it just tells them to contact your team directly, with no address. There's no live chat or human handoff, so set it and test that the bot shows it.

For a rule like "never quote a price, send people to the booking page", write it as an answer in a text source: "How much does a job cost? We quote every job individually after a site visit. Book one at /book." When a visitor asks about price, that passage is the one the search should return, and the bot answers with it. It's a workaround, not a guarantee: a rule in a text source only applies when the search pulls it up, so test it with a few different price questions. Laddu Chat doesn't have an instructions box that applies to every answer. Tools that do, such as Chatbase, give you firmer control here.

What should you add first?#

Start small and test. A bot with ten good sources beats one with a hundred unchecked pages.

  • Contact page, with phone, email, address and opening hours in plain text.
  • Pricing page, or a text source with your real prices if the page uses a calculator.
  • Services or products page, one URL per main service if you have them.
  • Policies: returns, cancellations, deposits, delivery.
  • Your FAQ page, if you have one.
  • A text source of unwritten answers: weekends, parking, response times, areas you cover, what you don't do.
  • PDFs people already ask for: menu, price list, manual. Check each one in Processed Content.

Then test. Ask the bot your 20 questions in your customers' words, and mark each answer right, wrong or vague. Every wrong one maps to a row in the table above. Fix the source, refresh it, ask again.

After launch, open Insights → Conversations and Analytics once a week. You can read every conversation and see today's or the last 7 days' activity, on all plans. Declined questions, thumbs-down answers and questions asked three different ways are your to-do list.

100 free credits, no card; paid plans start at $20 a month. Each answer uses one credit, so you can run the 20-question test several times over. Create a free Laddu Chat account and add your first five pages. Building for clients? Start with one client's site and run the same test before you show it to them.

When the answers are right, put the widget on the site: see how to add an AI chatbot to WordPress or add an AI chatbot to Webflow.

What can't a website chatbot do?#

It can't look anything up live. Stock levels, tonight's free tables and where an order is all change faster than any index, and the bot answers from whatever the page said when it was last read. Those questions belong with the system that holds the live data, so give the bot a line that sends people there.

It shouldn't price custom work. Ask "what would a kitchen rewire cost?" and, with loose wording on the services page, a model may produce a number. Add a text source that says you quote after a site visit and how to book one, and the bot will say that instead.

Even clean sources leave gaps. Spend ten minutes a week in Insights → Conversations, find the chats where the bot said it didn't have the detail instead of answering, and write those answers into a text source.

Laddu Chat also has limits of its own, today:

  • No automatic refresh. Page sources change only when you click Recrawl and Retrain.
  • One page per URL. No whole-site or sitemap import, so a 200-page site takes a while to add.
  • No view of the text pulled from a web page, so you check page sources by asking questions.
  • No custom instructions, no Q&A source type and no live chat handoff.
  • Scanned PDFs: use PDFs with selectable text. We don't promise scans will work.

Who it fits: freelancers and small agencies putting a bot on brochure sites for local businesses, where a few dozen pages cover what customers ask and someone already updates the site. Refreshing the changed pages becomes part of that update.

Where another tool fits better: if pages must refresh on a schedule with nobody clicking anything, Chatbase's Auto-resync re-reads websites weekly on its Basic, Business, Enterprise and legacy Pro plans. If the bot must answer from logged-in pages, Chatbase's Private links sign in to them on Business, Enterprise and legacy Pro. Chatbase also lets you edit the bot's instructions.

Sources#

  • Chatbase, "Train your AI agent on your website, files, and data": website sources with page discovery and sitemaps, Resync now, weekly Auto-resync on Basic, Business, Enterprise and legacy Pro plans, Private links for pages behind a login on Business, Enterprise and legacy Pro plans, a Q&A source type, and instructions that take effect when you click Publish. "Scanned PDFs with no text layer cannot be trained on." https://www.chatbase.co/docs/user-guides/chatbot/data-sources (checked 20 November 2026)
  • WPShout, "AI Chatbot Trained on Your WordPress Content: Setup Guide (RAG Explained)", 14 August 2026: a plain-English explanation of retrieval-augmented generation ("nobody fine-tunes a model on your blog"). https://wpshout.com/ai-chatbot-trained-on-wordpress-content/ (checked 20 November 2026)
  • Laddu Chat screens and labels (URL Sources, PDF Sources, Text Sources, Add URLs, Process URLs, Recrawl, Retrain, Delete, Processed Content, View Content, Update and Retrain, Configure, Conversations), source and PDF limits, refresh steps, lead emails, conversations and plans: Laddu Chat product facts, verified against the product code on 6, 8 and 20 November 2026. The fallback reply and the Support Email's role: Laddu Chat product facts, verified against the product code on 29 November 2026. Live plans: /pricing

Frequently asked questions#

Does an AI chatbot learn from my website?

Not in the sense of training a new AI model. When you add a page, the tool copies the page's text, cuts it into short passages and indexes them by meaning. When a visitor asks something, the tool finds the few passages closest to the question and hands them to a language model, which writes the answer. Most tools still call this indexing step training. That's why fixing a wrong answer means fixing or replacing your text, not retraining a model.

Why does my website chatbot give wrong answers?

Usually because of the text it was given, not the AI. The common causes: the page changed after you added it, the answer is on a page you never added, the text sits behind a login or only appears after scripts run, a PDF has no selectable text, two sources disagree, or the answer isn't written down anywhere. Each one has a specific fix, listed in the table in this article.

Does the chatbot update automatically when I change my website?

That depends on the tool. Laddu Chat doesn't refresh pages on its own: after you edit a page, open URL Sources, click Recrawl on that page, then click Retrain. Chatbase re-reads websites every week on its Basic, Business, Enterprise and legacy Pro plans. Whichever tool you use, re-ask your test questions after you change a page.

Can a website chatbot read my pricing calculator or booking widget?

Sometimes. That content is built by scripts after the page loads, and whether a chatbot tool picks it up depends on the tool and the site. Test it by asking for something only the widget shows, such as one specific price. If the answer is wrong or missing, type the numbers into a text source instead, for example 'Care plan: $40 a month for up to 5 pages.'

Can a website chatbot read pages behind a login?

Laddu Chat can't: there's nowhere to give it a login for a page source, so a members-only page usually comes back as the login form. Export the content as a PDF or paste it into a text source instead, and only do that for content you're happy for any visitor to read, because the bot will repeat it to anyone. Chatbase can sign in to private pages on its Business, Enterprise and legacy Pro plans.

How do I find out what my chatbot is getting wrong?

Read the conversations. In Laddu Chat, Insights → Conversations shows every chat transcript, and Analytics shows today's or the last 7 days' activity with thumbs feedback, on all plans. Questions the bot declined, vague answers and thumbs-down replies show you which source to fix or which answer to write.

What do the 100 free credits cover?

100 free credits, no card; paid plans start at $20 a month. Each answer the bot gives uses one credit, so 100 credits covers the 20-question test in this article several times over.