Developing the cognitive training bot using Dialogflow ES

Here is the Mindomo flowchart for creating this bot in Dialogflow ES.

You can check out my Dialogflow Flowcharts course to learn how to convert it into a Dialogflow ES bot.

How to collect a free form response from the user

To collect any free form response from the user, use a single training phrase, and annotate the whole thing using the Wildcard entity (sys.any)

Suppose this is the Default Welcome Intent:

In the next intent, you will use the same input context and provide a single training phrase which will be fully annotated using a wildcard entity. This tells Dialogflow ES that any user input will trigger this intent, provided this particular context is active.

And you will repeat this pattern for each question in your questionnaire bot, by following the flowchart above.

Here is what the bot will look like:

About this website

BotFlo1 was created by Aravind Mohanoor as a website which provided training and tools for non-programmers who were2 building Dialogflow chatbots.

This website has now expanded into other topics in Natural Language Processing, including the recent Large Language Models (GPT etc.) with a special focus on helping non-programmers identify and use the right tool for their specific NLP task. 

For example, when not to use GPT

1 BotFlo was previously called MiningBusinessData. That is why you see that name in many videos

2 And still are building Dialogflow chatbots. Dialogflow ES first evolved into Dialogflow CX, and Dialogflow CX itself evolved to add Generative AI features in mid-2023