# What is an AI chatbot?

> An AI chatbot is software you talk to in everyday language, powered by a language model. Learn how it works, how it differs from older bots, and its limits.

URL: https://www.jalkarna.in/based/learn/what-is-an-ai-chatbot/  
Last updated: 2026-11-16

An AI chatbot is a program you converse with in everyday language, typically powered by a [large language model](https://www.jalkarna.in/based/learn/what-is-a-large-language-model/). It reads your message, uses the recent conversation as context, and generates a reply that fits, rather than picking from a fixed list of canned answers.

You will find AI chatbots in customer support, search tools, apps, and community platforms such as Discord.

## How does an AI chatbot work?

At a high level, each reply goes through these steps:

1. You send a message.
2. The app gathers the relevant text: your message, earlier messages in the conversation, and any instructions the developer set, such as tone or topics to avoid.
3. That text is sent to a language model, which generates a reply one token at a time.
4. The app shows you the reply, and the conversation continues.

The model itself does not remember past chats. The app creates the sense of continuity by re-supplying recent messages each time, within the model's [context window](https://www.jalkarna.in/based/learn/what-is-a-context-window/), and sometimes by adding [stored memory](https://www.jalkarna.in/based/learn/what-is-ai-memory/).

## AI chatbot vs rule-based chatbot

| | Rule-based chatbot | AI chatbot |
|---|---|---|
| How it answers | Matches keywords to scripted replies | Generates replies from a language model |
| Flexibility | Breaks on unexpected wording | Handles varied phrasing |
| Predictability | Very predictable | Can vary between runs |
| Risk | Gets stuck or loops | Can state wrong things confidently |

Older bots with menus and scripted flows still have a place when answers must be exact. AI chatbots shine when questions are open-ended.

## What can AI chatbots do?

- Answer questions and explain concepts.
- Summarize text or conversations.
- Help draft, rewrite, or translate writing.
- Brainstorm ideas.
- Walk through code or troubleshoot problems.

## What are their limitations?

- **Hallucinations.** They may invent details. See [what are AI hallucinations](https://www.jalkarna.in/based/learn/what-are-ai-hallucinations/).
- **Limited context.** They can only consider so much text at once.
- **No real-world awareness.** Unless connected to other tools, they only know their training data and what you tell them.
- **Wording sensitivity.** Clear requests get better answers. See [how to write good prompts](https://www.jalkarna.in/based/learn/how-to-write-good-prompts/).

## Common mistakes people make

- Trusting a single answer on a medical, legal, or financial question without checking a reliable source.
- Sharing passwords or other sensitive personal information in a chat.
- Assuming the bot remembers a conversation it was never given.

For a general definition, see [Wikipedia on chatbots](https://en.wikipedia.org/wiki/Chatbot).

## Using an AI chatbot on Discord with Based

Based is an AI chatbot for Discord. In a server, you mention Based or reply to one of its messages to start a conversation, and DMs work too. There is no separate chat command. You can attach an image to a mention, reply, or DM to ask about it. Server staff can also optionally turn on automatic replies, which are off by default, using `/autoreply`. Every slash command also works with the "." prefix, such as `.autoreply`.

Based reads a bounded window of recent messages for context, by default 40 messages and 12,000 characters, and nothing is archived. See the [AI chat docs](https://www.jalkarna.in/based/docs/ai-chat/), the [AI chat feature page](https://www.jalkarna.in/based/features/ai-chat/), or [invite Based](https://www.jalkarna.in/based/invite/).

## FAQ

### What is an AI chatbot?

It is a program that holds a conversation in plain language by generating replies with a language model, instead of following a fixed script.

### How is an AI chatbot different from a regular chatbot?

A regular chatbot matches keywords to prewritten answers. An AI chatbot generates its replies, so it copes with more varied questions but can also make mistakes.

### Does an AI chatbot remember me?

Not by itself. The app re-sends recent messages for context, and some apps add optional stored memory on top.

### Can an AI chatbot be wrong?

Yes. It can produce fluent but incorrect answers, so verify important information.

## Related
- [What is a large language model (LLM)?](https://www.jalkarna.in/based/learn/what-is-a-large-language-model/)
- [What is a context window in AI?](https://www.jalkarna.in/based/learn/what-is-a-context-window/)
- [What is AI memory?](https://www.jalkarna.in/based/learn/what-is-ai-memory/)
- [What are AI hallucinations?](https://www.jalkarna.in/based/learn/what-are-ai-hallucinations/)
- [How to write good AI prompts](https://www.jalkarna.in/based/learn/how-to-write-good-prompts/)
