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
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
11
4
ms.topic: tutorial
12
-
ms.date: 12/17/2019
13
-
ms.author: diberry
5
+
ms.date: 03/31/2020
14
6
---
15
7
16
8
# Tutorial: Group and extract related data
@@ -103,11 +95,11 @@ LUIS provides several prebuilt entities for common data extraction.
103
95
104
96
## Train the app so the changes to the intent can be tested
105
97
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.
107
99
108
-
## Publish the app so the trained model is queryable from the endpoint
100
+
## Publish the app to access it from the HTTP endpoint
109
101
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)]
111
103
112
104
## Get intent and entity prediction from endpoint
113
105
@@ -183,7 +175,7 @@ LUIS provides several prebuilt entities for common data extraction.
183
175
184
176
## Clean up resources
185
177
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)]
Copy file name to clipboardExpand all lines: articles/cognitive-services/LUIS/tutorial-entity-roles.md
+16-8Lines changed: 16 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,14 +85,19 @@ The prebuilt entity, **geographyV2**, extracts location information, including c
85
85
> 
86
86
87
87
1. Select the checkbox and select **Done**.
88
+
89
+
## Add roles to prebuilt entity
90
+
88
91
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`.
90
93
91
94
> [!div class="mx-imgBorder"]
92
95
> 
93
96
97
+
## Label entity roles in example utterances
98
+
94
99
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_.
96
101
97
102
> [!div class="mx-imgBorder"]
98
103
> 
@@ -112,18 +117,21 @@ The prebuilt entity, **geographyV2**, extracts location information, including c
112
117
113
118
## Train the app so the changes to the intent can be tested
114
119
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.
116
121
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)]
118
125
119
-
[!INCLUDE [LUIS How to Publish steps](../../../includes/cognitive-services-luis-tutorial-how-to-publish.md)]
120
126
121
127
## Get intent and entity prediction from endpoint
122
128
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
+
124
131
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`.
125
133
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.
127
135
128
136
```json
129
137
{
@@ -165,7 +173,7 @@ The prebuilt entity, **geographyV2**, extracts location information, including c
165
173
166
174
## Clean up resources
167
175
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)]
Copy file name to clipboardExpand all lines: articles/cognitive-services/LUIS/tutorial-machine-learned-entity.md
+2-10Lines changed: 2 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,8 @@
1
1
---
2
2
title: "Tutorial: extract structured data with machine-learned entity - LUIS"
3
-
titleSuffix: Azure Cognitive Services
4
3
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
11
4
ms.topic: tutorial
12
-
ms.date: 12/17/2019
13
-
ms.author: diberry
5
+
ms.date: 03/31/2020
14
6
#Customer intent: As a new user, I want to understand how to extract complex data contained in a user utterance.
15
7
---
16
8
@@ -219,7 +211,7 @@ Test the app using the interactive **Test** panel. This process lets you enter a
219
211
220
212
1.[!INCLUDE [LUIS How to get endpoint first step](includes/howto-get-endpoint.md)]
221
213
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.
0 commit comments