Besides the user utterances, we can also
use dialogs to help the chatbot to help the users to response accurately. In Azure Bot Framework, we can use dialog components. For example, in the lubricant finder from
PETRONAS Dagangan, once the bot knows that the users want to find a lubricant for his car, the bot will trigger the lubricant recommender dialog.
In the dialog, there are multi dialog steps to ask and guide a user to provide correct information to find a car lubricant. For example, the dialog asks for the car brands, followed by engine type, age of the car and other related questions. In the steps you can also provide options for user to choose such as car brands so that user can give correct responses. After that, all the collected entities can be passed into API to get the result. We talked about the entities in the previous article about
Microsoft LUIS here.