I am so excited about Bots (#Bot) that I can barely control myself. My hands are literally shaking as I write this post. I wrote this post a few months ago that discuses how I got started using the Bot Framework (#BotFramework) with LUIS, it was a little complicated but now with the built in Azure capabilities and the Bot as a Server (BaaS) concept, it is quick and easy to get started.
This is how I did it:
Here are some other more recent articles I have written on this subject:
Log into the Azure Portal, click on the + New, then search for Bot Service, as shown in Figure 1.
Enter the required details for the bot, they are identical to the required details of an App Service, for example App Name, Subscription, Resource Group and Location. Once entered, similar to that in Figure 2, click the Create button.
Once created/deployed, navigate to the Bot by clicking on the link either from the main page, if you pinned it to the dashboard or open the resource group and click the link.
You will be prompted to create a Microsoft App Id, like that in Figure 3. Click the button and capture the App Id and Password.
Enter the credentials into the text boxes and then select the language and template, I chose the Language understanding template as I want to use LUIS later.
Finally, click on the Create bot button and the bot gets created, as shown in Figure 4. I did receive an Internal Server Error during the creation and it took some minutes for that to happen. Most likely the request is asynchronous to LUIS and it times out. I just closed down the blade and came back to it. It worked fine from that point. I am sure they are working on fixing that as this is feature is only a few days old.
By default there are two LUIS intents, None and MyIntent. I tested them by entering in ‘None’ and ‘MyIntent’ and as you can see in Figure 5, the message which is associated to that intent is rendered back to the Chat window. Now I just need to make my Chat logic more intelligent, and I can do it right in the portal, no more Visual Studio project at all. So awesome!
Now I can login to LUIS here and add more intents and train my AI to answer more questions. The creation of the Bot using the Language understanding creates a a LUIS application similar to that shown in Figure 6.
Now it’s time to rock! #AI #ArtificialIntelligence #Cognitive #BotServices #Azure