Chatbots
Chatbots are the most common AI product pattern — but building one that is actually useful requires understanding the design decisions behind it. This section covers the different types of chatbots, how to manage state and memory across turns, when to retrieve vs generate, and how to measure whether your chatbot is working.
In This Section
FAQ vs Task vs Copilot Bots
The three chatbot archetypes, their different architectures, and how to choose the right one for your use case.
State & Memory Management
How to maintain context across a conversation — short-term window management, long-term memory, and summarization strategies.
Retrieval vs Generation
When to retrieve a pre-written answer vs generate one — and the hybrid patterns that combine both for best results.
Chatbot Evaluation
How to measure whether your chatbot is actually working — metrics, test sets, and evaluation without a ground truth label for every response.