Building apps

What is an AI chatbot?

An AI chatbot is a conversational interface powered by a language model, which understands questions phrased in any way and answers in natural language rather than following a scripted decision tree.

New to Bolt? Sign up free.

Technical definition

An AI chatbot uses a language model to interpret user input and generate responses, in contrast to rule-based bots that match keywords against a predefined flow.

A production chatbot usually combines the model with retrieval, so answers are grounded in the business's own documentation and data rather than the model's training. A system prompt sets scope and tone, and an escalation path hands the conversation to a human when the bot cannot help.

In plain terms

An AI chatbot answers questions in your own words rather than making you pick from a menu.

The older kind matched keywords and offered four options, which is why customers learned to skip straight to asking for a human.

Why it matters

A chatbot is the most common first AI feature a small business ships, and the difference between a useful one and an infuriating one comes down to a few decisions rather than the model.

Ground it in your own content. A bot answering from the model's general knowledge will confidently invent your return policy, your hours, and your prices. One answering from your documentation will not, and that difference is the whole product.

Give it a visible way out. The complaint people have about chatbots is not that they exist; it is being trapped in one. An obvious path to a human, offered early, makes customers tolerate the bot for the questions it can handle.

And narrow the scope on purpose. A bot that answers questions about your services well is better than one that attempts everything and is wrong a fifth of the time.

One security note if the bot can do more than answer. Anything with database access or the ability to take actions needs narrow permissions, because a chatbot reading customer input is exposed to prompt injection: instructions written into a message and aimed at the model.