nat.cli.commands.red_teaming.red_teaming#
Red teaming CLI command.
Attributes#
Functions#
|
Run red teaming evaluation with multiple scenarios. |
|
Process the red team eval command and execute the evaluation. |
Module Contents#
- logger#
- process_red_team_eval(
- processors,
- *,
- red_team_config: pathlib.Path | None,
- config_file: pathlib.Path | None,
- dataset: pathlib.Path | None,
- result_json_path: str,
- endpoint: str | None,
- endpoint_timeout: int,
- reps: int,
- override: tuple[tuple[str, str], Ellipsis],
Process the red team eval command and execute the evaluation.