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/authentication.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
@@ -32,7 +32,7 @@ Let's quickly review the authentication headers available for use with Azure AI
32
32
| Header | Description |
33
33
|--------|-------------|
34
34
| Ocp-Apim-Subscription-Key | Use this header to authenticate with a resource key for a specific service or a multi-service resource key. |
35
-
| Ocp-Apim-Subscription-Region | This header is only required when using a multi-service resource key with the [Azure AI Translator service](./Translator/reference/v3-0-reference.md). Use this header to specify the resource region. |
35
+
| Ocp-Apim-Subscription-Region | This header is only required when using a multi-service resource key with the [Azure AI Translator service](translator/text-translation/reference/v3/reference.md). Use this header to specify the resource region. |
36
36
| Authorization | Use this header if you are using an access token. The steps to perform a token exchange are detailed in the following sections. The value provided follows this format: `Bearer <TOKEN>`. |
37
37
38
38
## Authenticate with a single-service resource key
Copy file name to clipboardExpand all lines: articles/ai-services/translator/containers/translate-text-parameters.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
@@ -7,7 +7,7 @@ manager: nitinme
7
7
8
8
ms.service: azure-ai-translator
9
9
ms.topic: reference
10
-
ms.date: 08/14/2024
10
+
ms.date: 03/07/2025
11
11
ms.author: lajanuar
12
12
---
13
13
@@ -58,7 +58,7 @@ Request parameters passed on the query string are:
58
58
| from |Specifies the language of the input text.|*Required parameter*|
59
59
| to |Specifies the language of the output text. For example, use `to=de` to translate to German.<br>It's possible to translate to multiple languages simultaneously by repeating the parameter in the query string. For example, use `to=de&to=it` to translate to German and Italian. |*Required parameter*|
60
60
61
-
* You can query the service for `translation` scope [supported languages](../reference/v3-0-languages.md).
61
+
* You can query the service for `translation` scope [supported languages](../text-translation/reference/v3/languages.md).
62
62
**See also*[Language support for transliteration](../language-support.md#translation).
63
63
64
64
### Optional parameters
@@ -72,7 +72,7 @@ Request parameters passed on the query string are:
72
72
73
73
| Headers | Description |Condition|
74
74
| --- | --- |---|
75
-
| Authentication headers |*See*[available options for authentication](../reference/v3-0-reference.md#authentication). |*Required request header*|
75
+
| Authentication headers |*See*[available options for authentication](../text-translation/reference/v3/reference.md#authentication). |*Required request header*|
76
76
| Content-Type |Specifies the content type of the payload. <br>Accepted value is `application/json; charset=UTF-8`. |*Required request header*|
77
77
| Content-Length |The length of the request body. |*Optional*|
78
78
| X-ClientTraceId | A client-generated GUID to uniquely identify the request. You can omit this header if you include the trace ID in the query string using a query parameter named `ClientTraceId`. |*Optional*|
@@ -121,15 +121,15 @@ A successful response is a JSON array with one result for each string in the inp
121
121
122
122
## Response status codes
123
123
124
-
If an error occurs, the request returns a JSON error response. The error code is a 6-digit number combining the 3-digit HTTP status code followed by a 3-digit number to further categorize the error. Common error codes can be found on the [v3 Translator reference page](../reference/v3-0-reference.md#errors).
124
+
If an error occurs, the request returns a JSON error response. The error code is a 6-digit number combining the 3-digit HTTP status code followed by a 3-digit number to further categorize the error. Common error codes can be found on the [v3 Translator reference page](../text-translation/reference/v3/reference.md#errors).
125
125
126
126
## Code samples: translate text
127
127
128
128
> [!NOTE]
129
129
>
130
130
> * Each sample runs on the `localhost` that you specified with the `docker run` command.
131
131
> * While your container is running, `localhost` points to the container itself.
132
-
> * You don't have to use `localhost:5000`. You can use any port that is not already in use in your host environment.
132
+
> * You don't have to use `localhost:5000`. You can use any port that isn't already in use in your host environment.
133
133
134
134
135
135
### Translate a single input
@@ -164,7 +164,7 @@ Here's an example cURL HTTP request using localhost:5000 that you specified with
164
164
```
165
165
166
166
> [!NOTE]
167
-
> If you attempt the cURL POST request before the container is ready, you'll end up getting a *Service is temporarily unavailable* response. Wait until the container is ready, then try again.
167
+
> If you attempt the cURL POST request before the container is ready, you receive a *Service is temporarily unavailable* response. Wait until the container is ready, then try again.
168
168
169
169
### Translate text using Swagger API
170
170
@@ -388,7 +388,7 @@ The following table lists array element and character limits for the Translator
388
388
|:----|:----|:----|:----|
389
389
| translate | 10,000 | 100 | 50,000 |
390
390
391
-
## Use docker compose: Translator with supporting containers
391
+
## Use the docker compose command for supporting containers
392
392
393
393
Docker compose is a tool enables you to configure multi-container applications using a single YAML file typically named `compose.yaml`. Use the `docker compose up` command to start your container application and the `docker compose down` command to stop and remove your containers.
394
394
@@ -469,7 +469,7 @@ The Azure AI services container images can be found in the [**Microsoft Artifact
> * `docker compose restart` restarts all stopped and running container with all its previous changes intact. If you make changes to your `compose.yaml` configuration, these changes aren't updated with the `docker compose restart` command. You have to use the `docker compose up` command to reflect updates and changes in the `compose.yaml` file.
472
-
> * `docker compose ps -a` lists all containers, including those that are stopped.
472
+
> * `docker compose ps -a` lists all containers, including ones that are stopped.
473
473
> * `docker compose exec` enables you to execute commands to *detach* or *set environment variables* in a running container.
474
474
>
475
475
> For more information, *see* [docker CLI reference](https://docs.docker.com/engine/reference/commandline/docker/).
Copy file name to clipboardExpand all lines: articles/ai-services/translator/containers/transliterate-text-parameters.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ manager: nitinme
8
8
9
9
ms.service: azure-ai-translator
10
10
ms.topic: reference
11
-
ms.date: 04/29/2024
11
+
ms.date: 03/07/2025
12
12
ms.author: lajanuar
13
13
---
14
14
@@ -25,7 +25,7 @@ Convert characters or letters of a source language to the corresponding characte
25
25
26
26
```
27
27
28
-
*See*[**Virtual Network Support**](../reference/v3-0-reference.md#virtual-network-support) for Translator service selected network and private endpoint configuration and support.
28
+
*See*[**Virtual Network Support**](../text-translation/reference/v3/reference.md#virtual-network-support) for Translator service selected network and private endpoint configuration and support.
29
29
30
30
## Request parameters
31
31
@@ -38,14 +38,14 @@ Request parameters passed on the query string are:
38
38
| fromScript | Specifies the script used by the input text. |*Required parameter*|
39
39
| toScript |Specifies the output script.|*Required parameter*|
40
40
41
-
* You can query the service for `transliteration` scope [supported languages](../reference/v3-0-languages.md).
41
+
* You can query the service for `transliteration` scope [supported languages](../text-translation/reference/v3/languages.md).
42
42
**See also*[Language support for transliteration](../language-support.md#transliteration).
43
43
44
44
## Request headers
45
45
46
46
| Headers | Description |Condition|
47
47
| --- | --- | ---|
48
-
| Authentication headers |*See*[available options for authentication](../reference/v3-0-reference.md#authentication)|*Required request header*|
48
+
| Authentication headers |*See*[available options for authentication](../text-translation/reference/v3/reference.md#authentication)|*Required request header*|
49
49
| Content-Type | Specifies the content type of the payload. Possible value: `application/json`|*Required request header*|
50
50
| Content-Length |The length of the request body. |*Optional*|
51
51
| X-ClientTraceId |A client-generated GUID to uniquely identify the request. You can omit this header if you include the trace ID in the query string using a query parameter named `ClientTraceId`. |*Optional*|
@@ -106,7 +106,7 @@ The following limitations apply:
106
106
>
107
107
> * Each sample runs on the `localhost` that you specified with the `docker run` command.
108
108
> * While your container is running, `localhost` points to the container itself.
109
-
> * You don't have to use `localhost:5000`. You can use any port that is not already in use in your host environment.
109
+
> * You don't have to use `localhost:5000`. You can use any port that isn't already in use in your host environment.
110
110
111
111
### Transliterate with REST API
112
112
@@ -119,4 +119,4 @@ The following limitations apply:
119
119
## Next Steps
120
120
121
121
> [!div class="nextstepaction"]
122
-
> [Learn more about text transliteration](../translator-text-apis.md#transliterate-text)
122
+
> [Learn more about text transliteration](../text-translation/reference/v3/transliterate.md)
0 commit comments