If you have used Dialogflow’s system entities for name recognition, you know that they are not very good yet when it comes to non-English names. I saw a post related to this recently. It looks like some people are not aware of an important feature of Dialogflow. You can actually extend a system entity – so you can use all the values it already has, plus the new values you wish it could handle (a very good example is first names). Here is how you can do it:
In this, the 10th in the series of “Must Know Dialogflow Features”, we take a look at something which is not exactly a feature but is still something very useful to know about. Dialogflow Templates are prebuilt Dialogflow agents which also come with the associated plumbing code (i.e. webhooks) and help you start with fully functional chatbots which concentrate on specific tasks. Unlike the prebuilt agents you already see inside the console, these also have webhooks which have been programmed (using Cloud Functions for Firebase). This means they already contain the necessary business logic. Here are some sample chatbots on Dialogflow’s website. All the bots which have the “Add to Dialogflow” button on the right can be imported into Dialogflow […]
This is the 9th in a series of posts “Must Know Features of Dialogflow”. Here we take a look at the wildcard entity. Before you read this post, please spend a few minutes familiarizing yourself with what the template mode is and how it works. We will use the wildcard entity in template mode, and we declare training phrases which include the wildcard. The wildcard entity allows us to match anything the user types and store it into an entity value. Some uses of the wildcard entity: when you need to handle entities not supported by Dialogflow (e.g. ISBN numbers), you can collect the entire input using the wildcard entity and extract the number using regex in your webhook I […]
In this 8th of the series of posts called “Must Know Features of Dialogflow”, we take a look at the Machine Learning (ML) threshold. The ML Threshold is a decimal value ranging from 0 to 1 that you can use to tune the accuracy of your Dialogflow chatbot. To set this value, go to Settings > ML Settings. The key is: the higher the value of the ML threshold you use, the more closely the user’s words have to match your training phrases the lower the value of the ML threshold, the more leeway you have in how close the user’s words have to be to match one of your training phrases I have written a somewhat advanced article on […]
This is my 7th in the series of posts under “Must Know Features of Dialogflow”. In this post I talk about the prebuilt smalltalk agent. Dialogflow provides some prebuilt agents in its console. You can generally use these for understanding the kinds of training phrases which can be used. The most useful of them is probably the SmallTalk agent. The smalltalk agent has a whole bunch of prebuilt training phrases to handle common chit-chat and it can answer a lot of common questions that users ask when they know they are talking to a bot. Note for folks from conditional logic based chatbot platforms such as Chatfuel, ManyChat, FlowXO etc. Do not use the domain smalltalk agent and always use […]
This is the 6th in a series of short posts I am writing about “Must Know Features of Dialogflow”. Here, I talk about the Share feature. At this point, this is probably quite a well known feature, although for a while after the feature was released people still didn’t know about it. The idea is that you can use the Share tab in your Dialogflow console to invite developers and other team members to collaborate on your agent. There are a few things you should know about the way the feature has been implemented.
This is the fifth in a series of short posts I am writing on “Must Know Dialogflow Features”. In this post, I am talking about Dialogflow Events. They serve many purposes. At the outset, Dialogflow Events provide a programmatic way to trigger intents without users uttering any words. For example, you can use them to have Dialogflow initiate the conversation if you use a custom API integration. You can use them to send data about logged in users to your agent. But remember that you don’t have the concept of push notifications in Dialogflow, so Events don’t really provide a mechanism to do that (its a common misconception).
This is number 4 in a series of short posts I am writing about “Must Know Dialogflow Features”. In this post I talk about composite entities. And this one is a somewhat complex feature, and it is possible you might never need it. For the programmers out there, the idea behind composite entities is somewhat similar to how you can have multiple fields in a class. If you are not a programmer, then think about composite entities as a way to join entities to create a more complex and richer entity type. You can use composite entities to do some nifty things. For example, you can implement some sophisticated boolean logic inside your training phrases.
This is the third in a series of short posts I am writing about “Must Know Features of Dialogflow”. I remember the day when a coaching call client asked me: “But how am I supposed to fill out so many entities by hand? There are thousands of them?” I was a little surprised and told him about bulk upload of entities via CSV format. And then I thought about the UI. Here is what it says (even today): How is a non-programmer supposed to understand that you can use the “Switch to raw mode” to get an interface for bulk upload? Anyway, here is how you can do it.
This is the second article in a series of posts I am writing about “Must Know Features of Dialogflow”. I have noticed an interesting thing in Dialogflow’s user interface. They try quite hard to remove extrinsic stuff in order to make it more appealing for people who are new to Dialogflow to focus on the task at hand. There is, of course, a tradeoff when they do this. Sometimes features which should be somewhat obvious are hard to find unless people know where to look. A good example of this is doing bulk operations like batch delete on intents. Here are three things that you might miss in Dialogflow: you might not realize that there is a checkbox to the […]