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
Copy file name to clipboardExpand all lines: articles/cognitive-services/LUIS/how-to/orchestration-projects.md
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,12 +7,12 @@ author: aahill
7
7
ms.manager: nitinme
8
8
ms.subservice: language-understanding
9
9
ms.topic: how-to
10
-
ms.date: 03/08/2022
10
+
ms.date: 05/23/2022
11
11
---
12
12
13
13
# Combine LUIS and question answering capabilities
14
14
15
-
Cognitive Services provides two natural language processing services, [Language Understanding](../what-is-luis.md) (LUIS) and question answering, each with a different purpose. Understand when to use each service and how they compliment each other.
15
+
Cognitive Services provides two natural language processing services, [Language Understanding](../what-is-luis.md) (LUIS) and question answering, each with a different purpose. Understand when to use each service and how they complement each other.
16
16
17
17
Natural language processing (NLP) allows your client application, such as a chat bot, to work with your users' natural language.
18
18
@@ -34,14 +34,13 @@ As an example, if your chat bot receives the text "How do I get to the Human Res
34
34
35
35
Orchestration helps you connect more than one project and service together. Each connection in the orchestration is represented by a type and relevant data. The intent needs to have a name, a project type (LUIS, question answering, or conversational language understanding, and a project you want to connect to by name.
36
36
37
-
You can use conversational language understanding to create a new orchestration project, See the [conversational language understanding documentation](../../language-service/orchestration-workflow/how-to/create-project.md).
38
-
37
+
You can use orchestration workflow to create new orchestration projects. See [orchestration workflow](../../language-service/orchestration-workflow/how-to/create-project.md) for more information.
39
38
## Set up orchestration between Cognitive Services features
40
39
41
40
To use an orchestration project to connect LUIS, question answering, and conversational language understanding, you need:
42
41
43
42
* A language resource in [Language Studio](https://language.azure.com/) or the Azure portal.
44
-
* To change your LUIS authoring resource to the Language resource. You can also optionally export your application from LUIS, and then [import it into conversational language understanding](../../language-service/orchestration-workflow/how-to/create-project.md#export-and-import-a-project).
43
+
* To change your LUIS authoring resource to the Language resource. You can also optionally export your application from LUIS, and then [import it into conversational language understanding](../../language-service/orchestration-workflow/how-to/create-project.md#import-an-orchestration-workflow-project).
45
44
46
45
>[!Note]
47
46
>LUIS can be used with Orchestration projects in West Europe only, and requires the authoring resource to be a Language resource. You can either import the application in the West Europe Language resource or change the authoring resource from the portal.
Copy file name to clipboardExpand all lines: articles/cognitive-services/language-service/conversational-language-understanding/concepts/backwards-compatibility.md
+31-23Lines changed: 31 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,56 +7,64 @@ author: aahill
7
7
manager: nitinme
8
8
ms.service: cognitive-services
9
9
ms.subservice: language-service
10
-
ms.topic: overview
11
-
ms.date: 03/03/2022
10
+
ms.topic: conceptual
11
+
ms.date: 05/13/2022
12
12
ms.author: aahi
13
13
ms.custom: language-service-clu, ignite-fall-2021
14
14
---
15
15
16
16
# Backwards compatibility with LUIS applications
17
17
18
-
You can reuse some of the content of your existing LUIS applications in [Conversational Language Understanding](../overview.md). When working with Conversational Language Understanding projects, you can:
19
-
* Create CLU conversation projects from LUIS application JSON files.
18
+
You can reuse some of the content of your existing [LUIS](../../../LUIS/what-is-luis.md) applications in [conversational language understanding](../overview.md). When working with conversational language understanding projects, you can:
19
+
* Create conversational language understanding conversation projects from LUIS application JSON files.
20
20
* Create LUIS applications that can be connected to [orchestration workflow](../../orchestration-workflow/overview.md) projects.
21
21
22
22
> [!NOTE]
23
23
> This guide assumes you have created a Language resource. If you're getting started with the service, see the [quickstart article](../quickstart.md).
24
24
25
25
## Import a LUIS application JSON file into Conversational Language Understanding
26
26
27
+
### [Language Studio](#tab/studio)
28
+
27
29
To import a LUIS application JSON file, click on the icon next to **Create a new project** and select **Import**. Then select the LUIS file. When you import a new project into Conversational Language Understanding, you can select an exported LUIS application JSON file, and the service will automatically create a project with the currently available features.
28
30
29
31
:::image type="content" source="../media/import.png" alt-text="A screenshot showing the import button for conversation projects." lightbox="../media/import.png":::
30
32
31
-
### Supported features
32
-
When importing the LUIS JSON application into CLU, it will create a **Conversations** project with the following features will be selected:
33
+
### [REST API](#tab/rest-api)
34
+
35
+
[!INCLUDE [Import LUIS application](../includes/rest-api/import-LUIS-project.md)]
36
+
37
+
---
38
+
39
+
## Supported features
40
+
When you import the LUIS JSON application into conversational language understanding, it will create a **Conversations** project with the following features will be selected:
33
41
34
42
|**Feature**|**Notes**|
35
-
| :- | :- |
36
-
|Intents|All of your intents will be transferred as CLU intents with the same names.|
37
-
|ML entities|All of your ML entities will be transferred as CLU entities with the same names. The labels will be persisted and used to train the Learned component of the entity. Structured ML entities will transfer over the leaf nodes of the structure as different entities and apply their labels accordingly.|
38
-
|Utterances|All of your LUIS utterances will be transferred as CLU utterances with their intent and entity labels. Structured ML entity labels will only consider the top-level entity labels, and the individual sub-entity labels will be ignored.|
43
+
|: - |: - |
44
+
|Intents|All of your intents will be transferred as conversational language understanding intents with the same names.|
45
+
|ML entities|All of your ML entities will be transferred as conversational language understanding entities with the same names. The labels will be persisted and used to train the Learned component of the entity. Structured ML entities will transfer over the leaf nodes of the structure as different entities and apply their labels accordingly.|
46
+
|Utterances|All of your LUIS utterances will be transferred as conversational language understanding utterances with their intent and entity labels. Structured ML entity labels will only consider the top-level entity labels, and the individual subentity labels will be ignored.|
39
47
|Culture|The primary language of the Conversation project will be the LUIS app culture. If the culture is not supported, the importing will fail. |
40
-
|List entities|All of your list entities will be transferred as CLU entities with the same names. The normalized values and synonyms of each list will be transferred as keys and synonyms in the list component for the CLU entity.|
41
-
|Prebuilt entities|All of your prebuilt entities will be transferred as CLU entities with the same names. The CLU entity will have the relevant [prebuilt entities](entity-components.md#prebuilt-component) enabled if they are supported. |
42
-
|Required entity features in ML entities|If you had a prebuilt entity or a list entity as a required feature to another ML entity, then the ML entity will be transferred as a CLU entity with the same name and its labels will apply. The CLU entity will include the required feature entity as a component. The [overlap method](entity-components.md#overlap-methods) will be set as “Exact Overlap” for the CLU entity.|
43
-
|Non-required entity features in ML entities|If you had a prebuilt entity or a list entity as a non-required feature to another ML entity, then the ML entity will be transferred as a CLU entity with the same name and its ML labels will apply. If an ML entity was used as a feature to another ML entity, it will not be transferred over.|
44
-
|Roles|All of your roles will be transferred as CLU entities with the same names. Each role will be its own CLU entity. The role’s entity type will determine which component is populated for the role. Roles on prebuilt entities will transfer as CLU entities with the prebuilt entity component enabled and the role labels transferred over to train the Learned component. Roles on list entities will transfer as CLU entities with the list entity component populated and the role labels transferred over to train the Learned component. Roles on ML entities will be transferred as CLU entities with their labels applied to train the Learned component of the entity. |
48
+
|List entities|All of your list entities will be transferred as conversational language understanding entities with the same names. The normalized values and synonyms of each list will be transferred as keys and synonyms in the list component for the conversational language understanding entity.|
49
+
|Prebuilt entities|All of your prebuilt entities will be transferred as conversational language understanding entities with the same names. The conversational language understanding entity will have the relevant [prebuilt entities](entity-components.md#prebuilt-component) enabled if they are supported. |
50
+
|Required entity features in ML entities|If you had a prebuilt entity or a list entity as a required feature to another ML entity, then the ML entity will be transferred as a conversational language understanding entity with the same name and its labels will apply. The conversational language understanding entity will include the required feature entity as a component. The [overlap method](entity-components.md#entity-options) will be set as “Exact Overlap” for the conversational language understanding entity.|
51
+
|Non-required entity features in ML entities|If you had a prebuilt entity or a list entity as a non-required feature to another ML entity, then the ML entity will be transferred as a conversational language understanding entity with the same name and its ML labels will apply. If an ML entity was used as a feature to another ML entity, it will not be transferred over.|
52
+
|Roles|All of your roles will be transferred as conversational language understanding entities with the same names. Each role will be its own conversational language understanding entity. The role’s entity type will determine which component is populated for the role. Roles on prebuilt entities will transfer as conversational language understanding entities with the prebuilt entity component enabled and the role labels transferred over to train the Learned component. Roles on list entities will transfer as conversational language understanding entities with the list entity component populated and the role labels transferred over to train the Learned component. Roles on ML entities will be transferred as conversational language understanding entities with their labels applied to train the Learned component of the entity. |
45
53
46
-
###Unsupported features
54
+
## Unsupported features
47
55
48
-
When importing the LUIS JSON application into CLU, certain features will be ignored, but they will not block you from importing the application. The following features will be ignored:
56
+
When you import the LUIS JSON application into conversational language understanding, certain features will be ignored, but they will not block you from importing the application. The following features will be ignored:
49
57
50
58
|**Feature**|**Notes**|
51
-
| :- | :- |
52
-
|Application Settings|The settings such as Normalize Punctuation, Normalize Diacritics, and Use All Training Data were meant to improve predictions for intents and entities. The new models in CLU are not sensitive to small changes such as punctuation and are therefore not available as settings.|
53
-
|Features|Phrase list features and features to intents will all be ignored. Features were meant to introduce semantic understanding for LUIS that CLU can provide out of the box with its new models.|
54
-
|Patterns|Patterns were used to cover for lack of quality in intent classification. The new models in CLU are expected to perform better without needing patterns.|
55
-
|Pattern.Any Entities|Pattern.Any entities were used to cover for lack of quality in ML entity extraction. The new models in CLU are expected to perform better without needing pattern.any entities.|
59
+
|: - |: - |
60
+
|Application Settings|The settings such as Normalize Punctuation, Normalize Diacritics, and Use All Training Data were meant to improve predictions for intents and entities. The new models in conversational language understanding are not sensitive to small changes such as punctuation and are therefore not available as settings.|
61
+
|Features|Phrase list features and features to intents will all be ignored. Features were meant to introduce semantic understanding for LUIS that conversational language understanding can provide out of the box with its new models.|
62
+
|Patterns|Patterns were used to cover for lack of quality in intent classification. The new models in conversational language understanding are expected to perform better without needing patterns.|
63
+
|`Pattern.Any` Entities|`Pattern.Any` entities were used to cover for lack of quality in ML entity extraction. The new models in conversational language understanding are expected to perform better without needing `Pattern.Any` entities.|
56
64
|Regex Entities| Not currently supported |
57
65
|Structured ML Entities| Not currently supported |
58
66
59
-
## Use a published LUIS application in Conversational Language Understanding orchestration projects
67
+
## Use a published LUIS application in orchestration workflow projects
60
68
61
69
You can only connect to published LUIS applications that are owned by the same Language resource that you use for Conversational Language Understanding. You can change the authoring resource to a Language **S** resource in **West Europe** applications. See the [LUIS documentation](../../../luis/luis-how-to-azure-subscription.md#assign-luis-resources) for steps on assigning a different resource to your LUIS application. You can also export then import the LUIS applications into your Language resource. You must train and publish LUIS applications for them to appear in Conversational Language Understanding when you want to connect them to orchestration projects.
0 commit comments