Skip to content

Commit b9d6151

Browse files
committed
fixes
1 parent 6ccb7f6 commit b9d6151

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

articles/ai-foundry/how-to/develop/run-ai-red-teaming-cloud.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,12 @@ author: lgayhardt
1717

1818
[!INCLUDE [feature-preview](../../includes/feature-preview.md)]
1919

20-
Though the AI Red Teaming Agent (preview) can be run [locally](./develop/run-scans-ai-red-teaming-agent) during prototyping and development to help identify safety risks, running them in the cloud allows for pre-deployment AI red teaming runs on larger combinations of attack strategies and risk categories for a fuller analysis.
20+
Though the AI Red Teaming Agent (preview) can be run [locally](./develop/run-scans-ai-red-teaming-agent.md) during prototyping and development to help identify safety risks, running them in the cloud allows for pre-deployment AI red teaming runs on larger combinations of attack strategies and risk categories for a fuller analysis.
2121

2222
## Prerequisites
2323

2424
[!INCLUDE [uses-fdp-only](../../includes/uses-fdp-only.md)]
2525

26-
### Prerequisite set up steps for Azure AI Foundry Projects
27-
2826
If this is your first time running evaluations or AI red teaming runs on your Azure AI Foundry project, you might need to do a few additional setup steps.
2927

3028
1. [Create and connect your storage account](https://github.com/azure-ai-foundry/foundry-samples/blob/main/samples/microsoft/infrastructure-setup/01-connections/connection-storage-account.bicep) to your Azure AI Foundry project at the resource level. This bicep template provisions and connects a storage account to your Foundry project with key authentication.

articles/ai-foundry/how-to/develop/run-scans-ai-red-teaming-agent.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,16 @@ This article guides you through the process of
2424
- Creating an AI Red Teaming Agent locally
2525
- Running automated scans locally and viewing the results
2626

27+
## Prerequisites
28+
29+
- An Azure AI Foundry project or hubs based project. To learn more, see [Create a project](/how-to/create-projects.md)
30+
31+
If this is your first time running evaluations or AI red teaming runs on your Azure AI Foundry project, you might need to do a few additional setup steps.
32+
33+
1. [Create and connect your storage account](https://github.com/azure-ai-foundry/foundry-samples/blob/main/samples/microsoft/infrastructure-setup/01-connections/connection-storage-account.bicep) to your Azure AI Foundry project at the resource level. This bicep template provisions and connects a storage account to your Foundry project with key authentication.
34+
2. Make sure the connected storage account has access to all projects.
35+
3. If you connected your storage account with Microsoft Entra ID, make sure to give MSI (Microsoft Identity) permissions for Storage Blob Data Owner to both your account and Foundry project resource in Azure portal.
36+
2737
## Getting started
2838

2939
First install the `redteam` package as an extra from Azure AI Evaluation SDK, this provides the PyRIT functionality:
@@ -35,14 +45,6 @@ uv install azure-ai-evaluation[redteam]
3545
> [!NOTE]
3646
> PyRIT only works with Python 3.10, 3.11, 3.12 but doesn't support Python 3.9. If you're using Python 3.9, you must upgrade your Python version to use this feature.
3747
38-
### Prerequisite set up steps for Azure AI Foundry Projects
39-
40-
If this is your first time running evaluations or AI red teaming runs on your Azure AI Foundry project, you might need to do a few additional setup steps.
41-
42-
1. [Create and connect your storage account](https://github.com/azure-ai-foundry/foundry-samples/blob/main/samples/microsoft/infrastructure-setup/01-connections/connection-storage-account.bicep) to your Azure AI Foundry project at the resource level. This bicep template provisions and connects a storage account to your Foundry project with key authentication.
43-
2. Make sure the connected storage account has access to all projects.
44-
3. If you connected your storage account with Microsoft Entra ID, make sure to give MSI (Microsoft Identity) permissions for Storage Blob Data Owner to both your account and Foundry project resource in Azure portal.
45-
4648
## Create and run an AI Red Teaming Agent
4749

4850
You can instantiate the AI Red Teaming agent with your Azure AI Project and Azure Credentials.

articles/ai-foundry/how-to/view-ai-red-teaming-results.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Or by attack complexity classification:
3535

3636
Drilling down further into the data tab provides a row-level view of each attack-response pair, enabling deeper insights into system issues and behaviors. For each attack-response pair, you can see additional information such as whether or not the attack was successful, what attack strategy was used and its attack complexity. There's also an option for a human in the loop reviewer to provide human feedback by selecting the thumbs up or thumbs down icon.
3737

38-
:::image type="content" source="../../media/evaluations/red-teaming-agent/ai-red-team-data.png" alt-text="Screenshot of AI Red Teaming data page in Azure AI Foundry." lightbox="../media/evaluations/red-teaming-agent/ai-red-team-data.png":::
38+
:::image type="content" source="../media/evaluations/red-teaming-agent/ai-red-team-data.png" alt-text="Screenshot of AI Red Teaming data page in Azure AI Foundry." lightbox="../media/evaluations/red-teaming-agent/ai-red-team-data.png":::
3939

4040
To view each conversation, selecting **View more** opens up the full conversation for more detailed analysis of the AI system's response.
4141

0 commit comments

Comments
 (0)