Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions doc/code/scenarios/0_scenarios.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -437,9 +437,10 @@
"\n",
"Every scenario can optionally include a **baseline attack** — a `PromptSendingAttack` that sends\n",
"each objective directly to the target without any converters or multi-turn techniques. This is\n",
"controlled by the `include_baseline` parameter on `initialize_async`; when omitted, each\n",
"scenario falls back to its own `BASELINE_ATTACK_POLICY` class attribute (most scenarios default\n",
"it on; `Jailbreak` defaults it off). See\n",
"controlled by the `include_baseline` scenario parameter, supplied through the CLI, config, or\n",
"`set_params_from_args` before `initialize_async`; when omitted, each scenario falls back to its\n",
"own `BASELINE_ATTACK_POLICY` class attribute (most scenarios default it on; `Jailbreak` defaults\n",
"it off). See\n",
"[Common Scenario Parameters](./1_common_scenario_parameters.ipynb) for a worked example.\n",
"\n",
"Custom scenarios should choose their `BASELINE_ATTACK_POLICY` based on whether an unmodified\n",
Expand Down
7 changes: 4 additions & 3 deletions doc/code/scenarios/0_scenarios.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,10 @@ async def _build_atomic_attacks_async(self, *, context):
#
# Every scenario can optionally include a **baseline attack** — a `PromptSendingAttack` that sends
# each objective directly to the target without any converters or multi-turn techniques. This is
# controlled by the `include_baseline` parameter on `initialize_async`; when omitted, each
# scenario falls back to its own `BASELINE_ATTACK_POLICY` class attribute (most scenarios default
# it on; `Jailbreak` defaults it off). See
# controlled by the `include_baseline` scenario parameter, supplied through the CLI, config, or
# `set_params_from_args` before `initialize_async`; when omitted, each scenario falls back to its
# own `BASELINE_ATTACK_POLICY` class attribute (most scenarios default it on; `Jailbreak` defaults
# it off). See
# [Common Scenario Parameters](./1_common_scenario_parameters.ipynb) for a worked example.
#
# Custom scenarios should choose their `BASELINE_ATTACK_POLICY` based on whether an unmodified
Expand Down