Skip to content

Commit 5ff4167

Browse files
committed
fixes
1 parent 96d94ac commit 5ff4167

File tree

1 file changed

+12
-12
lines changed
  • articles/ai-services/language-service/conversational-language-understanding/how-to

1 file changed

+12
-12
lines changed

articles/ai-services/language-service/conversational-language-understanding/how-to/use-containers.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Before you proceed with running the docker image, you will need to export your o
5656
|Placeholder |Value|Format or example|
5757
|------------|-----|-----------------|
5858
|**{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|
59-
|**{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|
59+
|**{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`|
6060
|**{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|
6161
|**{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
6262
|**{EXPORTED_MODEL_NAME}** |The name to assign for the new exported model created.|myExportedModel |
@@ -88,15 +88,15 @@ docker pull mcr.microsoft.com/azure-cognitive-services/language/clu:latest
8888

8989
After creating the exported model in the section above, users will have to run the container in order to download the deployment package that was created specifically for their exported models.
9090

91-
|Placeholder|Value|Format or example|
92-
|-----------|-----|-----------------|
93-
|**{API_KEY}** |The key for your Language resource. You can find it on your resource's **Key and endpoint** page, on the Azure portal.|xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx| 
94-
|**{ENDPOINT_URI}**|The endpoint for accessing the API. You can find it on your resource's **Key and endpoint** page, on the Azure portal.  |https://<your-custom-subdomain>.cognitiveservices.azure.com  |
95-
|**{IMAGE_TAG}**|The image tag representing the language of the container you want to run. Make sure this matches the `docker pull` command you used.  |latest  |
96-
|**{LOCAL_CLU_PORT}** |Port number assigned for the container in local machine. |5000 |
97-
|**{LOCAL_MODEL_DIRECTORY}** |Absolute directory in host machine where exported models will be saved in. |C:\usr\local\myDeploymentPackage |
98-
|**{PROJECT_NAME}** |Name of the project that the exported model belongs to |myProject |
99-
|**{EXPORTED_MODEL_NAME}** |Exported model to be downloaded |myExportedModel |
91+
|Placeholder |Value |Format or example|
92+
|----------------------------|--------------------------------------------------------------------------------------------------------------------------------------|-----------------|
93+
|**{API_KEY}** |The key for your Language resource. You can find it on your resource's **Key and endpoint** page, on the Azure portal.|xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx| 
94+
|**{ENDPOINT_URI}** |The endpoint for accessing the API. You can find it on your resource's **Key and endpoint** page, on the Azure portal.  |`https://<your-custom-subdomain>.cognitiveservices.azure.com`|
95+
|**{IMAGE_TAG}** |The image tag representing the language of the container you want to run. Make sure this matches the `docker pull` command you used.  |latest  |
96+
|**{LOCAL_CLU_PORT}** |Port number assigned for the container in local machine. |5000 |
97+
|**{LOCAL_MODEL_DIRECTORY}** |Absolute directory in host machine where exported models will be saved in. |`C:\usr\local\myDeploymentPackage` |
98+
|**{PROJECT_NAME}** |Name of the project that the exported model belongs to |myProject |
99+
|**{EXPORTED_MODEL_NAME}** |Exported model to be downloaded |myExportedModel |
100100

101101
```bash
102102
docker run --rm -it -p {LOCAL_CLU_PORT}:80 \
@@ -131,8 +131,8 @@ To run the CLU container, execute the following `docker run` command. Replace th
131131
| **{IMAGE_TAG}** | The image tag representing the language of the container you want to run. Make sure this matches the `docker pull` command you used. | `latest` |
132132
|**{LOCAL_CLU_PORT}** |Port number assigned for the container in local machine. |5000 |
133133
|**{LOCAL_NER_PORT}** |Port number of the NER container. See Run NER Container section below. |5001 (Has to be different that the above port number) |
134-
|**{LOCAL_LOGGING_DIRECTORY}** |Absolute directory in host machine where that logs will be saved in. |C:\usr\local\mylogs |
135-
|**{LOCAL_MODEL_DIRECTORY}** |Absolute directory in host machine where exported models are saved in. |C:\usr\local\myDeploymentPackage |
134+
|**{LOCAL_LOGGING_DIRECTORY}** |Absolute directory in host machine where that logs will be saved in. |`C:\usr\local\mylogs` |
135+
|**{LOCAL_MODEL_DIRECTORY}** |Absolute directory in host machine where exported models are saved in. |`C:\usr\local\myDeploymentPackage` |
136136

137137
```bash
138138
docker run --rm -it -p 5000:5000 --memory 8g --cpus 1 \

0 commit comments

Comments
 (0)