Skip to content

Commit 9af101c

Browse files
committed
team bugbash fixes
1 parent 8c9d8cd commit 9af101c

File tree

4 files changed

+32
-34
lines changed

4 files changed

+32
-34
lines changed
Lines changed: 23 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,58 @@
11
---
22
title: Content safety containers overview - Azure AI Content Safety
33
titleSuffix: Azure AI services
4-
description: Use the Docker containers for the content safety service to perform content safety check on-premises.
5-
author:
6-
manager:
4+
description: Use the Docker containers for the content safety service to perform content safety operations on-premises.
5+
author: PatrickFarley
6+
manager: nitinme
77
ms.service: azure-ai-content-safety
8-
ms.topic:
9-
ms.date:
10-
ms.author:
8+
ms.topic: overview
9+
ms.date: 09/23/2024
10+
ms.author: pafarley
1111
keywords: on-premises, Docker, container
1212
---
1313

1414
# Content Safety containers overview
1515

16-
By using containers, you can use a subset of the content safety service features in your own environment. With content safety containers, you can build a content safety application architecture optimized for both robust cloud capabilities and edge locality. Containers are great for specific security and data governance requirements.
16+
Containers let you use a subset of the Azure AI Content Safety features in your own environment. With content safety containers, you can build a content safety application architecture optimized for both robust cloud capabilities and edge locality. Containers help you meet specific security and data governance requirements.
1717

18-
## Available content safety containers
18+
## Available containers
1919

2020
The following table lists the content safety containers available in the Microsoft Container Registry (MCR). The table also lists the features supported by each container and the latest version of the container.
2121

2222
| Container | Features |
2323
|--------------------------------------|----------|
24-
|Analyze text|Scans text for sexual content, violence, hate, and self harm with multi-severity levels.|
25-
|Analyze image|Scans images for sexual content, violence, hate, and self harm with multi-severity levels.|
24+
|Analyze text|Scans text for sexual content, violence, hate, and self-harm with multiple severity levels.|
25+
|Analyze image|Scans images for sexual content, violence, hate, and self-harm with multiple severity levels.|
2626

2727
The content safety container is available in public preview. Containers in preview are still under development and don't meet Microsoft's stability and support requirements.
2828

29-
## Request approval to run containers disconnected from the internet
29+
## Request approval to run offline containers
3030

31-
To use the content safety containers in environments that are disconnected from the internet, you must submit a [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](../../ai-services/containers/disconnected-containers.md) in the Azure AI services documentation.
31+
To use the content safety containers in environments that are disconnected from the internet, you must submit a [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](../../../../ai-services/containers/disconnected-containers.md) in the Azure AI services documentation.
3232

33-
The form requests information about you, your company, and the user scenario for which you use the container.
33+
The request form takes information about you, your company, and the user scenario for which you'll use the container. Make sure you meet the following requirements:
3434

35-
* On the form, you must use an email address associated with an Azure subscription ID.
35+
* On the form, you must use the email address associated with your Azure subscription ID.
3636
* The Azure resource you use to run the container must be created with the approved Azure subscription ID.
37-
* Check your email for updates on the status of your application from Microsoft.
3837

3938
After you submit the form, the Azure AI services team reviews it and emails you with a decision within 10 business days.
4039

4140
## Billing
4241

43-
The content safety containers send billing information to Azure by using a content safety resource on your Azure account.
42+
The content safety containers send billing information to Azure through the content safety resource in your Azure account.
4443

45-
> [!NOTE]
46-
> Connected and disconnected container pricing and commitment tiers vary. For more information, see [content safety service pricing](https://azure.microsoft.com/en-us/pricing/details/cognitive-services/content-safety/).
44+
Content safety containers aren't licensed to run without being connected to Azure for metering. You must configure your container to always communicate billing information with the metering service. For more information, see [Billing arguments](./install-run-container.md#billing-arguments).
4745

48-
Content safety containers aren't licensed to run without being connected to Azure for metering. You must configure your container to always communicate billing information with the metering service. For more information, see [billing arguments](content safety-container-howto.md#billing-arguments).
46+
> [!NOTE]
47+
> Connected and disconnected container pricing and commitment tiers vary. For more information, see [Content safety service pricing](https://azure.microsoft.com/pricing/details/cognitive-services/content-safety/).
4948
5049
## Container recipes and other container services
5150

5251
You can use container recipes to create containers that can be reused. Containers can be built with some or all configuration settings so that they aren't needed when the container is started. For container recipes see the following Azure AI services articles:
53-
- [Create containers for reuse](../containers/container-reuse-recipe.md)
54-
- [Deploy and run container on Azure Container Instance](../containers/azure-container-instance-recipe.md)
55-
- [Deploy a language detection container to Azure Kubernetes Service](../containers/azure-kubernetes-recipe.md)
56-
- [Use Docker Compose to deploy multiple containers](../containers/docker-compose-recipe.md)
52+
- [Create containers for reuse](/azure/ai-services/containers/container-reuse-recipe)
53+
- [Deploy and run containers on Azure Container Instance](/azure/ai-services/containers/azure-container-instance-recipe)
54+
- [Deploy a language detection container to Azure Kubernetes Service](/azure/ai-services/containers/azure-kubernetes-recipe)
55+
- [Use Docker Compose to deploy multiple containers](/azure/ai-services/containers/docker-compose-recipe)
5756

5857
For information about other container services, see the following Azure AI services articles:
5958
- [Tutorial: Create a container image for deployment to Azure Container Instances](/azure/container-instances/container-instances-tutorial-prepare-app)
@@ -63,6 +62,6 @@ For information about other container services, see the following Azure AI servi
6362
## Next steps
6463

6564
* [Install and run analyze text containers](./analyze-text-container.md)
66-
[Install and run analyze image containers](./analyze-image-container.md)
65+
* [Install and run analyze image containers](./analyze-image-container.md)
6766

6867

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

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ ApiKey={API_KEY}
7171
```
7272

7373
This command:
74-
* Runs a `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)
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).
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

@@ -143,15 +143,14 @@ 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-
147-
- [analyze image quick start](./quickstart-text.md#analyze-image-content)
146+
[Analyze image quick start](./quickstart-text.md#analyze-image-content)
148147

149148

150149

151150

152151

153152
## Next steps
154153

155-
* See the [content safety containers overview](content safety-container-overview.md)
156-
* Review [configure containers](content safety-container-configuration.md) for configuration settings
157-
* Use more [Azure AI containers](../cognitive-services-container-support.md)
154+
* See the [content safety containers overview](./container-overview.md)
155+
* Review [configure containers](./install-run-container.md) for configuration settings
156+
* Use more [Azure AI containers](../../../cognitive-services-container-support.md)

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
@@ -150,7 +150,7 @@ For more information on using WSS and HTTPS protocols, see [Container security](
150150
When you start or run the container, you might experience issues. Use an output [mount](content safety-container-configuration.md#mount-settings) and enable logging. Doing so allows the container to generate log files that are helpful when you troubleshoot issues.
151151

152152
> [!TIP]
153-
> For more troubleshooting information and guidance, see [Azure AI containers frequently asked questions (FAQ)](../containers/container-faq.yml) in the Azure AI services documentation.
153+
> For more troubleshooting information and guidance, see [Azure AI containers frequently asked questions (FAQ)](../../../containers/container-faq.yml) in the Azure AI services documentation.
154154
155155
### Logging settings
156156

@@ -165,7 +165,7 @@ ApiKey={API_KEY} \
165165
Logging:Console:LogLevel:Default=Information
166166
```
167167

168-
For more information about logging, see [Configure content safety containers](content safety-container-configuration.md#logging-settings) and [usage records](../containers/disconnected-containers.md#usage-records) in the Azure AI services documentation.
168+
For more information about logging, see [Configure content safety containers](./install-run-container.md#logging-settings) and [usage records](../../../containers/disconnected-containers.md#usage-records) in the Azure AI services documentation.
169169

170170
## Microsoft diagnostics container
171171

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Memory load – An embedded content safety text analysis process consumes about
8484

8585
Below SDK parameters can impact the infernece time of the embedded content safety model.
8686

87-
- `gpuEnabled` * Set as **true** to enable GPU, otherwise CPU will be used. Generally inference time will be shorter on GPU.
87+
- `gpuEnabled` Set as **true** to enable GPU, otherwise CPU will be used. Generally inference time will be shorter on GPU.
8888
- `numThreads` This parameter only works for CPU. It defines number of threads to be used in a multi-threaded environment. We support a maximum number of 4 threads.
8989

9090
See next section to for the performance benchmark data on popular PC CPUs and GPUs

0 commit comments

Comments
 (0)