https://promptfoo.dev/ logo
About Prompt Generation?
# ❓|questions
s
Which API does it use to generate the prompts using promptfoo? Does it use another AI model to generate prompt and attack the targets?
m
Promptfoo’s redteam prompt generation primarily leverages GPT-4o, along with specialized uncensored Llama-based models for generating dynamic adversarial prompts. By default, promptfoo redteam generate creates payloads using these models for the plugins and strategies you select. However, you can override the default LLM provider for all open-source plugins directly from the command line—run
promptfoo redteam generate --help
to see the available options. The toolkit incorporates cutting-edge adversarial ML research, including methods like Microsoft’s Crescendo and Meta’s GOAT framework, some Agentic Redteaming strategies that promptfoo has developed internally, as well as simpler encodings (e.g., base64, leetspeak).