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/ai-services/language-service/conversational-language-understanding/how-to/build-schema.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,8 +19,8 @@ In conversational language understanding projects, the *schema* is defined as th
19
19
20
20
Consider the following guidelines when you choose intents for your project:
21
21
22
-
- Create distinct, separable intents. An intent is best described as action that the user wants to perform. Think of the project you're building and identify all the different actions that your users might take when they interact with your project. Sending, calling, and canceling are all actions that are best represented as different intents. "Canceling an order" and "canceling an appointment" are similar, with the distinction being *what* they're canceling. Those two actions should be represented under the same intent, *cancel*.
23
-
- Create entities to extract relevant pieces of information within your text. The entities should be used to capture the relevant information that's needed to fulfill your user's action. For example, *order* or *appointment* could be different things that a user is trying to cancel, and you should create an entity to capture that piece of information.
22
+
-**Create distinct, separable intents.** An intent is best described as action that the user wants to perform. Think of the project you're building and identify all the different actions that your users might take when they interact with your project. Sending, calling, and canceling are all actions that are best represented as different intents. "Canceling an order" and "canceling an appointment" are similar, with the distinction being *what* they're canceling. Those two actions should be represented under the same intent, *cancel*.
23
+
-**Create entities to extract relevant pieces of information within your text.** The entities should be used to capture the relevant information that's needed to fulfill your user's action. For example, *order* or *appointment* could be different things that a user is trying to cancel, and you should create an entity to capture that piece of information.
24
24
25
25
You can "send a message," "send an email," or "send a package." Creating an intent to capture each of those requirements won't scale over time, and you should use entities to identify *what* the user was sending. The combination of intents and entities should determine your conversation flow.
26
26
@@ -70,7 +70,7 @@ To add a prebuilt component, select the prebuilt type from the dropdown menu in
70
70
71
71
<!--:::image type="content" source="../media/add-prebuilt-component.png" alt-text="A screenshot that shows a prebuilt component in Language Studio." lightbox="../media/add-prebuilt-component.png":::-->
72
72
73
-
### Add list component
73
+
### Add a list component
74
74
75
75
To add a list component, select **Add list**. You can add multiple lists to each entity:
76
76
@@ -80,7 +80,7 @@ To add a list component, select **Add list**. You can add multiple lists to each
80
80
81
81
<!--:::image type="content" source="../media/add-list-component.png" alt-text="A screenshot that shows a list component in Language Studio." lightbox="../media/add-list-component.png":::-->
82
82
83
-
### Add regex component
83
+
### Add a regex component
84
84
85
85
To add a regex component, select **Add expression**. Name the regex key, and enter a regular expression that matches the entity to be extracted.
Copy file name to clipboardExpand all lines: articles/ai-services/language-service/conversational-language-understanding/how-to/migrate-from-luis.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ The following table presents a side-by-side comparison between the features of L
41
41
|Intents and utterances| Intents and utterances |All intents and utterances are transferred. Utterances are labeled with their transferred entities. |
42
42
|Application GUIDs |Project names| A project is created for each migrating application with the application name. Any special characters in the application names are removed in CLU.|
43
43
|Versioning| Every time you train, a model is created and acts as a version of your [project](#how-do-i-manage-versions-in-clu). | A project is created for the selected application version. |
44
-
|Evaluation using batch testing |Evaluation using testing sets |[Adding your testing dataset](../how-to/tag-utterances.md#how-to-label-your-utterances) is required.|
44
+
|Evaluation using batch testing |Evaluation using testing sets |[Adding your testing dataset](../how-to/tag-utterances.md#label-your-utterances) is required.|
45
45
|Role-Based Access Control (RBAC) for LUIS resources |Role-Based Access Control (RBAC) available for Language resources |Language resource RBAC must be [manually added after migration](../../concepts/role-based-access-control.md). |
46
46
|Single training mode| Standard and advanced [training modes](#how-are-the-training-times-different-in-clu-how-is-standard-training-different-from-advanced-training)| Training is required after application migration. |
47
47
|Two publishing slots and version publishing |Ten deployment slots with custom naming | Deployment is required after the application’s migration and training. |
Copy file name to clipboardExpand all lines: articles/ai-services/language-service/conversational-language-understanding/how-to/tag-utterances.md
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ After you [build your schema](build-schema.md) and [create your project](create-
33
33
As you add utterances and label them, keep in mind:
34
34
35
35
* The machine learning models generalize based on the labeled examples that you provide. The more examples that you provide, the more data points the model has to make better generalizations.
36
-
* The precision, consistency, and completeness of your labeled data are key factors to determining model performance.
36
+
* The precision, consistency, and completeness of your labeled data are key factors to determining model performance:
37
37
38
38
***Label precisely:** Label each intent and entity to its right type always. Only include what you want classified and extracted. Avoid unnecessary data in your labels.
39
39
***Label consistently:** The same entity should have the same label across all the utterances.
@@ -95,7 +95,9 @@ To delete an entity:
95
95
96
96
## Suggest utterances with Azure OpenAI
97
97
98
-
In CLU, use Azure OpenAI to suggest utterances to add to your project by using generative language models. We recommend that you use an Azure AI Foundry resource while you use CLU so that you don't need to connect multiple resources. To use the Azure AI Foundry resource, you need to provide your Azure AI Foundry resource with elevated access. To do so, access the Azure portal. Within your Azure AI resource, provide access as a **Cognitive Services User** to itself. This step ensures that all parts of your resource are communicating correctly.
98
+
In CLU, use Azure OpenAI to suggest utterances to add to your project by using generative language models. We recommend that you use an Azure AI Foundry resource while you use CLU so that you don't need to connect multiple resources.
99
+
100
+
To use the Azure AI Foundry resource, you need to provide your Azure AI Foundry resource with elevated access. To do so, access the Azure portal. Within your Azure AI resource, provide access as a **Cognitive Services User** to itself. This step ensures that all parts of your resource are communicating correctly.
99
101
100
102
### Connect with separate Language and Azure OpenAI resources
101
103
@@ -113,13 +115,17 @@ On the **Data labeling** page:
113
115
1. After you select an Azure OpenAI resource, select **Connect** so that your Language resource has direct access to your Azure OpenAI resource. It assigns your Language resource the **Cognitive Services User** role to your Azure OpenAI resource. Now your current Language resource has access to Azure OpenAI. If the connection fails, follow [these steps](#add-required-configurations-to-azure-openai-resource) to manually add the correct role to your Azure OpenAI resource.
114
116
1. After the resource is connected, select the deployment. The model that we recommend for the Azure OpenAI deployment is `gpt-35-turbo-instruct`.
115
117
1. Select the intent for which you want to get suggestions. Make sure the intent that you selected has at least five saved utterances to be enabled for utterance suggestions. The suggestions provided by Azure OpenAI are based on the most recent utterances that you added for that intent.
116
-
1. Select **Generate utterances**. Then the suggested utterances show up with a dotted line around them and the note **Generated by AI**. Those suggestions must be accepted or rejected. Accepting a suggestion adds it to your project, as if you had added it yourself. Rejecting a suggestion deletes it entirely. Only accepted utterances are part of your project and used for training or testing. To accept or reject, select the green check mark or red cancel buttons beside each utterance. You can also use **Accept all** and **Reject all** on the toolbar.
118
+
1. Select **Generate utterances**.
119
+
120
+
The suggested utterances show up with a dotted line around them and the note **Generated by AI**. Those suggestions must be accepted or rejected. Accepting a suggestion adds it to your project, as if you had added it yourself. Rejecting a suggestion deletes it entirely. Only accepted utterances are part of your project and used for training or testing.
121
+
122
+
To accept or reject, select the green check mark or red cancel buttons beside each utterance. You can also use **Accept all** and **Reject all** on the toolbar.
117
123
118
124
:::image type="content" source="../media/suggest-utterances.png" alt-text="A screenshot that shows suggested utterances." lightbox="../media/suggest-utterances.png":::
119
125
120
-
Using this feature entails a charge to your Azure OpenAI resource for a similar number of tokens to the suggested utterances generated. For information on Azure OpenAI pricing, see [Azure OpenAI Service pricing](https://azure.microsoft.com/pricing/details/cognitive-services/openai-service/).
126
+
Use of this feature entails a charge to your Azure OpenAI resource for a similar number of tokens to the suggested utterances that are generated. For information on Azure OpenAI pricing, see [Azure OpenAI Service pricing](https://azure.microsoft.com/pricing/details/cognitive-services/openai-service/).
121
127
122
-
### Add required configurations to an Azure OpenAI resource
128
+
### Add required configurations to Azure OpenAI resource
123
129
124
130
Enable identity management for your Language resource by using the following options.
Copy file name to clipboardExpand all lines: articles/ai-services/language-service/conversational-language-understanding/includes/language-studio/create-project.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,13 +15,13 @@ ms.author: lajanuar
15
15
16
16
:::image type="content" source="../../media/projects-page.png" alt-text="A screenshot that shows the conversation project page in Language Studio." lightbox="../../media/projects-page.png":::
17
17
18
-
To create a new project, provide the following information:
18
+
1.To create a new project, provide the following information:
19
19
20
-
|Value | Description |
21
-
|---------|---------|
22
-
|Name | A name for your project. After you create it, the name can't be changed. |
23
-
|Description | Optional project description. |
24
-
|Utterances primary language | The primary language of your project. Your training data should primarily be in this language. |
25
-
|Enable multiple languages | Whether you want to enable your project to support [multiple languages](../../language-support.md#multi-lingual-option) at once. |
20
+
|Value | Description |
21
+
|---------|---------|
22
+
|Name | A name for your project. After you create it, the name can't be changed. |
23
+
|Description | Optional project description. |
24
+
|Utterances primary language | The primary language of your project. Your training data should primarily be in this language. |
25
+
|Enable multiple languages | Whether you want to enable your project to support [multiple languages](../../language-support.md#multi-lingual-option) at once. |
26
26
27
-
After you're finished, select **Create**. You should now see the **Getting started** landing page for your project.
27
+
1.After you're finished, select **Create**. You should now see the **Getting started** landing page for your project.
0 commit comments