Share via


simulator Package

Classes

AdversarialSimulator

Note

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

Initializes the adversarial simulator with a project scope.

Constructor.

DirectAttackSimulator

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.

IndirectAttackSimulator

Note

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

Initializes the XPIA (cross domain prompt injected attack) jailbreak adversarial simulator with a project scope.

Constructor.

Simulator

Note

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

Simulator for generating synthetic conversations.

Initializes the task simulator with the model configuration.

Enums

AdversarialScenario

Adversarial scenario types

AdversarialScenarioJailbreak

Adversarial scenario types for XPIA Jailbreak

SupportedLanguages

Supported languages for evaluation, using ISO standard language codes.