Zubnet AI学习Wiki › Chatbot
Using AI

Chatbot

AI Assistant, Conversational AI
一个让你通过对话与 AI 模型交互的软件界面。现代 AI 聊天机器人(Claude、ChatGPT、Gemini)由大语言模型驱动,能处理开放式对话、回答问题、写代码、分析图像、使用工具。不像过去基于规则、按决策树走的聊天机器人,LLM 驱动的聊天机器人根据完整的对话上下文动态生成响应。

为什么重要

聊天机器人是大多数人与 AI 交互的主要方式。它们是 LLM 的消费界面,理解它们如何工作 — 对话历史、system prompt、上下文窗口、token 限制 — 能帮你更有效地使用它们。聊天机器人不是模型;它是建在模型之上的产品,有自己关于记忆、安全、能力的设计选择。

Deep Dive

A chatbot maintains a conversation history: a sequence of messages alternating between user and assistant, often prefixed by a system message. Each time you send a message, the entire conversation history is sent to the model as context. The model generates a response conditioned on this full history. This is why chatbots seem to "remember" earlier parts of the conversation — they're re-reading it every time.

Memory Is an Illusion

The "memory" of a chatbot is bounded by its context window. Once the conversation exceeds the context limit, earlier messages must be dropped or summarized. The chatbot doesn't truly remember — it re-reads the transcript. Some chatbots implement persistent memory by storing key facts in a separate database and injecting them into the system prompt, giving the appearance of long-term memory across conversations. But the model itself has no state between API calls.

The Product Layer

What separates a chatbot from a raw API call is the product layer: the UI design, the conversation management, the safety filters, the model routing (some chatbots use different models for different tasks), tool integrations (web search, code execution, file analysis), and the system prompt that defines the assistant's personality and capabilities. Two chatbots using the same underlying model can feel completely different because of their product layer choices.

相关概念

← 所有术语
← Chain of Thought Chatbot Arena →