Chat Bot - Adding Language Understanding Service


In this article, we are going to add a Language Understanding Service - LUIS to our chatbot. LUIS uses machine learning, which is helpful to developers to build applications that can create user input in natural language which can get meaning from it. As we have developed a chatbot-botD in Microsoft Azure, we will now move on with further steps to give it a realistic view of the end-user understanding.

Bot Lab

For building an intelligent bot, first we have to collect a few lab tools:

  1. Azure subscription with Microsoft VS Dev Essentials. 

  2. Download Microsoft Visual Studio 2019 or any newer version

Open Visual Studio and go to TOOLS Click on GET TOOLS AND FEATURES. Microsoft Visual Studio must have these workloads:

  • ASP.NET and Web Development

  • Azure Development

  • .NET Cross-Platform Development

  1. Open a new browser tab and navigate this link. Select download and open it. Complete the modify step.

  2. Open a new browser tab and navigate this link, Select the CLONE repo from the Git or DOWNLOAD the code from your browser. Note: uncompress/clone your code to Download/ailabs. Copy the Content of BuildAnIntelligentBot folder to Download/buildanintelligentbot.

  3. Installation of Bot Builder SDK v4: Bot Framework Emulator:

Open a new browser tab and navigate here:

Download the .exe file of the 4.x version and complete your installation (if you already have it, then you can skip this step.)

Here, all the lab materials are downloaded on our Windows system. 

Once we're with the basic bot, we will move towards the next step where our bot should understand the natural and complex conversation using LUIS capabilities. LUIS has a standalone portal for building models using Azure Cognitive Services.

Create a LUIS Subscription