Skip to content

Commit c06f626

Browse files
authored
Merge pull request #115389 from diberry/diberry/post-keynote-luis-howto
[Cogsvcs] LUIS - Post keynote - how-to scrnsht
2 parents cbcf6cc + 5e13f46 commit c06f626

35 files changed

+271
-207
lines changed

articles/cognitive-services/LUIS/how-to-application-settings-portal.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Application settings"
33
description: Configure your application and version settings in the LUIS portal such as utterance normalization and app privacy.
44
ms.topic: quickstart
5-
ms.date: 05/04/2020
5+
ms.date: 05/17/2020
66

77
---
88

@@ -17,21 +17,25 @@ You can edit your application name, and description. You can copy your App ID. T
1717
1. Sign into the [LUIS portal](https://www.luis.ai).
1818
1. Select an app from the **My apps** list.
1919
.
20-
1. Select **Manage** from the top navigation bar, then **Application Settings** from the left navigation bar.
20+
1. Select **Manage** from the top navigation bar, then **Settings** from the left navigation bar.
2121

2222
> [!div class="mx-imgBorder"]
2323
> ![Screenshot of LUIS portal, Manage section, Application Settings page](media/app-settings/luis-portal-manage-section-application-settings.png)
2424
2525

26-
## Change training and endpoint settings
26+
## Change application settings
2727

2828
To change a setting, select the toggle on the page.
2929

30-
[!INCLUDE [App and version settings](includes/app-version-settings.md)]
30+
[!INCLUDE [App settings](includes/app-settings.md)]
3131

32+
## Change version settings
3233

33-
Use the app and version [setting reference](luis-reference-application-settings.md) to understand which text forms are ignored.
34+
To change a setting, select the toggle on the page.
35+
36+
[!INCLUDE [Version settings](includes/app-version-settings.md)]
3437

3538
## Next steps
3639

37-
* How to [collaborate](luis-how-to-collaborate.md) with other authors
40+
* How to [collaborate](luis-how-to-collaborate.md) with other authors
41+
* [Publish settings](luis-how-to-publish-app.md#configuring-publish-settings)

articles/cognitive-services/LUIS/howto-add-prebuilt-models.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: nitinme
88
ms.service: cognitive-services
99
ms.subservice: language-understanding
1010
ms.topic: conceptual
11-
ms.date: 05/07/2020
11+
ms.date: 05/17/2020
1212
ms.author: diberry
1313
---
1414

@@ -21,7 +21,7 @@ LUIS includes a set of prebuilt models for quickly adding common, conversational
2121
1. Sign in to the [LUIS portal](https://www.luis.ai), and select your **Subscription** and **Authoring resource** to see the apps assigned to that authoring resource.
2222
1. Open your app by selecting its name on **My Apps** page.
2323

24-
1. Select **Prebuilt domains** from the left toolbar.
24+
1. Select **Prebuilt Domains** from the left toolbar.
2525

2626
1. Find the domain you want added to the app then select **Add domain** button.
2727

@@ -35,7 +35,7 @@ LUIS includes a set of prebuilt models for quickly adding common, conversational
3535

3636
1. On the **Intents** page, select **Add prebuilt domain intent** from the toolbar above the intents list.
3737

38-
1. Select the **Utilities.Cancel** intent from the pop-up dialog.
38+
1. Select an intent from the pop-up dialog.
3939

4040
> [!div class="mx-imgBorder"]
4141
> ![Add prebuilt intent](./media/luis-prebuilt-domains/add-prebuilt-domain-intents.png)
@@ -56,13 +56,24 @@ LUIS includes a set of prebuilt models for quickly adding common, conversational
5656
5757
1. Select **Done**. After the entity is added, you do not need to train the app.
5858

59+
## Add a prebuilt domain entity
60+
1. Sign in to the [LUIS portal](https://www.luis.ai), and select your **Subscription** and **Authoring resource** to see the apps assigned to that authoring resource.
61+
1. Open your app by selecting its name on **My Apps** page.
62+
1. Select **Entities** in the left side.
63+
64+
1. On the **Entities** page, select **Add prebuilt domain entity**.
65+
66+
1. In **Add prebuilt domain models** dialog box, select the prebuilt domain entity.
67+
68+
1. Select **Done**. After the entity is added, you do not need to train the app.
69+
5970
## Publish to view prebuilt model from prediction endpoint
6071

6172
The easiest way to view the value of a prebuilt model is to query from the published endpoint.
6273

6374
## Entities containing a prebuilt entity token
6475

65-
If you have a machine-learned entity that needs a required feature of a prebuilt entity, add a subcomponent to the machine-learned entity, then add a _required_ feature of a prebuilt entity.
76+
If you have a machine-learned entity that needs a required feature of a prebuilt entity, add a subentity to the machine-learned entity, then add a _required_ feature of a prebuilt entity.
6677

6778
## Next steps
6879
> [!div class="nextstepaction"]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: include file
3+
ms.topic: include
4+
ms.custom: include file
5+
ms.date: 5/17/2020
6+
---
7+
8+
Use [app](https://westus.dev.cognitive.microsoft.com/docs/services/5890b47c39e2bb17b84a55ff/operations/58aeface39e2bb03dcd5909e) APIs to update settings or use the LUIS portal's **Manage** section, **Settings** page.
9+
10+
11+
|UI setting|API setting|Information|
12+
|--|--|--|
13+
|Make endpoints public|`Public`|Anyone can access your public app' **prediction endpoint** if they have a prediction key, app ID, and version ID. |

articles/cognitive-services/LUIS/includes/app-version-settings.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
title: include file
33
ms.topic: include
44
ms.custom: include file
5-
ms.date: 5/04/2020
5+
ms.date: 5/17/2020
66
---
77

8-
|Level|UI setting|API setting|Information|
9-
|--|--|--|--|
10-
|App|Make endpoints public|`Public`|Anyone can access your public app if they have a prediction key and know your app ID. |
11-
|Version|Use non-deterministic training|`UseAllTrainingData`|Training uses a small percentage of negative sampling. If you want to use all data instead of the small negative sampling, set to `true`. |
12-
|Version|Normalize diacritics|`NormalizeDiacritics`|Normalizing diacritics replaces the characters with diacritics in utterances with regular characters.|
13-
|Version|Normalize punctuation|`NormalizePunctuation`|Normalizing punctuation means that before your models get trained and before your endpoint queries get predicted, punctuation will be removed from the utterances.|
14-
|Version|Normalize word forms|`NormalizeWordForm`|Ignore word forms beyond root.|
8+
Learn [concepts](../luis-concept-utterance.md#utterance-normalization-for-diacritics-and-punctuation) of normalization and how to use [version](https://westus.dev.cognitive.microsoft.com/docs/services/5890b47c39e2bb17b84a55ff/operations/versions-update-application-version-settings) APIs to update these settings or use the LUIS portal's **Manage** section, **Settings** page.
159

16-
Learn [concepts](../luis-concept-utterance.md#utterance-normalization-for-diacritics-and-punctuation) of normalization and how to use [app](https://westus.dev.cognitive.microsoft.com/docs/services/5890b47c39e2bb17b84a55ff/operations/58aeface39e2bb03dcd5909e) and [version](https://westus.dev.cognitive.microsoft.com/docs/services/5890b47c39e2bb17b84a55ff/operations/versions-update-application-version-settings) APIs to update these settings or use the LUIS portal's **Manage** section, **Application Settings** page.
10+
11+
|UI setting|API setting|Information|
12+
|--|--|--|
13+
|Use non-deterministic training|`UseAllTrainingData`|Training uses a small percentage of negative sampling. If you want to use all data instead of the small negative sampling, set to `true`. |
14+
|Normalize diacritics|`NormalizeDiacritics`|Normalizing diacritics replaces the characters with diacritics in utterances with regular characters. This setting is only available on [languages](../luis-reference-application-settings.md#diacritics-normalization) that support diacritics.|
15+
|Normalize punctuation|`NormalizePunctuation`|Normalizing punctuation means that before your models get trained and before your endpoint queries get predicted, punctuation will be removed from the utterances.|
16+
|Normalize word forms|`NormalizeWordForm`|Ignore word forms beyond root.|

articles/cognitive-services/LUIS/label-entity-example-utterance.md

Lines changed: 49 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -2,108 +2,107 @@
22
title: Label entity example utterance
33
description: Learn how to label a machine-learned entity with subcomponents in an example utterance in an intent detail page of the LUIS portal.
44
ms.topic: conceptual
5-
ms.date: 04/14/2020
5+
ms.date: 05/17/2020
66
#Customer intent: As a new user, I want to label a machine-learned entity in an example utterance.
77
---
88

99
# Label machine-learned entity in an example utterance
1010

1111
Labeling an entity in an example utterance gives LUIS an example of what the entity is and where the entity can appear in the utterance.
1212

13-
## Labeling machine-learned entity
13+
## Label example utterances from the Intent detail page
1414

15-
Consider the phrase, `hi, please I want a cheese pizza in 20 minutes`.
15+
1. Sign in to the [LUIS portal](https://www.luis.ai), and select your **Subscription** and **Authoring resource** to see the apps assigned to that authoring resource.
16+
1. Open your app by selecting its name on **My Apps** page.
17+
1. Select the Intent that has the example utterances you want to label for extraction with an entity.
18+
1. Select the text you want to label then select the entity.
1619

17-
1. Select the left-most text, then select the right-most text of the entity, then pick the entity you want to label with, in this case Complete Order. The _complete order_ is labeled in the following image.
20+
## Label with the Entity Palette visible
1821

19-
> [!div class="mx-imgBorder"]
20-
> ![Label complete machine-learned entity](media/label-utterances/example-1-label-machine-learned-entity-complete-order.png)
21-
22-
1. Select the entity from the pop-up window. The labeled complete pizza order entity includes all words (from left to right in English) that are labeled.
23-
24-
## Review labeled text
22+
After you've planned your schema with entities, keep the **Entity palette** visible while labeling. The **Entity palette** is a reminder of what your entities you planned to extract.
2523

26-
After labeling, review the example utterance and ensure the selected span of text has been underlined with the chosen entity. The solid line indicates the text has been labeled.
24+
To access the **Entity Palette**, select the **@** symbol in the contextual toolbar above the example utterance list.
2725

2826
> [!div class="mx-imgBorder"]
29-
> ![Labeled complete machine-learned entity](media/label-utterances/example-1-label-machine-learned-entity-complete-order-labeled.png)
27+
> ![Screenshot of entity palette on Intent details page.](media/label-utterances/entity-palette-from-tool-bar.png)
3028
31-
## Confirm predicted entity
29+
## Label entity from in-place menu
3230

33-
If there is a dotted-lined box around the span of text and the entity name is above the utterance, it indicates the text is predicted but _not labeled yet_. To turn the prediction into a label, select the utterance row, then select **Confirm entity predictions**.
31+
Consider the example utterance, `hi, please I want a cheese pizza in 20 minutes`.
3432

35-
> [!div class="mx-imgBorder"]
36-
> ![Predict complete machine-learned entity](media/label-utterances/example-1-label-machine-learned-entity-complete-order-predicted.png)
33+
1. Select the left-most text, then select the right-most text of the entity, then from the in-place menu, pick the entity you want to label with.
3734

38-
Alternatively, you could select the entity name above the text, then select **Confirm Prediction** from the menu that appears.
35+
> [!div class="mx-imgBorder"]
36+
> ![Label complete machine-learned entity](media/label-utterances/label-steps-in-place-menu.png)
3937
40-
> [!div class="mx-imgBorder"]
41-
> ![Predict complete machine-learned entity with menu](media/label-utterances/example-1-label-machine-learned-entity-complete-order-predicted-menu.png)
4238

43-
## Label entity by painting with entity palette cursor
39+
## Label entity from Entity Palette
4440

4541
The entity palette offers an alternative to the previous labeling experience. It allows you to brush over text to instantly label it with an entity.
4642

47-
1. Open the entity palette by selecting on the Highlighter icon at the top right of the utterance table.
48-
49-
> [!div class="mx-imgBorder"]
50-
> ![Entity palette for machine-learned entity](media/label-utterances/example-1-label-machine-learned-entity-palette.png)
51-
52-
2. Select the entity component. This action is visually indicated with a new cursor. The cursor follows the mouse as you move in the portal.
43+
1. Open the entity palette by selecting on the **@** symbol at the top right of the utterance table.
5344

54-
> [!div class="mx-imgBorder"]
55-
> ![Entity palette for machine-learned entity](media/label-utterances/example-1-label-machine-learned-entity-palette-menu.png)
45+
2. Select the entity from the palette that you want to label. This action is visually indicated with a new cursor. The cursor follows the mouse as you move in the LUIS portal.
5646

5747
3. In the example utterance, _paint_ the entity with the cursor.
5848

5949
> [!div class="mx-imgBorder"]
6050
> ![Entity palette for machine-learned entity](media/label-utterances/example-1-label-machine-learned-entity-palette-label-action.png)
6151
62-
## Labeling subcomponents of a machine learned entity
52+
## Adding entity as a feature from the Entity Palette
6353

64-
Subcomponents in entities are labeled exactly the same way as top level entities. When selecting text, the entities available in the pop-up window are relative to the context in which the text appears. For example, if you have a 5-level machine-learned entity, and you are selecting text that has been labeled with the 1st and 2nd levels (indicated by a labeled entity name under the example utterance), the entities available in the pop-up window are limited to the context of components of the 3rd level. To label the text with other entities, select **Label as another entity** option.
54+
The Entity Palette's lower section allows you to add features to the currently selected entity. You can select from all existing entities and phrase lists or create a new phrase list.
6555

6656
> [!div class="mx-imgBorder"]
67-
> ![Entity palette for machine-learned entity](media/label-utterances/example-1-label-machine-learned-entity-subcomponent.png)
68-
69-
Subcomponents can be labeled only if the parent is also labeled.
57+
> ![Screenshot of Entity palette with entity as a feature](media/label-utterances/entity-palette-entity-as-a-feature.png)
7058
7159
## Labeling entity roles
7260

73-
Entity roles are labeled using the entity palette.
61+
Entity roles are labeled using the **Entity palette**.
7462

7563
1. In the Intent detail page, select the **Entity palette** from the context toolbar.
7664
1. After the Entity palette opens, select the entity from the list of entity.
77-
1. Move to the **Entity inspector**, and either select an existing role or create a new role.
65+
1. Below the list of entities, select an existing role.
7866
1. In the example utterance text, label the text with the entity role.
7967

80-
## Labeling for punctuation
68+
## Review labeled text
8169

82-
You do not need to label for punctuation. Use [application settings](luis-reference-application-settings.md) to control if punctuation impacts utterance predictions.
70+
After labeling, review the example utterance and ensure the selected span of text has been underlined with the chosen entity. The solid line indicates the text has been labeled.
8371

84-
## Unlabel entities
72+
> [!div class="mx-imgBorder"]
73+
> ![Labeled complete machine-learned entity](media/label-utterances/example-1-label-machine-learned-entity-complete-order-labeled.png)
8574
86-
To unlabel an entity, select the entity name underneath the text and select **Unlabel**. If the entity you are trying to unlabel has labeled subcomponents, then the subcomponents must be unlabeled first.
75+
## Confirm predicted entity
8776

88-
## Editing labels using the entity palette
77+
If there is a dotted-lined box around the span of text, it indicates the text is predicted but _not labeled yet_. To turn the prediction into a label, select the utterance row, then select **Confirm entities** from the contextual toolbar.
8978

90-
If you make a mistake while labeling, the entity palette is an easy tool that allows for quick edits. For example, if an entity label spans an extra word by mistake, and it already has labeled subcomponents, then you can use the entity palette to brush over the required shorter span of words.
79+
## Relabeling over existing entities
9180

92-
For example:
81+
If you relabel text that is already labeled, LUIS may split or merge existing labels.
9382

94-
1. Pizza Type subcomponent spans "cheese pizza with" which includes an extra incorrect word -- "with"
83+
## Labeling for punctuation
9584

96-
> [!div class="mx-imgBorder"]
97-
> ![Entity palette for machine-learned entity](media/label-utterances/edit-label-with-palette-1.png)
85+
You do not need to label for punctuation. Use [application settings](luis-reference-application-settings.md) _word forms_ to control if punctuation impacts utterance predictions.
9886

99-
2. Use the entity palette to pick Pizza Type and brush over "cheese pizza". The outcome is that only cheese pizza is labeled as Pizza Type now.
87+
## Unlabel entities
10088

101-
> [!div class="mx-imgBorder"]
102-
> ![Entity palette for machine-learned entity](media/label-utterances/edit-label-with-palette-2.png)
89+
> [!NOTE]
90+
> Only machine learned entities can be unlabeled.
91+
92+
To unlabel an entity, select the entity and select **Unlabel** from the in-place menu.
93+
94+
> [!div class="mx-imgBorder"]
95+
> ![Screenshot showing unlabeling entity](media/label-utterances/unlabel-entity-using-in-place-menu.png)
96+
97+
## Automatic labeling for parent and child entities
98+
99+
If you are labeling a parent entity, any subentity that can be predicted based on the currently trained version, will be labeled.
100+
101+
If you are labeling for a subentity, the parent will be labeled automatically.
103102

104-
## Labels for matching-text entities
103+
## Automatic labeling for non-machine learned entities
105104

106-
Matching-text entities include prebuilt entities, regular expression entities, list entities, and pattern.any entities. These are automatically labeled by LUIS so they are not required to be manually labeled by users.
105+
Non-machine learned entities include prebuilt entities, regular expression entities, list entities, and pattern.any entities. These are automatically labeled by LUIS so they are not required to be manually labeled by users.
107106

108107
## Entity prediction errors
109108

0 commit comments

Comments
 (0)