Cognitive Services : Creation of Language Understanding Intelligent Service or LUIS


Introduction

One of the important api in Cognitive Services is Language Understanding Intelligent Service or LUIS and it is a natural language processing service that enable us to understand human language in our own application, website, chatbot, IoT device, etc. Once configure , train and publish your LUIS model, then the application can easily receive user input in natural language and take an appropriate action based on our intent,utterances,entity configuration in LUIS Model.
We can easily create LUIS model with the help of LUIS account and for this we require LUIS “Authoring resource” in Azure. So first of all, we need to create a LUIS API in Azure account using valid subscription key.

You can also refer the following articles on Cognitive Service.

Prerequisites

  1. Subscription key ( Azure Portal ) or Trail Subscription Key
  2. Visual Studio 2015 or 2017 0r 2019

Create LUIS in Azure

Step 1 : Click on “+” icon -> go to “AI + Machine Learning” -> Click on “See all”.

Step 2 : Go to Cognitive Services and click on “See more”

Step 3 : Click on “Language Understanding”

Step 3 : The following screen will appear once you click on “Create” button in “Language Understanding”

  1. Subscription : We can select our Azure subscription for Language Understanding.
  2. Resource group : We can create a new resource group or choose from an existing one ( We select our existing resource group as “luis-test” ).
  3. Authoring location : The best thing is we can choose a location closest to our customer needs.
  4. Authoring pricing tier : We can choose the appropriate pricing tier as per our needs.
  5. Prediction location : The best thing is we can choose a location closest to our customer needs.
  6. Prediction pricing tier : As of now there are two pricing tier available “FO” & “SO” and obviously “FO” is the free one and better we can choose the appropriate pricing tier as per our needs.

7. Click on the “Review + Create” button and wait for the build success.

8. Once the build is succeeded, then click on the “Dashboard” and we can see “luis-cog-testing” is created in the All resources list . LUIS is ready for use !!.

Create Luis Application

We have already created the LUIS authoring resource in azure and now we can easily create LUIS model in Luis account. So go to LUIS account and create a new LUIS App.

  1. Name : Name of the luis application.
  2. Culture : The current culture or language going to use in Luis application.
  3. Description : A short description of our application.
  4. Authoring resource : The resource that we have created in azure.
  5. Prediction resource : The resource that we have created in azure.

Output :

The app is successfully created in LUIS and by default it will contain one “Intent” called as “None”. We will discuss in details of intent , utterances , entity in the upcoming articles.

Reference

Summary

From this article we have learned how to create LUIS model with the help of LUIS account and LUIS “Authoring resource” in Azure . I hope this article is useful for all beginners.

%d bloggers like this: