Skip to content

Commit ad8d9e7

Browse files
authored
Merge pull request #96113 from diberry/diberry/1114-luis-howto-4
[Cogsvcs] LUIS - review endpoint utt
2 parents d886060 + 678555d commit ad8d9e7

File tree

9 files changed

+16
-56
lines changed

9 files changed

+16
-56
lines changed

articles/cognitive-services/LUIS/luis-how-to-review-endpoint-utterances.md

Lines changed: 16 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -9,83 +9,43 @@ ms.custom: seodec18
99
ms.service: cognitive-services
1010
ms.subservice: language-understanding
1111
ms.topic: conceptual
12-
ms.date: 10/25/2019
12+
ms.date: 11/15/2019
1313
ms.author: diberry
1414
---
1515

16-
# How to review endpoint utterances in LUIS portal for active learning
16+
# How to improve the LUIS app by reviewing endpoint utterances
1717

18-
[Active learning](luis-concept-review-endpoint-utterances.md) captures endpoint queries and selects user's endpoint utterances that it is unsure of. You review these utterances to select the intent and mark entities for these read-world utterances. Accept these changes into your example utterances then train and publish. LUIS then identifies utterances more accurately.
18+
The process of reviewing endpoint utterances for correct predictions is called [Active learning](luis-concept-review-endpoint-utterances.md). Active learning captures endpoint queries and selects user's endpoint utterances that it is unsure of. You review these utterances to select the intent and mark entities for these read-world utterances. Accept these changes into your example utterances then train and publish. LUIS then identifies utterances more accurately.
1919

20-
[!INCLUDE [Waiting for LUIS portal refresh](./includes/wait-v3-upgrade.md)]
20+
If you have many people contributing to a LUIS app,
2121

22-
## Enable active learning
23-
24-
To enable active learning, log user queries. This is accomplished by setting the [endpoint query](luis-get-started-create-app.md#query-the-v2-api-prediction-endpoint) with the `log=true` querystring parameter and value.
25-
26-
## Disable active learning
27-
28-
To disable active learning, don't log user queries. This is accomplished by setting the [endpoint query](luis-get-started-create-app.md#query-the-v2-api-prediction-endpoint) with the `log=false` querystring parameter and value.
29-
30-
## Filter utterances
31-
32-
1. Open your app (for example, TravelAgent) by selecting its name on **My Apps** page, then select **Build** in the top bar.
33-
34-
1. Under the **Improve app performance**, select **Review endpoint utterances**.
35-
36-
1. On the **Review endpoint utterances** page, select in the **Filter list by intent or entity** text box. This drop-down list includes all intents under **INTENTS** and all entities under **ENTITIES**.
37-
38-
![Utterances filter](./media/label-suggested-utterances/filter.png)
39-
40-
1. Select a category (intents or entities) in the drop-down list and review the utterances.
41-
42-
![Intent utterances](./media/label-suggested-utterances/intent-utterances.png)
43-
44-
## Label entities
45-
LUIS replaces entity tokens (words) with entity names highlighted in blue. If an utterance has unlabeled entities, label them in the utterance.
22+
[!INCLUDE [Uses preview portal](includes/uses-portal-preview.md)]
4623

47-
1. Select on the word(s) in the utterance.
48-
49-
1. Select an entity from the list.
24+
## Enable active learning
5025

51-
![Label entity](./media/label-suggested-utterances/label-entity.png)
26+
To enable active learning, you must log user queries. This is accomplished by calling the [endpoint query](luis-get-started-create-app.md#query-the-v3-api-prediction-endpoint) with the `log=true` querystring parameter and value.
5227

53-
## Align single utterance
28+
## Correct intent predictions to align utterances
5429

5530
Each utterance has a suggested intent displayed in the **Aligned intent** column.
5631

57-
1. If you agree with that suggestion, select on the check mark.
58-
59-
![Keep aligned intent](./media/label-suggested-utterances/align-intent-check.png)
60-
61-
1. If you disagree with the suggestion, select the correct intent from the aligned intent drop-down list, then select on the check mark to the right of the aligned intent.
62-
63-
![Align intent](./media/label-suggested-utterances/align-intent.png)
64-
65-
1. After you select on the check mark, the utterance is removed from the list.
32+
> [!div class="mx-imgBorder"]
33+
> [![Review endpoint utterances that LUIS is unsure of](./media/label-suggested-utterances/review-endpoint-utterances.png)](./media/label-suggested-utterances/review-endpoint-utterances.png#lightbox)
6634
67-
## Align several utterances
35+
If you agree with that intent, select the check mark. If you disagree with the suggestion, select the correct intent from the aligned intent drop-down list, then select on the check mark to the right of the aligned intent. After you select on the check mark, the utterance is moved to the intent and removed from the **Review Endpoint Utterances** list.
6836

69-
To align several utterances, check the box to the left of the utterances, then select on the **Add selected** button.
70-
71-
![Align several](./media/label-suggested-utterances/add-selected.png)
72-
73-
## Verify aligned intent
74-
75-
You can verify the utterance was aligned with the correct intent by going to the **Intents** page, select the intent name, and reviewing the utterances. The utterance from **Review endpoint utterances** is in the list.
37+
> [!TIP]
38+
> It is important to go to the Intent details page to review and correct the entity predictions from all example utterances from the **Review Endpoint Utterances** list.
7639
7740
## Delete utterance
7841

7942
Each utterance can be deleted from the review list. Once deleted, it will not appear in the list again. This is true even if the user enters the same utterance from the endpoint.
8043

81-
If you are unsure if you should delete the utterance, either move it to the None intent, or create a new intent such as "miscellaneous" and move the utterance to that intent.
44+
If you are unsure if you should delete the utterance, either move it to the None intent, or create a new intent such as `miscellaneous` and move the utterance to that intent.
8245

83-
## Delete several utterances
84-
85-
To delete several utterances, select each item and select on the trash bin to the right of the **Add selected** button.
86-
87-
![Delete several](./media/label-suggested-utterances/delete-several.png)
46+
## Disable active learning
8847

48+
To disable active learning, don't log user queries. This is accomplished by setting the [endpoint query](luis-get-started-create-app.md#query-the-v2-api-prediction-endpoint) with the `log=false` querystring parameter and value or not using the querystring value because the default value is false.
8949

9050
## Next steps
9151

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
68.7 KB
Loading

0 commit comments

Comments
 (0)