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 ...




