Skip to content

Commit f0f711a

Browse files
committed
edits
1 parent 69324cb commit f0f711a

File tree

1 file changed

+12
-39
lines changed

1 file changed

+12
-39
lines changed

articles/cognitive-services/LUIS/luis-how-to-add-intents.md

Lines changed: 12 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ Intents are managed from top navigation bar's **Build** section, then from the l
2727
1. On the **Intents** page, select **+ Create**.
2828
1. In the **Create new intent** dialog box, enter the intent name, for example `ModifyOrder`, and select **Done**.
2929

30-
![Add Intent](./media/luis-how-to-add-intents/Addintent-dialogbox.png)
30+
> [!div class="mx-imgBorder"]
31+
> ![Add Intent](./media/luis-how-to-add-intents/Addintent-dialogbox.png)
3132
3233
The intent needs example utterances.
3334

@@ -37,7 +38,8 @@ Example utterances are text examples of user questions or commands. To teach Lan
3738

3839
1. On the intent details page, enter a relevant utterance you expect from your users, such as `Deliver a large cheese pizza` in the text box below the intent name, and then press Enter.
3940

40-
![Screenshot of Intents details page, with utterance highlighted](./media/luis-how-to-add-intents/add-new-utterance-to-intent.png)
41+
> [!div class="mx-imgBorder"]
42+
> ![Screenshot of Intents details page, with utterance highlighted](./media/luis-how-to-add-intents/add-new-utterance-to-intent.png)
4143
4244
LUIS converts all utterances to lowercase and adds spaces around [tokens](luis-language-support.md#tokenization) such as hyphens.
4345

@@ -53,56 +55,27 @@ To find utterance prediction errors and fix them, use the **Filter** options of
5355

5456
When the filters and view are applied, and there are example utterances with errors, the example utterance list shows the utterances and the issues.
5557

56-
![![When the filters and view are applied, and there are example utterances with errors, the example utterance list shows the utterances and the issues.](./media/luis-how-to-add-intents/find-errors-in-utterances.png)](./media/luis-how-to-add-intents/find-errors-in-utterances.png#lightbox)
58+
> [!div class="mx-imgBorder"]
59+
> ![![When the filters and view are applied, and there are example utterances with errors, the example utterance list shows the utterances and the issues.](./media/luis-how-to-add-intents/find-errors-in-utterances.png)](./media/luis-how-to-add-intents/find-errors-in-utterances.png#lightbox)
5760
5861
Each row shows the current training's prediction score for the example utterance, the nearest rival's score, which is the difference in these two scores.
5962

6063
### Fixing intents
6164

6265
To learn how to fix intent prediction errors, use the [Summary Dashboard](luis-how-to-use-dashboard.md). The summary dashboard provides analysis for the active version's last training and offers the top suggestions to fix your model.
6366

64-
## Add a custom entity
65-
66-
Once an utterance is added to an intent, you can select text from within the utterance to create a custom entity. A custom entity is a way to tag text for extraction, along with the correct intent.
67-
68-
See [Add entity to utterance](luis-how-to-add-example-utterances.md) to learn more.
69-
70-
## Entity prediction discrepancy errors
71-
72-
The entity is underlined in red to indicate an [entity prediction discrepancy](luis-how-to-add-example-utterances.md#entity-status-predictions). Because this is the first occurrence of an entity, there are not enough examples for LUIS to have a high-confidence that this text is tagged with the correct entity. This discrepancy is removed when the app is trained.
73-
74-
![Screenshot of Intents details page, custom entity name highlighted in blue](./media/luis-how-to-add-intents/create-custom-entity-name-blue-highlight.png)
75-
76-
The text is highlighted in blue, indicating an entity.
77-
78-
## Add a prebuilt entity
79-
80-
For information, see [Prebuilt entity](luis-how-to-add-entities.md#add-a-prebuilt-entity-to-your-app).
81-
8267
## Using the contextual toolbar
8368

84-
When one or more example utterances are selected in the list, by checking the box to the left of an utterance, the toolbar above the utterance list allows you to perform the following actions:
85-
86-
* Reassign intent: move utterance(s) to different intent
87-
* Delete utterance(s)
88-
* Entity filters: only show utterances containing filtered entities
89-
* Show all/Errors only: show utterances with prediction errors or show all utterances
90-
* Entities/Tokens view: show entities view with entity names or show raw text of utterance
91-
* Magnifying glass: search for utterances containing specific text
92-
93-
## Working with an individual utterance
94-
95-
The following actions can be performed on an individual utterance from the ellipsis menu to the right of the utterance:
96-
97-
* Edit: change the text of the utterance
98-
* Delete: remove the utterance from the intent. If you still want the utterance, a better method is to move it to the **None** intent.
99-
* Add a pattern: A pattern allows you to take a common utterance and mark replaceable text and ignorable text, thereby reducing the need for more utterances in the intent.
69+
The context toolbar provides other actions:
10070

101-
The **Labeled intent** column allows you to change the intent of the utterance.
71+
* Edit or delete example utterance
72+
* Reassign example utterance to a different intent
73+
* Filters and views: only show utterances containing filtered entities or view optional details
74+
* Search through example utterances
10275

10376
## Train your app after changing model with intents
10477

105-
After you add, edit, or remove intents, [train](luis-how-to-train.md) and [publish](luis-how-to-publish-app.md) your app so that your changes are applied to endpoint queries.
78+
After you add, edit, or remove intents, [train](luis-how-to-train.md) and [publish](luis-how-to-publish-app.md) your app so that your changes are applied to endpoint queries. Do not train after every single change. Train after a group of changes.
10679

10780
## Next steps
10881

0 commit comments

Comments
 (0)