Create a LUIS service resource
Let’s look at how we can use LUIS to add natural language capabilities to a picture-management bot. LUIS allows you to map natural language utterances to intents. In other words, LUIS maps the user's words, phrases, or sentences to tasks or actions the user wants to do.
Our application might have several intents: finding pictures, sharing pictures, and ordering prints of pictures. We'll give LUIS a few example utterances of ways users might ask for each of these things. LUIS will then map additional new utterances to each intent based on what it learns over time.
This is an optional exercise. To use a LUIS service that's tied to your Azure account, follow these steps to create the LUIS service. To use a test environment only, go to the "Create a LUIS app" exercise later on this page.
Sign in to the Azure portal.
In the left pane, select + Create a resource.
In the Search the Marketplace box, type LUIS, and then press Enter.
In the search results, select Language Understanding.
Enter a unique name for your LUIS service.
Choose a subscription.
For Location, choose the one nearest you.
For Pricing tier, select S0.
Create a new resource group named LearnRG.
After the deployment has finished, go the resource page for the service. You'll need one of the displayed subscription keys for later exercises. You can either use the "Grab your keys" option in the Quick start section, or switch to the Keys section to see the two created keys.
Create a LUIS app
Azure requires you to create the LUIS app in the same geographic location where you created the service. If you didn't create the service in the previous optional exercise, use the location closest to you.
Select one of the following URLs, and open it in a new browser window.
There are three LUIS websites, based on region. You must author and publish in the same region. Select the closest region to you.
Select the Sign in link in the upper-right corner.
Sign in with your Microsoft account.
On the Welcome page, select Create a LUIS app now.
Select + Create a new app.
Give your LUIS app a name, for example, PictureBotLUIS.
For Culture, select the appropriate choice.
Give your LUIS app a description so it's clear what the app's purpose is.
The newly created app will show the Intents page with a single intent named None.