pyrit.scenario.foundry.FoundryScenario#
- class FoundryScenario(**kwargs: Any)[source]#
Bases:
RedTeamAgentDeprecated alias for RedTeamAgent.
This class is deprecated and will be removed in version 0.13.0. Use RedTeamAgent instead.
Methods
__init__(**kwargs)Initialize FoundryScenario with deprecation warning.
default_dataset_config()Return the default dataset configuration for this scenario.
get_default_strategy()Get the default strategy used when no strategies are specified.
get_strategy_class()Get the strategy enum class for this scenario.
initialize_async(*[, objective_target, ...])Initialize the scenario by populating self._atomic_attacks and creating the ScenarioResult.
run_async()Execute all atomic attacks in the scenario sequentially.
Attributes
atomic_attack_countGet the number of atomic attacks in this scenario.
nameGet the name of the scenario.
version