Adding an AI chatbot to a business website without made-up answers
An AI chatbot for a business website is a chat window backed by a large language model (LLM) that answers visitors' questions from your own pages, products and policies. The model writes the reply; your content decides what is true. Most chatbots that embarrass their owners skip the second half.
What does a website chatbot need to work well?
- A source of truth: your service pages, price lists, FAQs, policies and product data, kept current.
- Retrieval: for each question, the system finds the few passages that answer it and gives only those to the model.
- A refusal rule: when nothing relevant is found, the bot says so and offers a person, instead of guessing.
- A hand-over: email, WhatsApp or a contact form, with the conversation attached.
- Logs: every question and answer stored, so you can see what people ask and where the bot was wrong.
Why do chatbots make things up?
An LLM predicts plausible text. Asked about your refund policy with no policy in front of it, it writes a plausible refund policy. The fix is retrieval-augmented generation (RAG): fetch the real policy first, put it in the prompt, and instruct the model to answer only from that text and to quote it.
How long does it take to launch one?
A first version that answers from a website and a set of FAQs is usually a matter of weeks, not months. Most of the time goes into the content: finding the questions customers really ask, writing clear answers for the ones the site does not cover, and testing the bot against them.
What to measure after launch
- Share of conversations the bot answered without hand-over.
- Questions with no matching source: each one is a page or FAQ you should write.
- Answers a person corrected, reviewed weekly for the first month.
- Cost per conversation, which depends on the model and how much context each answer sends.
Website chat, WhatsApp or both?
The same engine can sit behind both. In Pakistan and much of the Gulf, customers often prefer WhatsApp; in Europe, website chat and email are more common. Start where your customers already write to you.
Questions people ask
- Can an AI chatbot answer from my website content only?
- Yes. With retrieval-augmented generation the bot looks up the relevant passages from your site or documents for every question and is instructed to answer only from them, saying it does not know otherwise.
- Which AI model is best for a website chatbot?
- Claude, GPT and Gemini all work well. The choice depends on answer quality for your questions, speed and cost per conversation; a good build keeps the model swappable.
- Can CodeAxis build an AI chatbot for WhatsApp?
- Yes. We connect chatbots to the WhatsApp Business Platform and to website chat, with hand-over to a person and a log of every conversation.