Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel
sklein12 9984bdd42a
chore: switch from stateless to stateful (#2839)
7 months ago
..
1d1812cbfc
docs: improve redteam examples
7 months ago
9984bdd42a
chore: switch from stateless to stateful (#2839)
7 months ago
9984bdd42a
chore: switch from stateless to stateful (#2839)
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 enforce role-based access controls on the knowledge base?
  • Does it mention or endorse competitors?
  • Does it comment on politics or religion?
  • 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...