Publishing a chatbot using Bot Services and LUIS


I wrote an article about how to build a #Bot using the Bot Service in Azure here and another article about how to answer the 10 most common #chatbot questions here.  These are questions that all #chatbots need to answer, that is a very short baseline of what a chatbot needs to respond to.

I setup the Web Chat interface here.  It does not do anything yet but respond to those 10 questions.  What I will need to do next is save the contextid and create some LUIS entities so that the response from the question can be properly responded to, but that is for the future, i will document them.  To be successful at that, I am hoping to get some usage on the LadyBug.ai chatbot to learn more questions which are being asked or follow up / follow on questions.  If that happens, then I will share what I see in LUIS and the actions I take to improve the ‘intelligence’ of LUIS and additionally, how I utilize this intelligence in my chatbot from a C# code perspective.

The Web Chat channel is already enabled, you just need to click on the Channels tab and then the Edit button as shown in Figure 1,.

image

Figure 1, enable the Web Chat channel for a chatbot using Bot Services in Azure

When you click the Edit button it will open a new page like that shown in Figure 2.  You simply need the Secret Key and the iframe code which you can use in an HTML page to reference your chatbot.

image

Figure 2, enable a chatbot using the Bot Services in Azure

Once the iframe is embedded into your HTML page you can chat with it, which would look something similar to Figure 3.

image

Figure 3, create a chatbot in under 1 hour

That’s it for now, once I get more time I will turn LadyBug.ai into a real friendly chatbot.

#AI #ArtificialIntelligence #Cognitive #BotServices #Azure

Comments (1)

  1. paul mc sweeney says:

    I did this and It was working fine but then when I clicked publish to my Azure website on visual studio my bot stopped responding ? Any idea whats wrong?

Skip to main content