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
CPU core and memory correspond to the `--cpus` and `--memory` settings, which are used as part of the `docker run` command.
47
47
@@ -54,7 +54,7 @@ Before you proceed with running the docker image, you need to export your own tr
54
54
|**{API_KEY}**|The key for your Language resource. You can find it on your resource's **Key and endpoint** page, on the Azure portal.|xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx|
55
55
|**{ENDPOINT_URI}**|The endpoint for accessing the Conversational Language Understanding API. You can find it on your resource's **Key and endpoint** page, on the Azure portal.|`https://<your-custom-subdomain>.cognitiveservices.azure.com`|
56
56
|**{PROJECT_NAME}**|The name of the project containing the model that you want to export. You can find it on your projects tab in the Language Studio portal.|myProject|
57
-
|**{TRAINED_MODEL_NAME}** |The name of the trained model you want to export. You can find your trained models on your model evaluation tab under your project in the Language Studio portal|myTrainedModel
57
+
|**{TRAINED_MODEL_NAME}**|The name of the trained model you want to export. You can find your trained models on your model evaluation tab under your project in the Language Studio portal|myTrainedModel|
58
58
|**{EXPORTED_MODEL_NAME}**|The name to assign for the new exported model created.|myExportedModel |
59
59
60
60
```bash
@@ -74,8 +74,8 @@ The CLU container image can be found on the `mcr.microsoft.com` container regist
74
74
75
75
The latest CLU container is available in several languages. To download the container for the English container, use the following command:
Copy file name to clipboardExpand all lines: articles/ai-services/language-service/personally-identifiable-information/how-to/adapt-to-domain-pii.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
@@ -42,7 +42,7 @@ Once you test the service with your own data, you can use `entitySynonyms` to:
42
42
## Usage guidelines
43
43
44
44
1. Synonyms must be restricted to phrases that directly refer to the type, and preserve semantic correctness. For example, for the entity type `InternationalBankAccountNumber`, a valid synonym could be "Financial Account Number" or *FAN*. But, the word *deposit* though may be associated with type, as it doesn't directly have a meaning of a bank account number and therefore shouldn't be used.
45
-
1. Synonyms should be country agnostic. For example, *German passport* wouldn't be helpful to include.
45
+
1. Synonyms should be country/region agnostic. For example, *German passport* wouldn't be helpful to include.
46
46
1. Synonyms can't be reused for more than one entity type.
47
47
1. This synonym recognition feature only accepts a subset of entity types supported by the service. The supported entity types and example synonyms include:
Copy file name to clipboardExpand all lines: articles/ai-services/translator/how-to/create-translator-resource.md
+92-19Lines changed: 92 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,25 +1,51 @@
1
1
---
2
-
title: Create a Translator resource
2
+
title: Create and configure Azure AI resources
3
3
titleSuffix: Azure AI services
4
-
description: Learn how to create an Azure AI Translator resource and obtain your API key and endpoint URL through the Azure portal.
4
+
description: Learn how to create and configure Azure AI resources for translation services.
5
5
author: laujan
6
6
ms.author: lajanuar
7
7
manager: nitinme
8
-
ms.date: 04/14/2025
8
+
ms.date: 07/09/2025
9
9
ms.service: azure-ai-translator
10
10
ms.topic: how-to
11
11
12
12
---
13
13
14
-
# Create a Translator resource
14
+
# Azure resources for Azure AI translation
15
15
16
-
In this article, you learn how to create a Translator resource in the Azure portal. [Azure AI Translator](../overview.md) is a cloud-based machine translation service that is part of the [Azure AI services](../../what-are-ai-services.md) family. Azure resources are instances of services that you create. All API requests to Azure AI services require an *endpoint* URL and a read-only *key* for authenticating access.
16
+
Azure AI Translator is a cloud-based neural machine translation (NMT) service that allows you to add multilingual capabilities to your applications and workflows. The service supports both instant translation and batch processing, making it suitable for a wide range of business needs.
17
17
18
-
## Prerequisites
18
+
If you already have an Azure AI Translator or multi-service resource—whether used on its own or through Language Studio—you can continue to use those existing Translator resources within the Azure AI Foundry portal for NMT deployment. For more information, *see*[How to use Azure AI services in the Azure AI Foundry portal](../../connect-services-ai-foundry-portal.md).
19
+
20
+
By default, Azure AI Translator utilizes neural Machine Translation (NMT) technology. With the newest preview release, you now can optionally select either the standard NMT translation or one of two Large Language Model (LLM) deployment types: GPT-4o-mini or GPT-4o. However, **using an LLM model requires you to have an Azure AI Foundry resource**.
21
+
22
+
The following table provides an overview of the resource solutions for Translator within the Azure AI ecosystem:
23
+
24
+
|AI Service|Scope|Use cases|
25
+
|---------|------------|---------|
26
+
|[Azure AI Foundry resource](/azure/ai-foundry/what-is-azure-ai-foundry)|This resource type is the recommended resource for building, deploying, and managing generative AI applications and agents in Azure AI Foundry. |The Azure AI Foundry resource is suitable for scenarios requiring orchestration of multiple AI models, custom AI agent development, and advanced AI application lifecycle management. |
27
+
|[Azure AI Services resource](../../../ai-services/what-are-ai-services.md)|This multi-service resource provides prebuilt, ready-to-use AI models accessible through APIs for tasks like translation, language understanding, speech recognition, and computer vision.|An Azure AI Services resource allows you to integrate advanced features such as text translation, speech transcription, and image recognition into your applications. You can also enhance models within the Azure AI Foundry portal using prebuilt AI capabilities.|
28
+
|[Azure AI Translator services resource](../overview.md)| The Azure AI Translator resource offers access to cloud-based neural machine translation capabilities and the ability to create customized translation models using Custom Translator.| Azure AI Translator is production-ready and can seamlessly scale up or down based on translation needs, accommodating both small and large volumes of text or documents across multiple languages.|
29
+
30
+
## Step 1: create your resource
31
+
32
+
## [Azure AI Foundry resource](#tab/foundry)
33
+
34
+
* An Azure AI Foundry resource is your main tool for creating, deploying, and managing generative AI applications and agents. With this resource, you can access agent services, use models hosted in a serverless environment, run evaluations, and connect to the Azure OpenAI service.<br>
35
+
36
+
* If you plan to use an LLM model for translation, **you must use an Azure AI Foundry resource**.<br>
37
+
38
+
* To learn how to create and manage an AI Foundry resource *see*[Create your first AI Foundry resource](../../../ai-services/multi-service-resource.md)
39
+
40
+
## [Azure AI Translator resource](#tab/translator)
41
+
42
+
An Azure AI Translator resource is an instance of the service that you create. All API requests to Azure AI services can be accessed with an *endpoint* URL and a read-only *key* for authenticating access.
43
+
44
+
### Prerequisites
19
45
20
-
To get started, you need an active [**Azure account**](https://azure.microsoft.com/free/cognitive-services/). If you don't have one, you can [**create a free 12-month subscription**](https://azure.microsoft.com/free/).
46
+
To get started, you need an active [**Azure account**](https://azure.microsoft.com/free/cognitive-services/).
21
47
22
-
## Create your resource
48
+
###Create your Azure AI Translator resource
23
49
24
50
With your Azure account, you can access the Translator service through two different resource types:
25
51
@@ -60,13 +86,13 @@ After you decide which resource type you want use to access the Translator servi
60
86
61
87
### Authentication keys and endpoint URL
62
88
63
-
All Azure AI services API requests require an endpoint URL and a read-only key for authentication.
89
+
The quickest method for authenticating your Azure AI services API requests is to include your endpoint URL and a read-only key in an authentication header. For more information, *see*[Authentication and authorization](../../authentication.md#authenticate-with-a-single-service-resource-key)
64
90
65
91
***Authentication keys**. Your key is a unique string that is passed on every request to the Translation service. You can pass your key through a query-string parameter or by specifying it in the HTTP request header.
66
92
67
93
***Endpoint URL**. Use the Global endpoint in your API request unless you need a specific Azure region or custom endpoint. For more information, see [Base URLs](../text-translation/reference/v3/reference.md#base-urls). The Global endpoint URL is `api.cognitive.microsofttranslator.com`.
68
94
69
-
## Get your authentication keys and endpoint
95
+
###Get your authentication keys and endpoint
70
96
71
97
To authenticate your connection to your Translator resource, you need the key and endpoint for your resource.
72
98
@@ -76,7 +102,7 @@ To authenticate your connection to your Translator resource, you need the key an
76
102
77
103
:::image type="content" source="../media/keys-and-endpoint-resource.png" alt-text="Screenshot of the Azure portal showing the Keys and Endpoint page of a Translator resource. The keys and endpoints are highlighted.":::
78
104
79
-
## Create a Text translation client
105
+
###Create a Text translation client
80
106
81
107
Text translation supports both [global and regional endpoints](#complete-your-project-and-instance-details). Once you have your [authentication keys](#authentication-keys-and-endpoint-url), you need to create an instance of the `TextTranslationClient`, using an `AzureKeyCredential` for authentication, to interact with the Text translation service:
82
108
@@ -94,7 +120,61 @@ Text translation supports both [global and regional endpoints](#complete-your-pr
In our quickstart, learn how to use the Translator service with REST APIs.
126
+
127
+
> [!div class="nextstepaction"]
128
+
> [Get Started with Translator](../text-translation/quickstart/rest-api.md)
129
+
130
+
---
131
+
132
+
## Step 2: configure your resources for Azure AI Foundry
133
+
134
+
Completing this setup is essential for fully integrating your environment with Azure AI Foundry. You only need to perform this setup once—afterward, you have seamless access to advanced, AI-powered question answering capabilities.
135
+
136
+
In addition, we show you how to assign the correct roles and permissions within the Azure portal. These steps help you get started quickly and effectively with Azure AI Translator.
137
+
138
+
## Prerequisites
139
+
140
+
Before you can set up your environment, you need:
141
+
142
+
***An active Azure subscription**. If you don't have one, you can [create one for free](https://azure.microsoft.com/free/cognitive-services).
143
+
* **Requisite permissions**. Make sure the person establishing the account and project is assigned as the Azure AI Account Owner role at the subscription level. Alternatively, having either the **Contributor** or **Cognitive Services Contributor** role at the subscription scope also meets this requirement. For more information, *see* [Role based access control (RBAC)](../../openai/how-to/role-based-access-control.md#cognitive-services-contributor).
144
+
* An [Azure AI Foundry multi-service resource](https://portal.azure.com/#create/Microsoft.CognitiveServicesAIFoundry) or an [Azure AI Translator resource](https://portal.azure.com/#create/Microsoft.CognitiveServicesTextTranslation).
145
+
146
+
> [!NOTE]
147
+
>
148
+
> We highly recommend that you use an Azure AI Foundry resource in the AI Foundry; however, you can also follow these instructions using an Azure AI Translator resource.
149
+
150
+
151
+
Azure AI Foundry offers a unified platform for building, managing, and deploying AI solutions with a wide array of models and tools. With this integration, you gain access to features to expand your training data with generative AI. New features are continually added, making Azure AI Foundry the recommended choice for scalable Translator solutions.
152
+
153
+
1. Navigate to the [Azure portal](https://azure.microsoft.com/#home).
154
+
155
+
1. Go to your Azure AI Foundry resource (select **All resources** to locate your Azure AI Foundry or Azure AI Translator resource).
156
+
157
+
1. Next, select **Access Control (IAM)** on the left panel, then select **Add role assignment**.
158
+
159
+
:::image type="content" source="../media/configure-resources/add-role-assignment.png" alt-text="Screenshot of add role assignment selector in the Azure portal.":::
160
+
161
+
1. Search and select the **Cognitive Services User** role. Select **Next**.
162
+
163
+
:::image type="content" source="../media/configure-resources/cognitive-services-user.png" alt-text="Screenshot of Cognitive Services User from the job function roles list in the Azure portal.":::
164
+
165
+
1. Navigate to the **Members** tab and then select **Managed Identity**.
166
+
167
+
:::image type="content" source="../media/configure-resources/managed-identity.png" alt-text="Screenshot of assign member access selector in the Azure portal.":::
168
+
169
+
1. Select **Select members**, then in the right panel, search for and choose your Azure AI Foundry resource (the one you're using for this project), and choose **Select**.
170
+
171
+
1. Finally, select**Review + assign** to confirm your selection.
172
+
173
+
1. Your resources are now set up properly. Continue with setting up the fine-tuning task and continue customizing your Azure AI Translator projects.
174
+
175
+
### Step 3 (optional): clean up resource
176
+
177
+
If you want to clean up and remove an Azure AI resource, you can delete the resource or resource group.
98
178
99
179
> [!WARNING]
100
180
>
@@ -114,13 +194,6 @@ To delete the resource group:
114
194
1. Select **Delete resource group** from the top menu bar.
115
195
1. Confirm the deletion request by entering the resource group name and selecting **Delete**.
116
196
117
-
## How to get started with Azure AI Translator REST APIs
118
-
119
-
In our quickstart, you learn how to use the Translator service with REST APIs.
120
-
121
-
> [!div class="nextstepaction"]
122
-
> [Get Started with Translator](../text-translation/quickstart/rest-api.md)
0 commit comments