DialogFlow | Knowledge Connector

Dialogflow Knowledge Connector : Pros and Cons

A reader asked me this question recently: Do you think the beta knowledge base within Dialogflow is useful? Or are their better ways in to implement a FAQ bot with Dialogflow? There are two types of FAQ chatbots you can create in Dialogflow. 1 You can use the knowledge connector feature (beta) 2 You can use regular intents Knowledge Connector example I recently created a knowledge connector bot and integrated it with Telegram. This is what it looks like: A few things to note: I used Telegram because of the ease of integration. You can use any channel integration and get similar results. There are multiple results per user query. In the screenshot above, there are 3 results In Dialogflow,…

DialogFlow | Knowledge Connector

Getting the top 3 (or top N) intents in Dialogflow: An experiment

I occasionally see people asking for a way to get top N intents in Dialogflow. That is, Dialogflow already provides the “best match” intent for a user’s utterance, and includes a confidence score along with that match. Is it possible to also know the next 2 best intents and their confidence scores? (Note that this feature is already offered by other bot frameworks). An experiment In a way, the knowledge connector feature was created to solve this problem (or at least that is one of the benefits of using it). So here is one way you could implement this for intents: Create a new Dialogflow agent Turn every training phrase from your original agent into a knowledge base question. The…