Skip to content

Commit c1ebe6c

Browse files
authored
Merge pull request #47475 from diberry/0725-tutorial-new-app
tutorial - intent only
2 parents 85d8304 + 9e3edb1 commit c1ebe6c

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

articles/cognitive-services/LUIS/luis-quickstart-intents-only.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ manager: cjgronlund
77
ms.service: cognitive-services
88
ms.component: language-understanding
99
ms.topic: tutorial
10-
ms.date: 06/27/2018
10+
ms.date: 07/26/2018
1111
ms.author: diberry
1212
#Customer intent: As a new user, I want to understand how and why to only use intents and no entities in the app.
1313
---
@@ -28,7 +28,7 @@ This app is the simplest type of LUIS app because it doesn't extract data from t
2828
> * Add example utterances to ApplyForJob intent
2929
> * Train, publish, and query endpoint again
3030
31-
For this article, you need a free [LUIS](luis-reference-regions.md#luis-website) account in order to author your LUIS application.
31+
[!include[LUIS Free account](../../../includes/cognitive-services-luis-free-key-short.md)]
3232

3333
## Purpose of the app
3434
This app has a few intents. The first intent, **`GetJobInformation`**, identifies when a user wants information about jobs available inside a company. The second intent, **`None`**, identifies every other type of utterance. Later in the quickstart, a third intent, `ApplyForJob`, is added.
@@ -46,8 +46,6 @@ This app has a few intents. The first intent, **`GetJobInformation`**, identifie
4646

4747
4. When that process finishes, the app shows the **Intents** page with the **None** Intent.
4848

49-
[![](media/luis-quickstart-intents-only/intents-list.png "Screenshot of Intents list page")](media/luis-quickstart-intents-only/intents-list.png#lightbox)
50-
5149
## Create GetJobInformation intention
5250
1. Select **Create new intent**. Enter the new intent name `GetJobInformation`. This intent is predicted any time a user wants information about open jobs in your company.
5351

@@ -86,16 +84,16 @@ This app has a few intents. The first intent, **`GetJobInformation`**, identifie
8684

8785
![Train button](./media/luis-quickstart-intents-only/train-button.png)
8886

89-
Training is complete when you see the green status bar at the top of the website confirming success.
87+
2. Training is complete when you see the green status bar at the top of the website confirming success.
9088

9189
![Trained status bar](./media/luis-quickstart-intents-only/trained.png)
9290

93-
2. In the top, right side of the LUIS website, select the **Publish** button to open the Publish page. The production slot is selected by default. Select the **Publish** button by the production slot choice. Publishing is complete when you see the green status bar at the top of the website confirming success.
91+
## Publish app to endpoint
9492

95-
You do not have to create a LUIS endpoint key in the Azure portal before you publish or before you test the endpoint URL. Every LUIS app has a free starter key for authoring. It gives you unlimited authoring and a [few endpoint hits](luis-boundaries.md#key-limits).
93+
[!include[LUIS How to Publish steps](../../../includes/cognitive-services-luis-tutorial-how-to-publish.md)]
9694

9795
## Query endpoint for GetJobInformation intent
98-
1. On the **Publish** page, select the **endpoint** link at the bottom of the page. This action opens another browser window with the endpoint URL in the address bar.
96+
1. [!include[LUIS How to get endpoint first step](../../../includes/cognitive-services-luis-tutorial-how-to-get-endpoint.md)]
9997

10098
2. Go to the end of the URL in the address and enter `I'm looking for a job with Natual Language Processing`. The last query string parameter is `q`, the utterance **query**. This utterance is not the same as any of the example utterances in step 4 so it is a good test and should return the `GetJobInformation` intent as the top scoring intent.
10199

@@ -148,7 +146,10 @@ Return to the browser tab for the LUIS website and create a new intention to app
148146
[Train and publish](#train-and-publish-the-app) again.
149147
150148
## Query endpoint for ApplyForJob intent
151-
On the **Publish** page, select the **endpoint** link at the bottom of the page. In the new browser window, enter `Can I submit my resume for job 235986` at the end of the URL.
149+
150+
1. [!include[LUIS How to get endpoint first step](../../../includes/cognitive-services-luis-tutorial-how-to-get-endpoint.md)]
151+
152+
2. In the new browser window, enter `Can I submit my resume for job 235986` at the end of the URL.
152153
153154
```
154155
{
-18.3 KB
Loading
-18.2 KB
Loading

0 commit comments

Comments
 (0)