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/language-service/conversational-language-understanding/how-to/tag-utterances.md
+41-1Lines changed: 41 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,7 +100,7 @@ In CLU, use Azure OpenAI to suggest utterances to add to your project using GPT
100
100
In the Data Labeling page:
101
101
102
102
1. Click on the **Suggest utterances** button. A pane will open up on the right side prompting you to select your Azure OpenAI resource and deployment.
103
-
2. On selection of an Azure OpenAI resource, click **Connect**, which allows your Language resource to have direct access to your Azure OpenAI resource. It assigns your Language resource the role of `Cognitive Services User` to your Azure OpenAI resource, which allows your current Language resource to have access to Azure OpenAI's service.
103
+
2. On selection of an Azure OpenAI resource, click **Connect**, which allows your Language resource to have direct access to your Azure OpenAI resource. It assigns your Language resource the role of `Cognitive Services User` to your Azure OpenAI resource, which allows your current Language resource to have access to Azure OpenAI's service. If the connection fails, follow these [steps](#add-required-configurations-to-azure-openai-resource) below to add the right role to your Azure OpenAI resource manually.
104
104
3. Once the resource is connected, select the deployment. The recommended model for the Azure OpenAI deployment is `text-davinci-002`.
105
105
4. Select the intent you'd like to get suggestions for. Make sure the intent you have selected has at least 5 saved utterances to be enabled for utterance suggestions. The suggestions provided by Azure OpenAI are based on the **most recent utterances** you've added for that intent.
106
106
5. Click on **Generate utterances**. Once complete, the suggested utterances will show up with a dotted line around it, with the note *Generated by AI*. Those suggestions need to be accepted or rejected. Accepting a suggestion simply adds it to your project, as if you had added it yourself. Rejecting it deletes the suggestion entirely. Only accepted utterances will be part of your project and used for training or testing. You can accept or reject by clicking on the green check or red cancel buttons beside each utterance. You can also use the `Accept all` and `Reject all` buttons in the toolbar.
@@ -109,5 +109,45 @@ In the Data Labeling page:
109
109
110
110
Using this feature entails a charge to your Azure OpenAI resource for a similar number of tokens to the suggested utterances generated. Details for Azure OpenAI's pricing can be found [here](https://azure.microsoft.com/pricing/details/cognitive-services/openai-service/).
111
111
112
+
### Add required configurations to Azure OpenAI resource
113
+
114
+
If connecting your Language resource to an Azure OpenAI resource fails, follow these steps:
115
+
116
+
Enable identity management for your Language resource using the following options:
117
+
118
+
### [Azure portal](#tab/portal)
119
+
120
+
Your Language resource must have identity management, to enable it using [Azure portal](https://portal.azure.com/):
121
+
122
+
1. Go to your Language resource
123
+
2. From left hand menu, under **Resource Management** section, select **Identity**
124
+
3. From **System assigned** tab, make sure to set **Status** to **On**
125
+
126
+
### [Language Studio](#tab/studio)
127
+
128
+
Your Language resource must have identity management, to enable it using [Language Studio](https://aka.ms/languageStudio):
129
+
130
+
1. Click the settings icon in the top right corner of the screen
131
+
2. Select **Resources**
132
+
3. Select the check box **Managed Identity** for your Language resource.
133
+
134
+
---
135
+
136
+
After enabling managed identity, assign the role `Cognitive Services User` to your Azure OpenAI resource using the managed identity of your Language resource.
137
+
138
+
1. Go to the [Azure portal](https://portal.azure.com/) and navigate to your Azure OpenAI resource.
139
+
2. Click on the Access Control (IAM) tab on the left.
140
+
3. Click on Add > Add role assignment.
141
+
4. Select "Job function roles" and click Next.
142
+
5. Select `Cognitive Services User` from the list of roles and click Next.
143
+
6. Select Assign access to "Managed identity" and click on "Select members".
144
+
7. Under "Managed identity" select "Language".
145
+
8. Search for your resource and select it. Then click on the Select button below and next to complete the process.
146
+
9. Review the details and click on Review + Assign.
147
+
148
+
:::image type="content" source="../media/add-role-azure-openai.gif" alt-text="Multiple screenshots showing the steps to add the required role to your Azure OpenAI resource." lightbox="../media/add-role-azure-openai.gif":::
149
+
150
+
After a few minutes, refresh the Language Studio and you will be able to successfully connect to Azure OpenAI.
# What's new in Azure Cognitive Service for Language?
17
17
18
18
Azure Cognitive Service for Language is updated on an ongoing basis. To stay up-to-date with recent developments, this article provides you with information about new releases and features.
19
+
20
+
## April 2023
21
+
22
+
* You can now use Azure OpenAI to automatically label or generate data during authoring. Learn more with the links below.
23
+
* Auto-label your documents in [Custom text classification](./custom-text-classification/how-to/use-autolabeling.md) or [Custom named entity recognition](./custom-named-entity-recognition/how-to/use-autolabeling.md).
24
+
* Generate suggested utterances in [Conversational language understanding](./conversational-language-understanding/how-to/tag-utterances.md#suggest-utterances-with-azure-openai).
25
+
19
26
## March 2023
20
27
21
28
* New model version ('2023-01-01-preview') for Personally Identifiable Information (PII) detection with quality updates and new [language support](./personally-identifiable-information/language-support.md)
0 commit comments