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/ai-services/content-safety/how-to/containers/image-container.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,7 +72,7 @@ ApiKey={API_KEY}
72
72
73
73
This command:
74
74
* 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).
76
76
* Exposes TCP port 5000 and allocates a pseudo-TTY for the container.
77
77
* Automatically removes the container after it exits. The container image is still available on the host computer.
Copy file name to clipboardExpand all lines: articles/ai-services/content-safety/how-to/containers/install-run-container.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -143,7 +143,7 @@ You can have this container and a different Azure AI container running on the HO
143
143
> | WS |`ws://localhost:5000`|
144
144
> | HTTP |`http://localhost:5000`|
145
145
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.
147
147
148
148
## Troubleshooting
149
149
@@ -196,4 +196,4 @@ To run disconnected containers (not connected to the internet), you must submit
196
196
197
197
* Review [analyze text container](./text-container.md) for text container configuration settings.
198
198
* 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).
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.
17
17
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).
19
19
20
20
## Container images
21
21
@@ -35,7 +35,7 @@ The fully qualified container image name is, `mcr.microsoft.com/azure-cognitive-
35
35
36
36
## Get the container image with docker pull
37
37
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)
39
39
for each content safety container.
40
40
41
41
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
54
54
55
55
| Parameter | Description |
56
56
|---------|---------|
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). |
59
59
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).
61
61
62
62
Here's an example `docker run` command with placeholder values. You must specify the `ENDPOINT_URI` and `API_KEY` values:
63
63
@@ -71,7 +71,7 @@ ApiKey={API_KEY}
71
71
72
72
This command:
73
73
* 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)
75
75
* Exposes TCP port 5000 and allocates a pseudo-TTY for the container.
76
76
* Automatically removes the container after it exits. The container image is still available on the host computer.
77
77
@@ -82,7 +82,7 @@ docker run -e CUDA_ENABLED=false
82
82
```
83
83
#### Run the container with blocklist
84
84
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.
86
86
87
87
To run the container with a blocklist, use the following command:
88
88
@@ -98,7 +98,7 @@ Note, the Analyze text container uses an exact match method for the blocklist. A
98
98
99
99
# [Disconnected container](#tab/disconnected)
100
100
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.
102
102
103
103
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.
104
104
@@ -131,7 +131,7 @@ Placeholder | Value | Format or example |
131
131
|-------------|-------|---|
132
132
|`{IMAGE}`| The container image you want to use.<br/><br/>For example: `mcr.microsoft.com/azure-cognitive-services/contentsafety/text-analyze:latest`|
133
133
|`{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. |
135
135
|`{CONTAINER_LICENSE_DIRECTORY}`| Location of the license folder on the container's local filesystem.<br/><br/>For example: `/path/to/license/directory`|
136
136
|`{CONTAINER_OUTPUT_DIRECTORY}`| Location of the output folder on the container's local filesystem.<br/><br/>For example: `/path/to/output/directory`|
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.
160
160
161
161
To run the container with a blocklist, use the following command:
162
162
@@ -176,7 +176,7 @@ Note, the Analyze text container uses an exact match method for the blocklist. A
176
176
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.
177
177
178
178
179
-
-[analyze text quick start](./quickstart-text.md#analyze-text-content)
179
+
[analyze text quick start](../../quickstart-text.md#analyze-text-content)
Copy file name to clipboardExpand all lines: articles/ai-services/content-safety/how-to/embedded-content-safety.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,11 +12,11 @@ ms.author: zhanxia
12
12
13
13
# Embedded content safety
14
14
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).
16
16
17
17
> [!IMPORTANT]
18
18
> 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)
0 commit comments