Skip to content

Commit 454c186

Browse files
authored
Merge pull request #98004 from diberry/luis-only-old-portal
[Cogsvcs] LUIS - not updating tutorials - old portal only
2 parents 6db83f3 + 67ea12a commit 454c186

File tree

3 files changed

+57
-40
lines changed

3 files changed

+57
-40
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: include file
3+
description: include file
4+
services: cognitive-services
5+
author: diberry
6+
manager: nitinme
7+
ms.custom: seodec18
8+
ms.service: cognitive-services
9+
ms.subservice: luis
10+
ms.topic: include
11+
ms.custom: include file
12+
ms.date: 12/05/2019
13+
ms.author: diberry
14+
---
15+
16+
> [!NOTE]
17+
> This article applies to the existing LUIS portal only. Do not use this article with the preview LUIS portal. The same apps are available in both portals.

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

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,30 +9,30 @@ ms.custom: seodec18
99
ms.service: cognitive-services
1010
ms.subservice: language-understanding
1111
ms.topic: tutorial
12-
ms.date: 10/14/2019
12+
ms.date: 12/05/2019
1313
ms.author: diberry
1414
---
1515

1616
# Tutorial: Group and extract related data
1717
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.
1818

19-
The purpose of the composite entity is to group related entities into a parent category entity. The information exists as separate entities before a composite is created.
19+
The purpose of the composite entity is to group related entities into a parent category entity. The information exists as separate entities before a composite is created.
2020

2121
The composite entity is a good fit for this type of data because the data:
2222

23-
* Are related to each other.
23+
* Are related to each other.
2424
* Use a variety of entity types.
2525
* Need to be grouped and processed by client app as a unit of information.
2626

27-
[!INCLUDE [Waiting for LUIS portal refresh](./includes/wait-v3-upgrade.md)]
27+
[!INCLUDE [Only valid with current portal](includes/old-portal-only.md)]
2828

2929
**In this tutorial, you learn how to:**
3030

3131
<!-- green checkmark -->
3232
> [!div class="checklist"]
3333
> * Import example app
3434
> * Create intent
35-
> * Add composite entity
35+
> * Add composite entity
3636
> * Train
3737
> * Publish
3838
> * Get intents and entities from endpoint
@@ -49,22 +49,22 @@ The composite entity is a good fit for this type of data because the data:
4949

5050
## Composite entity
5151

52-
In this app, the department name is defined in the **Department** list entity and includes synonyms.
52+
In this app, the department name is defined in the **Department** list entity and includes synonyms.
5353

54-
The **TransferEmployeeToDepartment** intent has example utterances to request an employee be moved to a new department.
54+
The **TransferEmployeeToDepartment** intent has example utterances to request an employee be moved to a new department.
5555

5656
Example utterances for this intent include:
5757

5858
|Example utterances|
5959
|--|
6060
|move John W. Smith to the accounting department|
6161
|transfer Jill Jones from to R&D|
62-
63-
The move request should include the department name, and the employee name.
62+
63+
The move request should include the department name, and the employee name.
6464

6565
## Add the PersonName prebuilt entity to help with common data type extraction
6666

67-
LUIS provides several prebuilt entities for common data extraction.
67+
LUIS provides several prebuilt entities for common data extraction.
6868

6969
1. Select **Build** from the top navigation, then select **Entities** from the left navigation menu.
7070

@@ -82,11 +82,11 @@ LUIS provides several prebuilt entities for common data extraction.
8282

8383
1. Select **TransferEmployeeToDepartment** from the intents list.
8484

85-
1. In the utterance `place John Jackson in engineering`, select the personName entity, `John Jackson`, then select **Wrap in composite entity** in the pop-up menu list for the following utterance.
85+
1. In the utterance `place John Jackson in engineering`, select the personName entity, `John Jackson`, then select **Wrap in composite entity** in the pop-up menu list for the following utterance.
8686

8787
![Screenshot of selecting wrap composite in drop down dialog](./media/luis-tutorial-composite-entity/hr-create-composite-entity-1.png)
8888

89-
1. Then immediately select the last entity, `engineering` in the utterance. A green bar is drawn under the selected words indicating a composite entity. In the pop-up menu, enter the composite name `TransferEmployeeInfo` then select enter.
89+
1. Then immediately select the last entity, `engineering` in the utterance. A green bar is drawn under the selected words indicating a composite entity. In the pop-up menu, enter the composite name `TransferEmployeeInfo` then select enter.
9090

9191
![Screenshot of entering composite name in drop down dialog](./media/luis-tutorial-composite-entity/hr-create-composite-entity-2.png)
9292

@@ -98,23 +98,23 @@ LUIS provides several prebuilt entities for common data extraction.
9898

9999
1. In each example utterance, select the left-most entity that should be in the composite. Then select **Wrap in composite entity**.
100100

101-
1. Select the last word in the composite entity then select **TransferEmployeeInfo** from the pop-up menu.
101+
1. Select the last word in the composite entity then select **TransferEmployeeInfo** from the pop-up menu.
102102

103-
1. Verify all utterances in the intent are labeled with the composite entity.
103+
1. Verify all utterances in the intent are labeled with the composite entity.
104104

105-
## Train the app so the changes to the intent can be tested
105+
## Train the app so the changes to the intent can be tested
106106

107107
[!INCLUDE [LUIS How to Train steps](../../../includes/cognitive-services-luis-tutorial-how-to-train.md)]
108108

109109
## Publish the app so the trained model is queryable from the endpoint
110110

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

113-
## Get intent and entity prediction from endpoint
113+
## Get intent and entity prediction from endpoint
114114

115115
1. [!INCLUDE [LUIS How to get endpoint first step](../../../includes/cognitive-services-luis-tutorial-how-to-get-endpoint.md)]
116116

117-
2. Go to the end of the URL in the address and enter `Move Jill Jones to DevOps`. The last querystring parameter is `q`, the utterance query.
117+
2. Go to the end of the URL in the address and enter `Move Jill Jones to DevOps`. The last querystring parameter is `q`, the utterance query.
118118

119119
Since this test is to verify the composite is extracted correctly, a test can either include an existing sample utterance or a new utterance. A good test is to include all the child entities in the composite entity.
120120

@@ -180,7 +180,7 @@ LUIS provides several prebuilt entities for common data extraction.
180180
}
181181
```
182182

183-
This utterance returns a composite entities array. Each entity is given a type and value. To find more precision for each child entity, use the combination of type and value from the composite array item to find the corresponding item in the entities array.
183+
This utterance returns a composite entities array. Each entity is given a type and value. To find more precision for each child entity, use the combination of type and value from the composite array item to find the corresponding item in the entities array.
184184

185185
## Clean up resources
186186

@@ -197,7 +197,7 @@ LUIS provides several prebuilt entities for common data extraction.
197197

198198
## Next steps
199199

200-
This tutorial created a composite entity to encapsulate existing entities. This allows the client application to find a group of related data in different datatypes to continue the conversation. A client application for this Human Resources app could ask what day and time the move needs to begin and end. It could also ask about other logistics of the move such as a physical phone.
200+
This tutorial created a composite entity to encapsulate existing entities. This allows the client application to find a group of related data in different datatypes to continue the conversation. A client application for this Human Resources app could ask what day and time the move needs to begin and end. It could also ask about other logistics of the move such as a physical phone.
201201

202-
> [!div class="nextstepaction"]
203-
> [Learn how to add a simple entity with a phrase list](luis-quickstart-primary-and-secondary-data.md)
202+
> [!div class="nextstepaction"]
203+
> [Learn how to add a simple entity with a phrase list](luis-quickstart-primary-and-secondary-data.md)

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

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
---
22
title: "Tutorial: Contextual data with roles - LUIS"
33
titleSuffix: Azure Cognitive Services
4-
description: Find related data based on context. For example, an origin and destination locations for a physical move from one building and office to another building and office are related.
4+
description: Find related data based on context. For example, an origin and destination locations for a physical move from one building and office to another building and office are related.
55
services: cognitive-services
66
author: diberry
77
manager: nitinme
88
ms.custom: seodec18
99
ms.service: cognitive-services
1010
ms.subservice: language-understanding
1111
ms.topic: tutorial
12-
ms.date: 10/14/2019
12+
ms.date: 12/05/2019
1313
ms.author: diberry
14-
#Customer intent: As a new user, I want to understand how and why to use roles on an entity.
14+
#Customer intent: As a new user, I want to understand how and why to use roles on an entity.
1515
---
1616

1717
# Tutorial: Extract contextually related data from an utterance
1818

19-
In this tutorial, find related pieces of data based on context. For example, an origin and destination locations for a transfer from one city to another. Both pieces of data may be required and they are related to each other.
19+
In this tutorial, find related pieces of data based on context. For example, an origin and destination locations for a transfer from one city to another. Both pieces of data may be required and they are related to each other.
2020

21-
A role can be used with any prebuilt or custom entity type, and used in both example utterances and patterns.
21+
A role can be used with any prebuilt or custom entity type, and used in both example utterances and patterns.
2222

23-
[!INCLUDE [Waiting for LUIS portal refresh](./includes/wait-v3-upgrade.md)]
23+
[!INCLUDE [Only valid with current portal](includes/old-portal-only.md)]
2424

2525
**In this tutorial, you learn how to:**
2626

2727
> [!div class="checklist"]
2828
> * Create new app
29-
> * Add intent
29+
> * Add intent
3030
> * Get origin and destination information using roles
3131
> * Train
3232
> * Publish
@@ -53,9 +53,9 @@ A role should be used when the entity data to extract:
5353

5454
1. [!INCLUDE [Start in Build section](../../../includes/cognitive-services-luis-tutorial-build-section.md)]
5555

56-
1. Select **Create new intent**.
56+
1. Select **Create new intent**.
5757

58-
1. Enter `MoveEmployeeToCity` in the pop-up dialog box then select **Done**.
58+
1. Enter `MoveEmployeeToCity` in the pop-up dialog box then select **Done**.
5959

6060
![Screenshot of create new intent dialog with](./media/tutorial-entity-roles/create-new-intent-move-employee-to-city.png)
6161

@@ -81,24 +81,24 @@ The prebuilt entity, geographyV2, extracts location information, including city
8181

8282
1. Select **Entities** from the left-side navigation.
8383

84-
1. Select **Add prebuilt entity**, then select `geo` in the search bar to filter the prebuilt entities.
84+
1. Select **Add prebuilt entity**, then select `geo` in the search bar to filter the prebuilt entities.
8585

8686
![Add geographyV2 prebuilt entity to app](media/tutorial-entity-roles/add-geographyV2-prebuilt-entity.png)
8787
1. Select the checkbox and select **Done**.
88-
1. In the **Entities** list, select the **geographyV2** to open the new entity.
89-
1. Add two roles, `Origin`, and `Destination`.
88+
1. In the **Entities** list, select the **geographyV2** to open the new entity.
89+
1. Add two roles, `Origin`, and `Destination`.
9090

9191
![Add roles to prebuilt entity](media/tutorial-entity-roles/add-roles-to-prebuilt-entity.png)
9292
1. Select **Intents** from the left-side navigation, then select the **MoveEmployeeToCity** intent. Notice the city names are labeled with the prebuilt entity **geographyV2**.
9393
1. In the first utterance of the list, select the origin location. A drop-down menu appears. Select **geographyV2** in the list, then follow the menu across to select **Origin**.
94-
1. Use the method from the previous step to mark all roles of locations in all the utterances.
94+
1. Use the method from the previous step to mark all roles of locations in all the utterances.
9595

9696

97-
## Add example utterances to the None intent
97+
## Add example utterances to the None intent
9898

9999
[!INCLUDE [Follow these steps to add the None intent to the app](../../../includes/cognitive-services-luis-create-the-none-intent.md)]
100100

101-
## Train the app so the changes to the intent can be tested
101+
## Train the app so the changes to the intent can be tested
102102

103103
[!INCLUDE [LUIS How to Train steps](../../../includes/cognitive-services-luis-tutorial-how-to-train.md)]
104104

@@ -148,9 +148,9 @@ The prebuilt entity, geographyV2, extracts location information, including city
148148
]
149149
}
150150
```
151-
151+
152152
The correct intent is predicted and the entities array has both the origin and destination roles in the corresponding **entities** property.
153-
153+
154154
## Clean up resources
155155

156156
[!INCLUDE [LUIS How to clean up resources](../../../includes/cognitive-services-luis-tutorial-how-to-clean-up-resources.md)]
@@ -169,5 +169,5 @@ The prebuilt entity, geographyV2, extracts location information, including city
169169

170170
This tutorial created a new intent and added example utterances for the contextually learned data of origin and destination locations. Once the app is trained and published, a client-application can use that information to create a move ticket with the relevant information.
171171

172-
> [!div class="nextstepaction"]
173-
> [Learn how to add a composite entity](luis-tutorial-composite-entity.md)
172+
> [!div class="nextstepaction"]
173+
> [Learn how to add a composite entity](luis-tutorial-composite-entity.md)

0 commit comments

Comments
 (0)