Skip to content

Commit f714b5e

Browse files
committed
fix pr warnings
1 parent 8c6fd65 commit f714b5e

File tree

4 files changed

+26
-26
lines changed

4 files changed

+26
-26
lines changed

articles/ai-services/content-safety/how-to/containers/container-overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ For information about other container services, see the following Azure AI servi
6161

6262
## Next steps
6363

64-
* [Install and run analyze text containers](./analyze-text-container.md)
65-
* [Install and run analyze image containers](./analyze-image-container.md)
64+
* [Install and run analyze text containers](./text-container.md)
65+
* [Install and run analyze image containers](./image-container.md)
6666

6767

articles/ai-services/content-safety/how-to/containers/image-container.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22
title: Analyze image container - Azure AI content safety
33
titleSuffix: Azure AI services
44
description: Install and run content safety analyze image containers with Docker to detect harmful content in image.
5-
author:
6-
manager:
5+
author: PatrickFarley
6+
manager: nitinme
77
ms.service: azure-ai-content-safety
8-
ms.topic:
8+
ms.topic: how-to
99
ms.date: 9/11/2024
10-
ms.author:
10+
ms.author: pafarley
1111
keywords: on-premises, Docker, container
1212
---
1313

1414
# Analyze image content with docker containers
1515

1616
The Analyze image container scans image for sexual content, violence, hate, and self harm with multi-severity levels. In this article, you learn how to download, install, and run a content safety to image container.
1717

18-
For more information about prerequisites, validating that a container is running, running multiple containers on the same host, and running disconnected containers, see [Install and run content safety containers with Docker](container-install-run.md).
18+
For more information about prerequisites, validating that a container is running, running multiple containers on the same host, and running disconnected containers, see [Install and run content safety containers with Docker](./install-run-container.md).
1919

2020
## Container images
2121

@@ -35,7 +35,7 @@ The fully qualified container image name is, `mcr.microsoft.com/en-us/product/az
3535

3636
## Get the container image with docker pull
3737

38-
You need the [prerequisites](container-install-run.md#prerequisites) including required hardware. Also see the [recommended allocation of resources](container-install-run.md#host-computer-requirements-and-recommendations)
38+
You need the [prerequisites](./install-run-container.md#prerequisites) including required hardware. Also see the [recommended allocation of resources](./install-run-container.md#host-computer-requirements-and-recommendations)
3939
for each content safety container.
4040

4141
Use the [docker pull](https://docs.docker.com/engine/reference/commandline/pull/) command to download a container image from Microsoft Container Registry:
@@ -78,7 +78,7 @@ This command:
7878

7979
# [Disconnected container](#tab/disconnected)
8080

81-
To run disconnected containers (not connected to the internet), you must submit [this request form](https://aka.ms/csdisconnectedcontainers) and wait for approval. For more information about applying and purchasing a commitment plan to use containers in disconnected environments, see [Use containers in disconnected environments](../containers/disconnected-containers.md) in the Azure AI services documentation.
81+
To run disconnected containers (not connected to the internet), you must submit [this request form](https://aka.ms/csdisconnectedcontainers) and wait for approval. For more information about applying and purchasing a commitment plan to use containers in disconnected environments, see [Use containers in disconnected environments](../../../containers/disconnected-containers.md) in the Azure AI services documentation.
8282

8383
If you're approved to run the container disconnected from the internet, the following example shows the formatting of the `docker run` command to use, with placeholder values. Replace these placeholder values with your own values.
8484

@@ -113,7 +113,7 @@ Placeholder | Value | Format or example |
113113
`{MEMORY_SIZE}` | The appropriate size of memory to allocate for your container.<br/><br/>For example: `4g` |
114114
| `{NUMBER_CPUS}` | The appropriate number of CPUs to allocate for your container.<br/><br/>For example: `4` |
115115
| `{LICENSE_MOUNT}` | The path where the license is located and mounted.<br/><br/>For example: `/host/license:/path/to/license/directory` |
116-
| `{OUTPUT_PATH}` | The output path for logging.<br/><br/>For example: `/host/output:/path/to/output/directory`<br/><br/>For more information, see [usage records](../containers/disconnected-containers.md#usage-records) in the Azure AI services documentation. |
116+
| `{OUTPUT_PATH}` | The output path for logging.<br/><br/>For example: `/host/output:/path/to/output/directory`<br/><br/>For more information, see [usage records](../../../containers/disconnected-containers.md#usage-records) in the Azure AI services documentation. |
117117
| `{CONTAINER_LICENSE_DIRECTORY}` | Location of the license folder on the container's local filesystem.<br/><br/>For example: `/path/to/license/directory` |
118118
| `{CONTAINER_OUTPUT_DIRECTORY}` | Location of the output folder on the container's local filesystem.<br/><br/>For example: `/path/to/output/directory` |
119119

@@ -143,7 +143,7 @@ sudo chown -R nonroot:nonroot <YOUR_LOCAL_MACHINE_PATH_1> <YOUR_LOCAL_MACHINE_PA
143143

144144
Once the container is up and running, you can validate its operation by sending a request to the REST endpoint deployed within the container. To do this, follow below article. Note, you need to replace the endpoint URL with the Docker URL specific to your container deployment. Also, ensure that you're using host authentication, rather than key-based authentication.
145145

146-
[Analyze image quick start](./quickstart-text.md#analyze-image-content)
146+
[Analyze image quick start](../quickstart-image.md)
147147

148148

149149

articles/ai-services/content-safety/how-to/containers/install-run-container.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
title: Install and run content safety containers with Docker - content safety service
33
titleSuffix: Azure AI services
44
description: Use the content safety containers with Docker to perform content safety check on-premises.
5-
author:
6-
manager:
5+
author: PatrickFarley
6+
manager: nitinme
77
ms.service: azure-ai-content-safety
88
ms.topic: how-to
99
ms.date: 9/11/2024
10-
ms.author:
10+
ms.author: pafarley
1111
keywords: on-premises, Docker, container
1212
---
1313

@@ -44,7 +44,7 @@ The <a href="https://docs.docker.com/engine/reference/commandline/run/" target="
4444

4545
> [!IMPORTANT]
4646
> These subscription keys are used to access your Azure AI services API. Don't share your keys. Store them securely. For example, use Azure Key Vault. We also recommend that you regenerate these keys regularly. Only one key is necessary to make an API call. When you regenerate the first key, you can use the second key for continued access to the service.
47-
The container needs the billing argument values to run. These values allow the container to connect to the billing endpoint. The container reports usage about every 10 to 15 minutes. If the container doesn't connect to Azure within the allowed time window, the container continues to run but doesn't serve queries until the billing endpoint is restored. The connection is attempted 10 times at the same time interval of 10 to 15 minutes. If it can't connect to the billing endpoint within the 10 tries, the container stops serving requests. For an example of the information sent to Microsoft for billing, see the [Azure AI container FAQ](../containers/container-faq.yml#how-does-billing-work) in the Azure AI services documentation.
47+
The container needs the billing argument values to run. These values allow the container to connect to the billing endpoint. The container reports usage about every 10 to 15 minutes. If the container doesn't connect to Azure within the allowed time window, the container continues to run but doesn't serve queries until the billing endpoint is restored. The connection is attempted 10 times at the same time interval of 10 to 15 minutes. If it can't connect to the billing endpoint within the 10 tries, the container stops serving requests. For an example of the information sent to Microsoft for billing, see the [Azure AI container FAQ](../../../containers/container-faq.yml#how-does-billing-work) in the Azure AI services documentation.
4848

4949

5050
### Host computer requirements and recommendations
@@ -138,10 +138,10 @@ You can have this container and a different Azure AI container running on the HO
138138

139139
> [!NOTE]
140140
> Use a unique port number if you're running multiple containers.
141-
| Protocol | Host URL |
142-
|--|--
143-
| WS | `ws://localhost:5000` |
144-
| HTTP | `http://localhost:5000` |
141+
> | Protocol | Host URL |
142+
> |--|--
143+
> | WS | `ws://localhost:5000` |
144+
> | HTTP | `http://localhost:5000` |
145145
146146
For more information on using WSS and HTTPS protocols, see [Container security](../cognitive-services-container-support.md#azure-ai-services-container-security) in the Azure AI services documentation.
147147

@@ -190,10 +190,10 @@ The container tests for network connectivity to the billing endpoint.
190190

191191
## Run disconnected containers
192192

193-
To run disconnected containers (not connected to the internet), you must submit [this request form](https://aka.ms/csdisconnectedcontainers) and wait for approval. For more information about applying and purchasing a commitment plan to use containers in disconnected environments, see [Use containers in disconnected environments](../containers/disconnected-containers.md) in the Azure AI services documentation.
193+
To run disconnected containers (not connected to the internet), you must submit [this request form](https://aka.ms/csdisconnectedcontainers) and wait for approval. For more information about applying and purchasing a commitment plan to use containers in disconnected environments, see [Use containers in disconnected environments](../../../containers/disconnected-containers.md) in the Azure AI services documentation.
194194

195195
## Next steps
196196

197-
* Review [analyze text container](./analyze-text-container.md) for text container configuration settings.
198-
* Review [analyze image container](./analyze-image-container.md) for image container configuration settings.
197+
* Review [analyze text container](./text-container.md) for text container configuration settings.
198+
* Review [analyze image container](./image-container.md) for image container configuration settings.
199199
* Use more [Azure AI containers](../cognitive-services-container-support.md).

articles/ai-services/content-safety/how-to/containers/text-container.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
title: Analyze text container - Azure AI content safety
33
titleSuffix: Azure AI services
44
description: Install and run content safety analyze text containers with Docker to detect harmful content in text.
5-
author:
6-
manager:
5+
author: PatrickFarley
6+
manager: nitinme
77
ms.service: azure-ai-content-safety
8-
ms.topic:
8+
ms.topic: how-to
99
ms.date: 9/11/2024
10-
ms.author:
10+
ms.author: pafarley
1111
keywords: on-premises, Docker, container
1212
---
1313

0 commit comments

Comments
 (0)