Share via


DirectAttackSimulator Class

Note

This is an experimental class, and may change at any time. Please see https://aka.ms/azuremlexperimental for more information.

Initialize a UPIA (user prompt injected attack) jailbreak adversarial simulator with a project scope. This simulator converses with your AI system using prompts designed to interrupt normal functionality.

Constructor.

Constructor

DirectAttackSimulator(*, azure_ai_project: dict, credential)

Parameters

Name Description
azure_ai_project
Required

The scope of the Azure AI project. It contains subscription id, resource group, and project name.

credential
Required

The credential for connecting to Azure AI project.

Keyword-Only Parameters

Name Description
azure_ai_project
Required
credential
Required