What is an AI chatbot?
An AI chatbot is a program you talk to in ordinary language. You type or say a question, and it answers in sentences instead of returning a list of links or a menu. General assistants such as ChatGPT, Claude, Gemini and Copilot are AI chatbots. So is the help widget on a software company's site, if it is built on a language model.
How do AI chatbots work?
A modern chatbot sends your message, together with the conversation so far and a set of standing instructions, to a large language model. The model generates a reply one token at a time. Three additions make a chatbot useful for a business:
- Standing instructions. A system prompt that sets the role, the tone and the limits.
- Knowledge. Retrieval from help articles, policies or product data, so that answers come from the company's own material.
- Tools. Connections that let the bot look up an order, book a meeting or open a ticket.
Rule-based chatbot vs AI chatbot
| Rule-based chatbot | AI chatbot | |
|---|---|---|
| How it answers | Follows a scripted decision tree | Generates a reply from a language model |
| Handles unexpected wording | Poorly | Well |
| Predictability | High: it says only what was scripted | Lower: needs testing and guardrails |
| Setup | Write every path by hand | Supply instructions and knowledge |
| Typical failure | "Sorry, I did not understand" | A confident wrong answer |
Many deployments mix the two: scripted flows for steps that must be exact, such as identity checks, and a model for everything else.
What are AI chatbots used for?
The common uses are customer support, answering pre-sales questions on a website, qualifying leads and booking meetings, internal help for HR and IT questions, and general drafting and research. The line between a chatbot and an AI agent is autonomy. A chatbot replies to each message. An agent is given a goal and takes several steps on its own.
How do you measure a chatbot?
Measure whether problems were solved, not how many conversations happened. Useful numbers are the resolution rate without a human, the escalation rate, customer satisfaction after the chat and the share of answers a reviewer marks as correct in a weekly sample.