Skip to content

Commit 4d2c853

Browse files
committed
updating screenshots
1 parent 68e076c commit 4d2c853

14 files changed

+11
-13
lines changed

articles/ai-services/openai/how-to/use-blocklists.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: Learn how to use blocklists with Azure OpenAI Service
66
manager: nitinme
77
ms.service: azure-ai-openai
88
ms.topic: how-to
9-
ms.date: 11/07/2023
9+
ms.date: 10/03/2024
1010
author: PatrickFarley
1111
ms.author: pafarley
1212
---
@@ -253,22 +253,20 @@ If the completion itself is blocked, the response returns `200`, as the completi
253253

254254
You can also create custom blocklists in the Azure OpenAI Studio as part of your content filtering configurations (public preview). Instructions on how to create custom content filters can be found [here](/azure/ai-services/openai/how-to/content-filters). The following steps show how to create custom blocklists as part of your content filters via Azure OpenAI Studio.
255255

256-
1. Select the Blocklists tab next to Content filters tab.
257-
:::image type="content" source="../media/content-filters/blocklist-select.jpg" alt-text="screenshot of blocklist selection." lightbox="../media/content-filters/blocklist-select.jpg":::
258-
1. Select Create blocklist
259-
:::image type="content" source="../media/content-filters/blocklist-select-create.jpg" alt-text="Screenshot of blocklist create selection." lightbox="../media/content-filters/blocklist-select-create.jpg":::
260-
1. Create a name for your blocklist, add a description and select on Create.
261-
:::image type="content" source="../media/content-filters/create-blocklist.jpg" alt-text="Screenshot of blocklist naming." lightbox="../media/content-filters/create-blocklist.jpg":::
256+
1. Select Content Filters from the left menu. Select the Blocklists tab next to Content filters tab. Then select Create Blocklist.
257+
:::image type="content" source="../media/content-filters/blocklist-select-create.png" alt-text="Screenshot of blocklist create selection." lightbox="../media/content-filters/blocklist-select-create.png":::
258+
1. Create a name for your blocklist, add a description and select on Create Blocklist.
259+
:::image type="content" source="../media/content-filters/create-blocklist.png" alt-text="Screenshot of blocklist name and description." lightbox="../media/content-filters/create-blocklist.png":::
262260
1. Select your custom blocklist once it's created, and select Add term.
263-
:::image type="content" source="../media/content-filters/custom-blocklist-add.jpg" alt-text="Screenshot of custom blocklist add term." lightbox="../media/content-filters/custom-blocklist-add.jpg":::
261+
:::image type="content" source="../media/content-filters/custom-blocklist-add.png" alt-text="Screenshot of custom blocklist add term." lightbox="../media/content-filters/custom-blocklist-add.png":::
264262
1. Add a term that should be filtered, and select Create. You can also create a regex.
265-
:::image type="content" source="../media/content-filters/custom-blocklist-add-item.jpg" alt-text="Screenshot of custom blocklist add item." lightbox="../media/content-filters/custom-blocklist-add-item.jpg":::
266-
1. You can Edit and Delete every term in your blocklist.
267-
:::image type="content" source="../media/content-filters/custom-blocklist-edit.jpg" alt-text="Screenshot of custom blocklist edit." lightbox="../media/content-filters/custom-blocklist-edit.jpg":::
263+
:::image type="content" source="../media/content-filters/custom-blocklist-add-item.png" alt-text="Screenshot of custom blocklist add item." lightbox="../media/content-filters/custom-blocklist-add-item.png":::
264+
1. You can delete each term in your blocklist.
265+
:::image type="content" source="../media/content-filters/custom-blocklist-edit.png" alt-text="Screenshot of custom blocklist edit screen." lightbox="../media/content-filters/custom-blocklist-edit.png":::
268266
1. Once the blocklist is ready, navigate to the Content filters (Preview) section and create a new customized content filter configuration. This opens a wizard with several AI content safety components. You can find more information on how to configure the main filters and optional models [here](/azure/ai-services/openai/how-to/content-filters). Go to Add blocklist (Optional).
269267
1. You'll now see all available blocklists. There are two types of blocklists – the blocklists you created, and prebuilt blocklists that Microsoft provides, in this case a Profanity blocklist (English)
270-
1. You can now decide which of the available blocklists you would like to include in your content filtering configuration, and you can select if it should apply to and filter prompts, completions or both. In the below example, we apply CustomBlocklist1 that we just created to prompts and completions, and the Profanity blocklist to completions only. The last step is to review and finish the content filtering configuration by clicking on Next.
271-
:::image type="content" source="../media/content-filters/filtering-configuration-manage.jpg" alt-text="Screenshot of filtering configuration management." lightbox="../media/content-filters/filtering-configuration-manage.jpg":::
268+
1. You can now decide which of the available blocklists you would like to include in your content filtering configuration. In the below example, we apply CustomBlocklist1 that we just created. The last step is to review and finish the content filtering configuration by clicking on Next.
269+
:::image type="content" source="../media/content-filters/filtering-configuration-manage.png" alt-text="Screenshot of filtering configuration management." lightbox="../media/content-filters/filtering-configuration-manage.png":::
272270
1. You can always go back and edit your configuration. Once it’s ready, select on Create content filter. The new configuration that includes your blocklists can now be applied to a deployment. Detailed instructions can be found [here](/azure/ai-services/openai/how-to/content-filters).
273271

274272

Binary file not shown.
278 KB
Loading
Binary file not shown.
Binary file not shown.
101 KB
Loading
Binary file not shown.
49 KB
Loading
Binary file not shown.
88.2 KB
Loading

0 commit comments

Comments
 (0)