Skip to content

Commit 7e2408c

Browse files
authored
Merge pull request #272790 from laujan/246683-container-updates-krishna
container feedback updates
2 parents 425f3e3 + 06a3b9a commit 7e2408c

File tree

7 files changed

+33
-33
lines changed

7 files changed

+33
-33
lines changed

articles/ai-services/translator/containers/install-run.md

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,19 @@ author: laujan
77
manager: nitinme
88
ms.service: azure-ai-translator
99
ms.topic: how-to
10-
ms.date: 04/08/2024
10+
ms.date: 04/19/2024
1111
ms.author: lajanuar
1212
recommendations: false
1313
keywords: on-premises, Docker, container, identify
1414
---
1515

1616
<!-- markdownlint-disable MD001 -->
1717
<!-- markdownlint-disable MD033 -->
18+
<!-- markdownlint-disable MD024 -->
19+
<!-- markdownlint-disable MD051 -->
1820

1921
# Install and run Azure AI Translator container
2022

21-
> [!IMPORTANT]
22-
>
23-
> * To use the Translator container, you must submit an online request and have it approved. For more information, *see* [Request container access](overview.md#request-container-access).
24-
> * Azure AI Translator container supports limited features compared to the cloud offerings.
25-
2623
Containers enable you to host the Azure AI Translator API on your own infrastructure. The container image includes all libraries, tools, and dependencies needed to run an application consistently in any private, public, or personal computing environment. If your security or data governance requirements can't be fulfilled by calling Azure AI Translator API remotely, containers are a good option.
2724

2825
In this article, learn how to install and run the Translator container online with Docker API. The Azure AI Translator container supports the following operations:
@@ -35,7 +32,7 @@ In this article, learn how to install and run the Translator container online wi
3532

3633
## Prerequisites
3734

38-
To get started, you need the following resources, access approval, and tools:
35+
To get started, you need the following resources, gated access approval, and tools:
3936

4037
##### Azure resources
4138

@@ -46,6 +43,9 @@ To get started, you need the following resources, access approval, and tools:
4643
* An [**Azure AI Translator resource**](https://portal.azure.com/#create/Microsoft.CognitiveServicesTextTranslation) (**not** a multi-service Azure AI services resource) created under the approved subscription ID. You need the API key and endpoint URI associated with your resource. Both values are required to start the container and can be found on the resource overview page in the Azure portal.
4744

4845
* For Translator **connected** containers, select the `S1` pricing tier.
46+
47+
:::image type="content" source="media/connected-pricing-tier.png" alt-text="Screenshot of pricing tier selection for Translator connected container.":::
48+
4949
* For Translator **disconnected** containers, select **`Commitment tier disconnected containers`** as your pricing tier. You only see the option to purchase a commitment tier if your disconnected container access request is approved.
5050

5151
:::image type="content" source="media/disconnected-pricing-tier.png" alt-text="A screenshot showing resource creation on the Azure portal.":::
@@ -96,12 +96,12 @@ The following table describes the minimum and recommended specifications and the
9696
> [!TIP]
9797
> You can use the [docker images](https://docs.docker.com/engine/reference/commandline/images/) command to list your downloaded container images. For example, the following command lists the ID, repository, and tag of each downloaded container image, formatted as a table:
9898
>
99-
> ```docker
99+
> ```docker
100100
> docker images --format "table {{.ID}}\t{{.Repository}}\t{{.Tag}}"
101101
>
102102
> IMAGE ID REPOSITORY TAG
103103
> <image-id> <repository-path/name> <tag-name>
104-
> ```
104+
> ```
105105
106106
## Required input
107107
@@ -151,7 +151,7 @@ To use the latest version of the container, use the latest tag. You can view
151151
152152
Select a tab to choose your Azure AI Translator container environment:
153153
154-
## [**Connected containers**](#tab/connected)
154+
### [**Connected containers**](#tab/connected)
155155
156156
Azure AI Translator containers enable you to run the Azure AI Translator service `on-premise` in your own environment. Connected containers run locally and send usage information to the cloud for billing.
157157
@@ -586,23 +586,27 @@ https://<service>/records/usage-logs/{MONTH}/{YEAR}
586586

587587
The usage-logs endpoints return a JSON response similar to the following example:
588588

589+
### [**Connected containers**](#tab/connected)
590+
589591
***Connected container***
590592

591-
The `quantity` is the amount you're charged for connected container usage.
593+
Usage charges are calculated based upon the `quantity` value.
592594

593595
```json
594596
{
595-
"apiType": "string",
597+
"apiType": "string",
596598
"serviceName": "string",
597599
"meters": [
598-
{
600+
{
599601
"name": "string",
600602
"quantity": 256345435
601603
}
602604
]
603605
}
604606
```
605607

608+
### [**Disconnected (offline) containers**](#tab/disconnected)
609+
606610
***Disconnected container***
607611

608612
```json
@@ -631,6 +635,8 @@ The aggregated value of `billedUnit` for the following meters is counted toward
631635

632636
* `CognitiveServices.TextTranslation.Container.TranslatedCharacters`
633637

638+
---
639+
634640
### Summary
635641

636642
In this article, you learned concepts and workflows for downloading, installing, and running an Azure AI Translator container:
15.2 KB
Loading

articles/ai-services/translator/containers/overview.md

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,23 @@ author: laujan
66
manager: nitinme
77
ms.service: azure-ai-translator
88
ms.topic: overview
9-
ms.date: 04/08/2024
9+
ms.date: 05/02/2024
1010
ms.author: lajanuar
1111
---
1212

1313
# What is Azure AI Translator container?
1414

15-
> [!IMPORTANT]
16-
>
17-
> * To use the Translator container, you must submit an online request and have it approved. For more information, *see* [Request container access](#request-container-access).
18-
> * Azure AI Translator container supports limited features compared to the cloud offerings. For more information, *see* [**Container translate methods**](translator-container-supported-parameters.md).
19-
2015
Azure AI Translator container enables you to build translator application architecture that is optimized for both robust cloud capabilities and edge locality. A container is a running instance of an executable software image. The Translator container image includes all libraries, tools, and dependencies needed to run an application consistently in any private, public, or personal computing environment. Containers are isolated, lightweight, portable, and are great for implementing specific security or data governance requirements. Translator container is available in [connected](#connected-containers) and [disconnected (offline)](#disconnected-containers) modalities.
2116

2217
## Connected containers
2318

24-
* **Translator connected container** is deployed on premises and processes content in your environment. It requires internet connectivity to transmit usage metadata for billing; however, your customer content isn't transmitted outside of your premises.
19+
**Translator connected container** is deployed on premises and processes content in your environment. It requires internet connectivity to transmit usage metadata for billing; however, your content isn't transmitted outside of your premises. The `EULA`, `Billing`, and `APIKey` options must be specified to run a container.
2520

26-
You're billed for connected containers monthly, based on the usage and consumption. The container needs to be configured to send metering data to Azure, and transactions are billed accordingly. Queries to the container are billed at the pricing tier of the Azure resource used for the API Key. You're billed for each container instance used to process your documents and images.
21+
You're billed for connected containers monthly, based on the usage and consumption. Queries to the container are billed at the pricing tier for the Azure resource used for the `APIKey` parameter. For more information, *see* [Billing configuration](configuration.md#billing-configuration-setting).
2722

28-
***Sample billing metadata transmitted by Translator connected container***
23+
***Sample billing metadata for Translator connected container***
2924

30-
The `quantity` is the amount you're charged for connected container usage.
25+
Usage charges are calculated based upon the `quantity` value.
3126

3227
```json
3328
{
@@ -41,13 +36,13 @@ You're billed for connected containers monthly, based on the usage and consumpti
4136

4237
## Disconnected containers
4338

44-
* **Translator disconnected container** is deployed on premises and processes content in your environment. It doesn't require internet connectivity at runtime. Customer must license the container for projected usage over a year and is charged affront.
39+
**Translator disconnected container** is deployed on premises and processes content in your environment. It doesn't require internet connectivity at runtime. Customer must license the container for projected usage over a year and is charged affront.
4540

4641
Disconnected containers are offered through commitment tier pricing offered at a discounted rate compared to pay-as-you-go pricing. With commitment tier pricing, you can commit to using Translator Service features for a fixed fee, at a predictable total cost, based on the needs of your workload. Commitment plans for disconnected containers have a calendar year commitment period.
4742

4843
When you purchase a plan, you're charged the full price immediately. During the commitment period, you can't change your commitment plan; however you can purchase more units at a pro-rated price for the remaining days in the year. You have until midnight (UTC) on the last day of your commitment, to end a commitment plan.
4944

50-
***Sample billing metadata transmitted by Translator disconnected container***
45+
***Sample billing metadata for Translator disconnected container***
5146

5247
```json
5348
{
@@ -75,10 +70,9 @@ The aggregated value of `billedUnit` for the following meters is counted toward
7570

7671
* `CognitiveServices.TextTranslation.Container.TranslatedCharacters`
7772

78-
7973
## Request container access
8074

81-
Translator containers are a gated offering. To use the Translator container, you must submit an online request and for approval.
75+
**Translator containers are a gated offering. To use the Translator container, you must submit an online request for approval.**
8276

8377
* To request access to a connected container, complete and submit the [**connected container access request form**](https://aka.ms/csgate-translator).
8478

articles/ai-services/translator/containers/translate-document-parameters.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Container: Translate document method"
2+
title: "Container: Translate document"
33
titleSuffix: Azure AI services
44
description: Understand the parameters, headers, and body request/response messages for the Azure AI Translator container translate document operation.
55
#services: cognitive-services
@@ -26,7 +26,7 @@ ms.author: lajanuar
2626
`POST` request:
2727

2828
```bash
29-
POST "http://localhost:{port}/translator/document:translate?sourceLanguage={sourceLanguage}&targetLanguage={targetLanguage}&api-version=2023-11-01-preview" -F "document=@{path-to-your-document-with-file-extension};type={ContentType}/{file-extension}" -o "{path-to-output-file-with-file-extension}"
29+
POST "http://localhost:{port}/translator/document:translate?sourceLanguage={sourceLanguage}&targetLanguage={targetLanguage}&api-version={api-version}" -F "document=@{path-to-your-document-with-file-extension};type={ContentType}/{file-extension}" -o "{path-to-output-file-with-file-extension}"
3030
```
3131

3232
Example:
@@ -71,7 +71,7 @@ For this project, you need a source document to translate. You can download our
7171
Here's an example cURL HTTP request using localhost:5000:
7272

7373
```bash
74-
curl -v "http://localhost:5000/translator/document:translate?sourceLanguage=en&targetLanguage=es&api-version=v1.0" -F "document=@document-translation-sample-docx" -o "C:\translation\translated-file.md"
74+
curl -v "http://localhost:5000/translator/document:translate?sourceLanguage=en&targetLanguage=es&api-version=2023-11-01-preview" -F "document=@document-translation-sample-docx" -o "C:\translation\translated-file.md"
7575
```
7676

7777
***Upon successful completion***:

articles/ai-services/translator/containers/translate-text-parameters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Container: Translate text method"
2+
title: "Container: Translate text"
33
titleSuffix: Azure AI services
44
description: Understand the parameters, headers, and body messages for the Azure AI Translator container translate document operation.
55
author: laujan

articles/ai-services/translator/containers/transliterate-text-parameters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Container: Transliterate document method"
2+
title: "Container: Transliterate text"
33
titleSuffix: Azure AI services
44
description: Understand the parameters, headers, and body messages for the Azure AI Translator container transliterate text operation.
55
#services: cognitive-services

articles/ai-services/translator/document-translation/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ For detailed information regarding Azure AI Translator Service request limits, *
144144
Document Translation data residency depends on the Azure region where your Translator resource was created:
145145

146146
✔️ Feature: **Document Translation**</br>
147-
✔️ Service endpoint: **Custom:** &#8198;&#8198;&#8198; **`<name-of-your-resource.cognitiveservices.azure.com/translator/text/batch/v1.1`**
147+
✔️ Service endpoint: **Custom: `<name-of-your-resource.cognitiveservices.azure.com/translator/text/batch/v1.1`**
148148

149149
|Resource created region| Request processing data center |
150150
|----------------------------------|-----------------------|

0 commit comments

Comments
 (0)