Skip to content

Commit 44186ac

Browse files
committed
fix links
1 parent f714b5e commit 44186ac

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ ApiKey={API_KEY}
7272

7373
This command:
7474
* Runs an `image-analyze` container from the container image.
75-
* `--gpus all` Use all available GPU resources. Content safety container requires CUDA for optimal performance. See more in [host requirements and recommendations](./container-install-run.md#host-computer-requirements-and-recommendations). Also make sure your host install [NVIDIA container toolkit](./container-install-run.md#installing-the-nvidia-container-toolkit).
75+
* `--gpus all` Use all available GPU resources. Content safety container requires CUDA for optimal performance. See more in [host requirements and recommendations](./install-run-container.md#host-computer-requirements-and-recommendations). Also make sure your host install [NVIDIA container toolkit](./install-run-container.md#installing-the-nvidia-container-toolkit).
7676
* Exposes TCP port 5000 and allocates a pseudo-TTY for the container.
7777
* Automatically removes the container after it exits. The container image is still available on the host computer.
7878

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ You can have this container and a different Azure AI container running on the HO
143143
> | WS | `ws://localhost:5000` |
144144
> | HTTP | `http://localhost:5000` |
145145
146-
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.
146+
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

148148
## Troubleshooting
149149

@@ -196,4 +196,4 @@ To run disconnected containers (not connected to the internet), you must submit
196196

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

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ keywords: on-premises, Docker, container
1515

1616
The Analyze text container scans text generate by foundation model or human 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 analyze text 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/azure-cognitive-
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:
@@ -54,10 +54,10 @@ The following table represents the various `docker run` parameters and their cor
5454

5555
| Parameter | Description |
5656
|---------|---------|
57-
| `{ENDPOINT_URI}` | The endpoint is required for metering and billing. For more information, see [billing arguments](./container-install-run.md#billing-arguments). |
58-
| `{API_KEY}` | The API key is required. For more information, see [billing arguments](./container-install-run.md#billing-arguments). |
57+
| `{ENDPOINT_URI}` | The endpoint is required for metering and billing. For more information, see [billing arguments](./install-run-container.md#billing-arguments). |
58+
| `{API_KEY}` | The API key is required. For more information, see [billing arguments](./install-run-container.md#billing-arguments). |
5959

60-
When you run the content safety analyze text container, configure the port, GPU according to the content safety container [requirements and recommendations](./container-install-run.md#host-computer-requirements-and-recommendations).
60+
When you run the content safety analyze text container, configure the port, GPU according to the content safety container [requirements and recommendations](./install-run-container.md#host-computer-requirements-and-recommendations).
6161

6262
Here's an example `docker run` command with placeholder values. You must specify the `ENDPOINT_URI` and `API_KEY` values:
6363

@@ -71,7 +71,7 @@ ApiKey={API_KEY}
7171

7272
This command:
7373
* Runs a `content safety` container from the container image.
74-
* `--gpus all` Use all available GPU resources. Content safety container requires CUDA for optimal performance. See more in [host requirements and recommendations](./container-install-run.md#host-computer-requirements-and-recommendations). Also make sure your host install [NVIDIA container toolkit](./container-install-run.md#installing-the-nvidia-container-toolkit)
74+
* `--gpus all` Use all available GPU resources. Content safety container requires CUDA for optimal performance. See more in [host requirements and recommendations](./install-run-container.md#host-computer-requirements-and-recommendations). Also make sure your host install [NVIDIA container toolkit](./install-run-container.md#installing-the-nvidia-container-toolkit)
7575
* Exposes TCP port 5000 and allocates a pseudo-TTY for the container.
7676
* Automatically removes the container after it exits. The container image is still available on the host computer.
7777

@@ -82,7 +82,7 @@ docker run -e CUDA_ENABLED=false
8282
```
8383
#### Run the container with blocklist
8484

85-
The Analyze text container supports the use of a [blocklist feature](./how-to/use-blocklist.md), which allows you to block custom terms. You, as the customer, have the ability to manage these blocklists by using CSV files. You have the flexibility to use multiple CSV files for multiple blocklists.
85+
The Analyze text container supports the use of a [blocklist feature](../use-blocklist.md), which allows you to block custom terms. You, as the customer, have the ability to manage these blocklists by using CSV files. You have the flexibility to use multiple CSV files for multiple blocklists.
8686

8787
To run the container with a blocklist, use the following command:
8888

@@ -98,7 +98,7 @@ Note, the Analyze text container uses an exact match method for the blocklist. A
9898

9999
# [Disconnected container](#tab/disconnected)
100100

101-
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.
101+
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.
102102

103103
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.
104104

@@ -131,7 +131,7 @@ Placeholder | Value | Format or example |
131131
|-------------|-------|---|
132132
| `{IMAGE}` | The container image you want to use.<br/><br/>For example: `mcr.microsoft.com/azure-cognitive-services/contentsafety/text-analyze:latest`|
133133
| `{LICENSE_MOUNT}` | The path where the license is located and mounted.<br/><br/>For example: `/host/license:/path/to/license/directory` |
134-
| `{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. |
134+
| `{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. |
135135
| `{CONTAINER_LICENSE_DIRECTORY}` | Location of the license folder on the container's local filesystem.<br/><br/>For example: `/path/to/license/directory` |
136136
| `{CONTAINER_OUTPUT_DIRECTORY}` | Location of the output folder on the container's local filesystem.<br/><br/>For example: `/path/to/output/directory` |
137137

@@ -156,7 +156,7 @@ sudo chown -R nonroot:nonroot <YOUR_LOCAL_MACHINE_PATH_1> <YOUR_LOCAL_MACHINE_PA
156156
```
157157
#### Run the container with blocklist
158158

159-
The Analyze text container supports the use of a [blocklist feature](./how-to/use-blocklist.md), which allows you to block custom terms. You, as the customer, have the ability to manage these blocklists by using CSV files. You have the flexibility to use multiple CSV files for multiple blocklists.
159+
The Analyze text container supports the use of a [blocklist feature](../use-blocklist.md), which allows you to block custom terms. You, as the customer, have the ability to manage these blocklists by using CSV files. You have the flexibility to use multiple CSV files for multiple blocklists.
160160

161161
To run the container with a blocklist, use the following command:
162162

@@ -176,7 +176,7 @@ Note, the Analyze text container uses an exact match method for the blocklist. A
176176
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.
177177

178178

179-
- [analyze text quick start](./quickstart-text.md#analyze-text-content)
179+
[analyze text quick start](../../quickstart-text.md#analyze-text-content)
180180

181181

182182

articles/ai-services/content-safety/how-to/embedded-content-safety.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ ms.author: zhanxia
1212

1313
# Embedded content safety
1414

15-
Embedded content safety is designed for on-device scenarios where cloud connectivity is intermittent or prefer on-device for privacy reason. For example, you can use embedded content safety in a PC to detect harmful content generated by foundation model, or a car that might travel out of range. You can also develop hybrid cloud and offline solutions. For scenarios where your devices must be in a secure environment like a bank or government entity, you should first consider [disconnected containers](../containers/disconnected-containers.md).
15+
Embedded content safety is designed for on-device scenarios where cloud connectivity is intermittent or prefer on-device for privacy reason. For example, you can use embedded content safety in a PC to detect harmful content generated by foundation model, or a car that might travel out of range. You can also develop hybrid cloud and offline solutions. For scenarios where your devices must be in a secure environment like a bank or government entity, you should first consider [disconnected containers](../../containers/disconnected-containers.md).
1616

1717
> [!IMPORTANT]
1818
> Microsoft limits access to embedded content safety. You can apply for access through the Azure AI content safety [embedded content safety limited access review](https://aka.ms/aacs-embedded-application). For more information, see [Limited access for embedded content safety]().
19-
**to-do**: update the link of an article to limited access for embedded content safety. Embedded speech's reference is https://learn.microsoft.com/en-us/legal/cognitive-services/speech-service/embedded-speech/limited-access-embedded-speech?context=%2Fazure%2Fai-services%2Fspeech-service%2Fcontext%2Fcontext&source=docs
19+
**to-do**: update the link of an article to limited access for embedded content safety. Embedded speech's reference is [here](/legal/cognitive-services/speech-service/embedded-speech/limited-access-embedded-speech?context=%2Fazure%2Fai-services%2Fspeech-service%2Fcontext%2Fcontext&source=docs)
2020

2121
## Platform requirements
2222

0 commit comments

Comments
 (0)