A bot may need to be very flexible, or complex based on clients’ business requirements. Here, we can use the Microsoft Bot Framework SDK to build our complex bot dialogs and integrations. We can program complex nested dialogs to run product recommender, for example. You can also program the bot to guide users to give feedback or make an appointment.
Within the bot dialogs, we can also integrate our bot with Microsoft LUIS which is a Cognitive Service solution. LUIS allows us to get a user’s intents and entities to make our bot smarter. For example, if a user’s intent is to submit a complain, we can use LUIS to get their name, email, and phone numbers accurately. LUIS also can get dates, measurements and also custom entities using regular expressions such as your countries’ identity number.
Since the bot can be hand coded, we can also connect to any REST API. For example, we can connect the Azure Text Translator to translate Malay language into English to be processed by LUIS. This is because there are languages that are not supported by LUIS natively. We can also connect to our other apps to push or get data.