Skip to content

Commit 9b801a1

Browse files
committed
edits
1 parent 2814a90 commit 9b801a1

File tree

5 files changed

+23
-85
lines changed

5 files changed

+23
-85
lines changed

articles/cognitive-services/LUIS/luis-tutorial-composite-entity.md

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
11
---
22
title: "Tutorial: Composite entity tutorial - LUIS"
3-
titleSuffix: Azure Cognitive Services
43
description: In this tutorial, add a composite entity to bundle extracted data of various types into a single containing entity. By bundling the data, the client application can easily extract related data in different data types.
5-
services: cognitive-services
6-
author: diberry
7-
manager: nitinme
8-
ms.custom: seodec18
9-
ms.service: cognitive-services
10-
ms.subservice: language-understanding
114
ms.topic: tutorial
12-
ms.date: 12/17/2019
13-
ms.author: diberry
5+
ms.date: 03/31/2020
146
---
157

168
# Tutorial: Group and extract related data
@@ -103,11 +95,11 @@ LUIS provides several prebuilt entities for common data extraction.
10395

10496
## Train the app so the changes to the intent can be tested
10597

106-
[!INCLUDE [LUIS How to Train steps](../../../includes/cognitive-services-luis-tutorial-how-to-train.md)]
98+
To train the app, select **Train**. Training applies the changes, such as the new entities and the labeled utterances, to the active model.
10799

108-
## Publish the app so the trained model is queryable from the endpoint
100+
## Publish the app to access it from the HTTP endpoint
109101

110-
[!INCLUDE [LUIS How to Publish steps](../../../includes/cognitive-services-luis-tutorial-how-to-publish.md)]
102+
[!INCLUDE [LUIS How to Publish steps](includes/howto-publish.md)]
111103

112104
## Get intent and entity prediction from endpoint
113105

@@ -183,7 +175,7 @@ LUIS provides several prebuilt entities for common data extraction.
183175

184176
## Clean up resources
185177

186-
[!INCLUDE [LUIS How to clean up resources](../../../includes/cognitive-services-luis-tutorial-how-to-clean-up-resources.md)]
178+
[!INCLUDE [LUIS How to clean up resources](includes/quickstart-tutorial-cleanup-resources.md)]
187179

188180
## Related information
189181

articles/cognitive-services/LUIS/tutorial-entity-roles.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,19 @@ The prebuilt entity, **geographyV2**, extracts location information, including c
8585
> ![Add geographyV2 prebuilt entity to app](media/tutorial-entity-roles/add-geographyV2-prebuilt-entity.png)
8686
8787
1. Select the checkbox and select **Done**.
88+
89+
## Add roles to prebuilt entity
90+
8891
1. In the **Entities** list, select the **geographyV2** to open the new entity.
89-
1. To add a role, select Add two roles, `Origin`, and `Destination`.
92+
1. To add a role, select **+** and add the following two roles: `Origin`, and `Destination`.
9093

9194
> [!div class="mx-imgBorder"]
9295
> ![Add roles to prebuilt entity](media/tutorial-entity-roles/add-roles-to-prebuilt-entity.png)
9396
97+
## Label entity roles in example utterances
98+
9499
1. Select **Intents** from the left-side navigation, then select the **MoveEmployeeToCity** intent. Notice the city names are labeled with the prebuilt entity **geographyV2**.
95-
1. In the context toolbar, select the **Entity palette**.
100+
1. In the context toolbar, select the **Entity palette** with the _pencil icon_.
96101

97102
> [!div class="mx-imgBorder"]
98103
> ![Select Entity Palette from content toolbar](media/tutorial-entity-roles/intent-detail-context-toolbar-select-entity-palette.png)
@@ -112,18 +117,21 @@ The prebuilt entity, **geographyV2**, extracts location information, including c
112117

113118
## Train the app so the changes to the intent can be tested
114119

115-
[!INCLUDE [LUIS How to Train steps](../../../includes/cognitive-services-luis-tutorial-how-to-train.md)]
120+
To train the app, select **Train**. Training applies the changes, such as the new entities and the labeled utterances, to the active model.
116121

117-
## Publish the app so the trained model is queryable from the endpoint
122+
## Publish the app to access it from the HTTP endpoint
123+
124+
[!INCLUDE [LUIS How to Publish steps](includes/howto-publish.md)]
118125

119-
[!INCLUDE [LUIS How to Publish steps](../../../includes/cognitive-services-luis-tutorial-how-to-publish.md)]
120126

121127
## Get intent and entity prediction from endpoint
122128

123-
1. [!INCLUDE [LUIS How to get endpoint first step](../../../includes/cognitive-services-luis-tutorial-how-to-get-endpoint.md)]
129+
1. [!INCLUDE [LUIS How to get endpoint first step](includes/howto-get-endpoint.md)]
130+
124131

132+
1. Go to the end of the URL in the address bar and replace _YOUR_QUERY_HERE_ with `Please move Carl Chamerlin from Tampa to Portland`.
125133

126-
1. Go to the end of the URL in the address bar and enter `Please move Carl Chamerlin from Tampa to Portland`. The last querystring parameter is `q`, the utterance **query**. This utterance is not the same as any of the labeled utterances so it is a good test and should return the `MoveEmployee` intent with the entity extracted.
134+
This utterance is not the same as any of the labeled utterances so it is a good test and should return the `MoveEmployee` intent with the entity extracted.
127135

128136
```json
129137
{
@@ -165,7 +173,7 @@ The prebuilt entity, **geographyV2**, extracts location information, including c
165173

166174
## Clean up resources
167175

168-
[!INCLUDE [LUIS How to clean up resources](../../../includes/cognitive-services-luis-tutorial-how-to-clean-up-resources.md)]
176+
[!INCLUDE [LUIS How to clean up resources](includes/quickstart-tutorial-cleanup-resources.md)]
169177

170178
## Related information
171179

articles/cognitive-services/LUIS/tutorial-machine-learned-entity.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
11
---
22
title: "Tutorial: extract structured data with machine-learned entity - LUIS"
3-
titleSuffix: Azure Cognitive Services
43
description: Extract structured data from an utterance using the machine-learned entity. To increase the extraction accuracy, add subcomponents with descriptors and constraints.
5-
services: cognitive-services
6-
author: diberry
7-
manager: nitinme
8-
ms.custom: seodec18
9-
ms.service: cognitive-services
10-
ms.subservice: language-understanding
114
ms.topic: tutorial
12-
ms.date: 12/17/2019
13-
ms.author: diberry
5+
ms.date: 03/31/2020
146
#Customer intent: As a new user, I want to understand how to extract complex data contained in a user utterance.
157
---
168

@@ -219,7 +211,7 @@ Test the app using the interactive **Test** panel. This process lets you enter a
219211

220212
1. [!INCLUDE [LUIS How to get endpoint first step](includes/howto-get-endpoint.md)]
221213

222-
1. Go to the end of the URL in the address and enter the same query as you entered in the interactive test panel.
214+
1. Go to the end of the URL in the address and replace _YOUR_QUERY_HERE_ with the same query as you entered in the interactive test panel.
223215

224216
`deliver a medium veggie pizza`
225217

includes/cognitive-services-luis-tutorial-how-to-publish.md

Lines changed: 0 additions & 32 deletions
This file was deleted.

includes/cognitive-services-luis-tutorial-how-to-train.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)