You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cognitive-services/LUIS/includes/add-example-utterances-none-intent.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,22 +8,24 @@ ms.service: cognitive-services
8
8
ms.subservice: luis
9
9
ms.topic: include
10
10
ms.custom: include file
11
-
ms.date: 11/05/2019
11
+
ms.date: 11/20/2019
12
12
ms.author: diberry
13
13
---
14
14
15
-
The client application needs to know if an utterance is not meaningful or appropriate for the application. The **None** intent is added to each application as part of the creation process to determine if an utterance can't be answered by the client application.
15
+
The client application needs to know if an utterance is not meaningful or appropriate for the application. The **None** intent is added to each application as part of the creation process to determine if an utterance shouldn't be answered by the client application.
16
16
17
17
If LUIS returns the **None** intent for an utterance, your client application can ask if the user wants to end the conversation or give more directions for continuing the conversation.
18
18
19
19
If you leave the **None** intent empty, an utterance that should be predicted outside the subject domain will be predicted in one of the existing subject domain intents. The result is that the client application, such as a chat bot, will perform incorrect operations based on an incorrect prediction.
20
20
21
21
1. Select **Intents** from the left panel.
22
22
23
-
1. Select the **None** intent. Add three utterances that your user might enter but are not relevant to your app:
23
+
1. Select the **None** intent. Add three utterances that your user might enter but are not relevant to your Pizza ordering app:
24
24
25
25
|`None` example utterances|
26
26
|--|
27
27
|`Barking dogs are annoying`|
28
28
|`Order a pizza for me`|
29
29
|`Penguins in the ocean`|
30
+
31
+
These examples shouldn't use words you expect in your subject domain such as `pizza`, `cheese`, `crust`, `pickup``deliver`.
Copy file name to clipboardExpand all lines: articles/cognitive-services/LUIS/tutorial-intents-only.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,12 +9,12 @@ ms.custom: seodec18
9
9
ms.service: cognitive-services
10
10
ms.subservice: language-understanding
11
11
ms.topic: tutorial
12
-
ms.date: 11/05/2019
12
+
ms.date: 11/20/2019
13
13
ms.author: diberry
14
14
#Customer intent: As a new user, I want to create a custom app with intents, so that I can analyze user text in that subject domain.
15
15
---
16
16
17
-
# Tutorial: Build LUIS app to determine user intentions
17
+
# Tutorial: Build a LUIS app to determine user intentions
18
18
19
19
In this tutorial, you create a custom app that predicts a user's intention based on the utterance (text).
20
20
@@ -54,7 +54,7 @@ These intentions are categorized into **Intents**.
54
54
55
55
## Create a new intent
56
56
57
-
1. In the [preview LUIS portal](https://preview.luis.ai), inside the app's **Build** section, select **+ Create**. Enter the new intent name listed below then select **Done**.
57
+
1. In the portal, inside the app's **Build** section, select **+ Create**. Enter the new intent name, `OrderPizza`, then select **Done**.
58
58
59
59
The `OrderPizza` intent is predicted when: a user wants to order a pizza.
60
60
@@ -118,7 +118,7 @@ These intentions are categorized into **Intents**.
118
118
119
119
This is not exactly the same as an example utterance so it is a good test to see if LUIS can learn what should be predicted with this intent.
120
120
121
-
The last query string parameter is `q`, the utterance **query**. This utterance is not the same as any of the example utterances. It is a good test and should return the `OrderPizza` intent as the top scoring intent.
121
+
The last query string parameter is `query`, the utterance **query**. This utterance is not the same as any of the example utterances. It is a good test and should return the `OrderPizza` intent as the top scoring intent.
122
122
123
123
```JSON
124
124
{
@@ -144,7 +144,7 @@ These intentions are categorized into **Intents**.
144
144
}
145
145
```
146
146
147
-
The entities array is empty because this app currently does not have any entities.
147
+
The entities array is empty because this app currently does not have any entities (unit of data inside the utterance to extract).
148
148
149
149
The JSON result identifies the top scoring intent as **`prediction.topIntent`** property. All scores are between 1 and 0, with the better score being closer to 1.
150
150
@@ -201,4 +201,4 @@ After LUIS returns the JSON response, LUIS is done with this request. LUIS doesn
201
201
This tutorial created a LUIS app, created intents, added example utterances to each intent, added example utterances to the None intent, trained, published, and tested at the endpoint. These are the basic steps of building a LUIS model.
202
202
203
203
> [!div class="nextstepaction"]
204
-
> [Add prebuilt intents and entities to this app](tutorial-machine-learned-entity.md)
204
+
> [Add a decomposable entity to this app](tutorial-machine-learned-entity.md)
0 commit comments