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 →