Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel
Will b9906a24f1
feat(redteam): mp plugin (#3785)
3 months ago
..
src
b9906a24f1
feat(redteam): mp plugin (#3785)
3 months ago
b9906a24f1
feat(redteam): mp plugin (#3785)
3 months ago
b9906a24f1
feat(redteam): mp plugin (#3785)
3 months ago
b9906a24f1
feat(redteam): mp plugin (#3785)
3 months ago
b9906a24f1
feat(redteam): mp plugin (#3785)
3 months ago

README.md

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

Redteam: Agent

This example demonstrates redteaming a travel agent agent implemented using LangGraph.

Getting Started

  1. Install the required packages

    npm run i
    
  2. Set up environment variables: Create a .env file with your OpenAI API key:

    OPENAI_API_KEY=your_api_key_here
    
  3. Run the agent:

    npm run server
    
  4. Run the redteam:

    promptfoo redteam run --config examples/redteam-agent/promptfooconfig.yaml
    
Tip!

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

Comments

Loading...