In a previous series, I talked about the C = T + F + S formula for analyzing your Dialogflow chatbot.
As a quick reminder:
C = Candidate intents
T = Target intents
F = Fallback intents
S = Surplus Intents
An intent without an input context is always a candidate
If you remember from previous discussions, an intent which doesn’t have an input context set is always a candidate intent at every step in the conversation.
Let us call these entry intents. (E)
An intent which does have an input context set is only a candidate if that context is active at that point in the conversation.
Let us call these non-entry intents. (N)
Breaking down surplus intents into E and N type intents
In my definition, surplus intents are candidates that you don’t want to fire at a given point in the conversation.
Now entry intents, by their very nature, are going to remain the same through the whole conversation. That is, all entry intents are surplus at every step (except the very first step, when they are the target intents) in the conversation.
However, non-entry intents are those which are somehow active and shouldn’t really be.
In the case of the example from the CTFS series, the followup intent which fires unexpectedly is an example of a non-entry (N) surplus intent.
A good example is when you fill your entire agent with the default context lifespan of 5. Now if you use the CTFS formula at each step, you will notice that you have plenty of non-entry surplus intents.
Now, obviously we need entry intents. Otherwise, how will the user even start the conversation?
Your goal should be to define sensible entry intents and avoid non-entry surplus intents.
I am planning to create a tool which will help you analyze your bot using the CTFS framework. This will make it much clearer how you can use the ideas presented here to make your bot work as you expect.
<— 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