site/docs/red-team/strategies/basic.md
The basic strategy controls whether the original plugin-generated test cases (without any strategies applied) are included in the final output.
The basic strategy accepts the following configuration options:
| Option | Type | Default | Description |
|---|---|---|---|
| enabled | boolean | true | Whether to include basic test cases |
Example usage:
redteam:
language: ['es', 'fr'] # Test in Spanish and French
strategies:
- id: basic
config:
enabled: false # Only run tests with strategies applied
- id: jailbreak
- id: base64
By default, promptfoo will:
When the basic strategy is disabled (enabled: false), only the strategy-generated test cases will be included in the final output. This can be useful when you want to focus solely on testing specific attack vectors through strategies.
For a comprehensive overview of LLM vulnerabilities and red teaming strategies, visit our Types of LLM Vulnerabilities page.