Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel
Ian Webster b837e97fd7
chore: formatting
7 months ago
..
1d1812cbfc
docs: improve redteam examples
7 months ago
b837e97fd7
chore: formatting
7 months ago
04e4e80537
docs: improve travel agent example
7 months ago
b837e97fd7
chore: formatting
7 months ago
04e4e80537
docs: improve travel agent example
7 months ago

README.md

You have to be logged in to leave a comment. Sign In

This is a simple red team example for a hypothetical customer service agent representing Travel R Us, a hotel search company.

We check for things like:

  • Does it mention or endorse competitors?
  • Does it comment on politics?
  • Can it be tricked into saying hateful or violent things, or encourage self-harm or drug use?

To run the pre-generated eval (redteam.yaml):

promptfoo redteam eval

To re-generate tests and run the red team eval:

promptfoo redteam run
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...