Skip to content

Commit 87b5334

Browse files
committed
add blocklists ht
1 parent 33c0dbe commit 87b5334

File tree

4 files changed

+35
-0
lines changed

4 files changed

+35
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
title: Use blocklists in AI Studio
3+
titleSuffix: Azure AI Studio
4+
description: Learn how to create custom blocklists in Azure AI Studio as part of your content filtering configurations.
5+
manager: nitinme
6+
ms.service: azure-ai-studio
7+
ms.custom:
8+
- ignite-2024
9+
ms.topic: how-to
10+
ms.date: 11/07/2024
11+
ms.author: pafarley
12+
author: PatrickFarley
13+
---
14+
15+
16+
# Use blocklists in Azure AI Studio
17+
18+
You can create custom blocklists in the Azure AI Studio as part of your content filtering configurations. The following steps show how to create custom blocklists as part of your content filters in Azure AI Studio.
19+
20+
## Create a blocklist
21+
22+
1. Go to [AI Studio](https://ai.azure.com/) and navigate to your project/hub. Then select the **Safety+ Security** page on the left nav and select the **Blocklists** tab.
23+
:::image type="content" source="../../media/content-safety/content-filter/select-blocklists.png" alt-text="Screenshot of the Blocklists page tab.":::
24+
1. Select **Create a blocklist**. Enter a name for your blocklist, add a description, and select an Azure OpenAI resource to connect it to. Then select **Create Blocklist**.
25+
1. Select your new blocklist once it's created. On the blocklist's page, select **Add new term**.
26+
1. Enter the term that should be filtered and select **Add term**. You can also use a regex.
27+
You can delete each term in your blocklist.
28+
1. Once the blocklist is ready, go back to the **Safety+ Security** page and select the **Content filters** tab. Create a new content filter configuration. This opens a wizard with several AI content safety components.
29+
:::image type="content" source="../../media/content-safety/content-filter/create-content-filter.png" alt-text="Screenshot of the Create content filter button.":::
30+
1. On the **Input filter** and **Output filter** screens, toggle the **Blocklist** button on. You can then select a blocklist from the list.
31+
There are two types of blocklists: the custom blocklists you created, and prebuilt blocklists that Microsoft provides—in this case a Profanity blocklist (English).
32+
1. You can now decide which of the available blocklists you want to include in your content filtering configuration. The last step is to review and finish the content filtering configuration by selecting **Next**.
33+
You can always go back and edit your configuration. Once it’s ready, select a **Create content filter**. The new configuration that includes your blocklists can now be applied to a deployment.
-124 KB
Loading
162 KB
Loading

articles/ai-studio/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ items:
8282
href: ai-services/how-to/content-safety.md
8383
- name: Content filtering
8484
href: concepts/content-filtering.md
85+
- name: Use blocklists
86+
href: how-to/use-blocklists.md
8587

8688
- name: Azure Speech
8789
items:

0 commit comments

Comments
 (0)