Start Here
Not all chatbots are able to satisfy their users. For example, here is a March 2021 survey on the state of chatbots.
On this page, I provide a list of tips and recommendations which will help you build bots which work and improve your chances of success.
The checklist under “Conversation Design” is the most important. The others are not necessary, but will still significantly improve your chatbot accuracy and ease of maintenance.
Applies to Dialogflow ES? | Applies to Dialogflow CX? | |
Conversation Design | ||
Design a conversation flowchart using Mindomo | Yes | Yes |
Avoid slot filling | Yes | No |
Minimize context lifespan | Yes | No |
Minimize candidate intents at each step | Yes | No |
Avoid entity overuse | Yes | Yes |
Use wildcard entity carefully | Yes | Yes |
Features to use and to avoid | ||
Avoid the knowledge connectors feature | Yes | No |
Don’t directly add a user utterance from the Training dialog into an intent | Yes | No |
Learn about Regex Entities | Yes | Yes |
Construct JSON inline (instead of using the fulfillment library) | Yes | Yes |
Use direct API calls (instead of client library) | Yes | Yes |
Use versioning | Yes | Yes |
Improve Bot Accuracy | ||
Audit entity annotation | Yes | Yes |
Design your intents to maximize cohesion and separation | Yes | Yes |
Auto-generate test scripts from your training phrases | Yes | Yes |
Set up automated conversation testing | Yes | Included |
Add true positives and true negatives into your test script | Yes | Yes |
Download ES conversation logs to audit your bot | Yes | No |
Download CX conversation logs to audit your bot | No | Yes |
Learn the basics of NLU | Yes | Yes |
Learn spaCy | Yes | Yes |
<— End of article —>
This website contains affiliate links. See the disclosure page for more details.
"The magic key I needed as a non-programmer" The custom payload generator was the magic key I needed (as a non-programmer) to build a good demo with rich responses in DialogFlow Messenger. I've only used it for 30 minutes and am thrilled. I've spent hours trying to figure out some of the intricacies of DialogFlow on my own. Over and over, I kept coming back to Aravind's tutorials available on-line. I trust the other functionalities I learn to use in the app will save me additional time and heartburn. - Kathleen R Cofounder, gathrHealth
"Much clearer than the official documentation to be honest" Thanks a lot for the advice (of buying and following your videos)! They helped a lot indeed. Everything is very clear when you explain, much clearer than the official documentation to be honest 🙂 Neuraz T Review for Learn Dialogflow CX
"I will strongly recommend this course because even I can learn how to design chatbot (no programming background)" I think Aravind really did a great job to introduce dialogflow to people like me, without programming background. He organizes his course in very clear manner since I have been a college professor for 20 years. It is very easy for me to recognize how great Aravind’s course is! Very use-friend and very easy to follow. He doesn’t have any strong accent when he gives the lectures. It is so easy for me to understand. Really appreciate it. Yes, I will strongly recommend this course because even I can learn how to design chatbot (no programming background) after studying Avarind’s course, you definitely can! Ann Cai Review for Learn Dialogflow ES