Friday, May 1Digital Marketing Journals

microsoft-luis

Create chatbot using bot framework sdk and LUIS — Part 5 | by Sushmita Mishra | Jan, 2022
ai bot, ai chat, ai chatbot, best chatbot, bot-framework, chatbot, chatbot ai, chatbot app, chatbot online, chatbot website, chatbot-development, chatbots, conversation with ai, creating chatbots, microsoft-luis, robot chat

Create chatbot using bot framework sdk and LUIS — Part 5 | by Sushmita Mishra | Jan, 2022

This the last part of this blog series.In this part we will complete the coding for view orders and cancel order conversation flow.Changes in vieworder_dialogIn the waterfall steps add a step view_step. Define the async functionfor view_step. Fetch user_id from context object. We have already defined a function getOrders in orderApp module (see previous parts of the blog) to fetch the orders from csv, which are not in “Cancelled” status, for the given user id. Now we will call that function. Function getOrders returns the result in dataframe. Read each row from the dataframe and display the result to the user as bot response. End the dialog to go back to the main dialog.Below is the final code for vieworder_dialog.pyChanges in cancelorder_dialog.pyIn cancelorder_dialog we will add 2 steps ...
Create chatbot using bot framework sdk and LUIS — Part 3 | by Sushmita Mishra | Jan, 2022
ai bot, ai chat, ai chatbot, best chatbot, chatbot, chatbot ai, chatbot app, chatbot online, chatbot website, chatbot-development, chatbots, conversation with ai, creating chatbots, microsoft-bot-framework, microsoft-luis, robot chat

Create chatbot using bot framework sdk and LUIS — Part 3 | by Sushmita Mishra | Jan, 2022

In Part-1 and Part-2 we created a basic e-comm chatbot and started creating ‘create order’ conversation flow. In this part we will be generating order id and saving the order details in data storage. In next part we will be adding intelligence using LUIS. Complete source code is here.Following tasks we will complete in this part:Generate order ID for the order details provided by the userCreate a csv file to save the order details against the user id. (to keep this tutorial simple we r using csv for data storage, replace it with your database).Create a csv file to store order details:In the project folder add a new folder. Name it Data. Create a csv file order_dummy.csv with 5 columns — user_id, order_id, creation_date, order_status, order_description.Create helper functions to manage orde...