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/Translator/containers/translator-disconnected-containers.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
@@ -46,15 +46,15 @@ Access is limited to customers that meet the following requirements:
46
46
47
47
1. Create a [Translator resource](https://portal.azure.com/#create/Microsoft.CognitiveServicesTextTranslation) in the Azure portal.
48
48
49
-
2. Enter the applicable information to create your resource. Be sure to select **Commitment tier disconnected containers** as your pricing tier.
49
+
1. Enter the applicable information to create your resource. Be sure to select **Commitment tier disconnected containers** as your pricing tier.
50
50
51
51
> [!NOTE]
52
52
>
53
53
> * You will only see the option to purchase a commitment tier if you have been approved by Microsoft.
54
54
55
55
:::image type="content" source="../media/create-resource-offline-container.png" alt-text="A screenshot showing resource creation on the Azure portal.":::
56
56
57
-
3. Select **Review + Create** at the bottom of the page. Review the information, and select **Create**.
57
+
1. Select **Review + Create** at the bottom of the page. Review the information, and select **Create**.
58
58
59
59
## Gather required parameters
60
60
@@ -64,7 +64,7 @@ There are three required parameters for all Cognitive Services' containers:
64
64
* The endpoint URL for your resource from the Azure portal.
65
65
* The API key for your resource from the Azure portal.
66
66
67
-
Both the endpoint URL and API key are needed when you first run the container to configure it for disconnected usage. You can find the key and endpoint on the **Key and endpoint** page for your resource in the Azure portal.
67
+
Both the endpoint URL and API key are needed when you first run the container to configure it for disconnected usage. You can find the key and endpoint on the **Key and endpoint** page for your resource in the Azure portal:
68
68
69
69
:::image type="content" source="../media/quickstarts/keys-and-endpoint-portal.png" alt-text="Screenshot: Azure portal keys and endpoint page.":::
70
70
@@ -97,18 +97,18 @@ Now that you've downloaded your container, you'll need to execute the `docker ru
97
97
> [!IMPORTANT]
98
98
> The `docker run` command will generate a template that you can use to run the container. The template contains parameters you'll need for the downloaded models and configuration file. Make sure you save this template.
99
99
100
-
The following example shows the formatting of the `docker run` command with placeholder values. Replace these placeholder values with your own values.
100
+
The following example shows the formatting for the `docker run` command with placeholder values. Replace these placeholder values with your own values.
101
101
102
102
| Placeholder | Value | Format|
103
103
|-------------|-------|---|
104
104
|`[image]`| The container image you want to use. |`mcr.microsoft.com/azure-cognitive-services/translator/text-translation`|
105
105
|`{LICENSE_MOUNT}`| The path where the license will be downloaded, and mounted. |`/host/license:/path/to/license/directory`|
106
106
|`{MODEL_MOUNT_PATH}`| The path where the machine translation models will be downloaded, and mounted. Your directory structure must be formatted as **/usr/local/models**|`/host/translator/models:/usr/local/models`|
107
107
|`{ENDPOINT_URI}`| The endpoint for authenticating your service request. You can find it on your resource's **Key and endpoint** page, in the Azure portal. |`https://<your-custom-subdomain>.cognitiveservices.azure.com`|
108
-
|`{API_KEY}`| The key for your Text Analytics resource. You can find it on your resource's **Key and endpoint** page, in the Azure portal. |`32-character-string`|
108
+
|`{API_KEY}`| The key for your Text Analytics resource. You can find it on your resource's **Key and endpoint** page, in the Azure portal. |`{string}`|
109
109
|`{CONTAINER_LICENSE_DIRECTORY}`| Location of the license folder on the container's local filesystem. |`/path/to/license/directory`|
0 commit comments