Create and improve conversational AI with the latest patterns, best practices, and tools, including generative AI models.
Conversational AI (CAI) tools are built to solve problems, but all-too-often they just end up causing pain for users–and developers! Effective Conversational AI reveals best practices and industry-tested techniques for creating chatbots and conversational AI tools that are reliable at an enterprise scale. With the tested ideas and examples in this book, you’ll learn to build chatbots that your customers and colleagues will actually want to use!
In Effective Conversational AI you’ll learn how to:
Create high-quality chatbots and other conversational AI experiences
Plan for continuous improvement
Incorporate generative AI solutions to improve quality, accuracy, and usability
Evaluate user experience and business results
Effective Conversational AI introduces continuous improvement practices that are vital for the constant betterment and evolution of chatbots and CAI tools. It introduces the three most-common forms of chatbot—Q&A, process-oriented, and routing agents—and presents a reliable framework for continuously improving each one. Using modern generative AI and tried-and-tested classic approaches, you’ll learn to deliver high performance chatbots that can guide a customer through complex end-to-end tasks—no human required!
What's inside
Blend Generative AI and conventional chatbot tools
Use LLMs to improve quality, accuracy, and usability
Plan for continuous improvement
Domain-specific responses using RAG
About the reader
For developers, engineers, and product managers working with conversational AI.
AI Reading Assistant
Whole-book reading guide from stratified index samples; jump to passages in the text
Tip the Site
Support this siteYour recognition and a small knowledge-service contribution help keep this technical work open source.Scan the WeChat Pay or Alipay code below. Logged-in and guest visitors can both tip.
WeChat Pay
Alipay
Open WeChat or Alipay and scan. No login required.
AI guide
# Effective Conversational AI: Chatbots that work — Reading Guide
## 【One-Line Pitch】
A practical, pattern-based playbook for building and continuously improving enterprise-grade chatbots—blending classic conversational AI techniques with modern generative AI—for developers, engineers, and product managers who want chatbots that actually solve user problems rather than frustrate them.
## 【Book Arc】
- **Opening (~0%–9%)**: Sets the stage with the core promise—conversational AI tools are built to solve problems but often fail—and introduces the book's structure: three chatbot archetypes (Q&A, process-oriented, routing agents) and a continuous improvement framework. Includes practical notes on code availability, GitHub resources, and the liveBook forum.
- **Early (~9%–25%)**: Dives into what makes conversational AI work: identifying and minimizing risks, assessing where generative AI can help, and using LLMs safely. Covers user pain-point analysis (e.g., password reset flows), LLM selection dos and don'ts, and the importance of measuring against business outcomes like customer satisfaction and cost reduction.
- **Early (~25%–34%)**: Walks through building an FAQ bot (the "CakeBot" example) step by step—from configuring fallback actions and human-agent handoffs to evolving static responses into dynamic ones (e.g., store hours that vary by location) and integrating LLM calls for recipe generation.
- **Middle (~38%–47%)**: Shifts to the continuous improvement mindset: assembling cross-functional teams (developers, call-center agents, data analysts), categorizing conversation outcomes, defining milestones for happy paths, and using analytics dashboards to identify failure points and drive iterative refinement.
## 【Key Takeaways】
- **Start with user pain points, not technology** (Early): Before building, ask what users need, what information they have, and how they express themselves—then design the bot to extract meaning, call APIs, and collect the right data. This user-first framing prevents building solutions nobody wants.
- **Choose LLMs by task, not hype** (Early): Don't pick a model because it performed well on an unrelated task; experiment with multiple models (e.g., Flan-UL2 for generalist tasks, MPT-7B-Instruct for instruction following) and test on multiple inputs before trusting a configuration. Model selection is task-dependent and probabilistic.
- **Measure against business outcomes, not just usage** (Early): Track metrics like containment rate, average handle time, human touches, and net promoter score—not just conversation counts. Stakeholders invested in CAI want business results, and trends matter as much as current performance.
- **Design fallbacks that fail gracefully** (Early): Configure "no action matches" responses to limit user frustration—e.g., reduce the retry threshold from 3 to 1 before deflecting to a human agent. Most platforms offer no-code/low-code human handoff; the conversational design around it is what matters.
- **Evolve static responses into dynamic ones** (Early): When a single answer no longer fits all cases (e.g., store hours varying by location), add clarifying questions and flow diagrams to guide users to the right answer—ambiguity should be resolved before answering.
- **Build a cross-functional improvement team** (Middle): Developers, call-center agents, and data analysts each bring unique insights—agents know user pain points, analysts can categorize failures by last task attempted, and developers can implement fixes. Small teams may combine roles, but all three perspectives are needed.
- **Use a detailed outcome model with milestones** (Middle): Define success milestones for each happy path (e.g., "Schedule appointment," "Help with anything else?") and categorize conversations by outcome—immediate escalation, successful completion, or failure—to pinpoint where the bot breaks down and prioritize fixes.
## 【Reading Tips】
- **Skim the code-heavy sections** (Early, ~25%–34%): The CakeBot walkthrough includes platform-specific configuration details (watsonx Assistant). If you're not using that platform, focus on the conversational design patterns and sample dialogues rather than the exact clicks.
- **Deep-read the LLM selection guidance** (Early, ~9%–19%): The dos and don'ts table for choosing models, testing prompts, and handling probabilistic outputs is broadly applicable regardless of which LLM you use—worth internalizing.
- **Pay attention to the PharmaBot case study** (Middle, ~38%–47%): The cross-functional team example and outcome-model design are the book's most transferable frameworks. Even if the healthcare domain isn't yours, the process of categorizing failures and defining milestones applies to any chatbot.
- **Use the exercises**: Each chapter includes practice exercises—try them with your own use case rather than just reading through. The GitHub repository has working code and prompts to experiment with.
- **Expect model drift**: The authors note that LLMs are fast-moving and probabilistic—your results may differ from the book's examples. Treat the prompts as starting points, not guaranteed outputs.
## 【Coverage Limits】
This guide covers the book's core themes—building FAQ bots, integrating generative AI, and planning continuous improvement—based on excerpts through ~47% of the book. Later chapters (context handling, adaptive experiences, advanced patterns) are not covered here; the excerpts do not include material on those topics.
##
Excerpt 1
Jacobs Enikő Rózsa Foreword by Jesús Mantas M A N N I N G Andrew: Thank you to my wife Elise and kids Greg and Jeff for supporting me in writing another bo...
dif- ferent prompts, parameters, or models in your use case. By the time you read this book, a completely new set of models may be available for use! For ea...
eate a flow diagram and sample conversations when your con- versation has dynamism. Some of your team members will prefer the diagrams, others the conversati...
Bot: "Great! Please hold for a moment while I transfer you to a human agent who can provide personalized assistance. Your health is our top priority." Pha...
nforcement, and the opportunity to acquire new skills. 4.1.2 What causes weak understanding? These are the most common reasons a chatbot will exhibit a decl...
er is not currently trained on? A misalignment between what your users expect to be able to ask and what your classifier is trained to recognize con- tribute...
ot_Received show an improved F1 score. Number of Number of Intent Recall Precision F1 score samples predictions Item_Not_Received—V3 16 9 0.4375 0.7777 0.56...
ata, thus enhancing the bot’s credi- bility and reliability. Additionally, RAG expands the versatility of conversational AI sys- tems by enabling them to han...
Support this siteYour recognition and a small knowledge-service contribution help keep this technical work open source.
Scan the WeChat Pay or Alipay code below. Logged-in and guest visitors can both tip.
WeChat PayAlipay
Open WeChat or Alipay and scan. No login required.
Add Tag
Enter tag name (max 50 characters)
Share E-Book
Effective Conversational AI Chatbots that work (Andrew Freed, Cari Jacobs, Enikő Rózsa) (Z-Library)
Scan QR code with your phone to access
Copy the link or scan the QR code to access this e-book on your phone
Share E-Book via Email
Please enter email address
Donation Statistics
¥.00
Total Donations
0
Donation Count
Effective Conversational AI Chatbots that work (Andrew Freed, Cari Jacobs, Enikő Rózsa) (Z-Library)
Find Your Favorite Books
Only registered users can comment after logging in. Comments need to be reviewed by administrators before being displayed
Loading comments...
Reply to Comment
Edit Comment