Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

promptfooconfig.yaml 1.1 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
  1. description: 'LangChain Red Team Example'
  2. targets:
  3. - id: 'file://langchain_provider.py'
  4. label: 'LangChain App'
  5. config:
  6. pythonExecutable: './venv/bin/python'
  7. redteam:
  8. numTests: 5
  9. purpose: 'The system is a customer service agent for Acme Corp that helps users with product inquiries and support tickets.'
  10. plugins:
  11. # See https://promptfoo.dev/docs/red-team/plugins/ for more details
  12. # Test for harmful content generation
  13. # - harmful # All harmful plugins
  14. - harmful:hate
  15. - harmful:insults
  16. - harmful:self-harm
  17. # Test for data leakage and privacy
  18. # - pii # All pii plugins
  19. # - pii:direct
  20. # - pii:session
  21. # Test for business logic issues
  22. # - competitors
  23. # - contracts
  24. # - excessive-agency
  25. # Test for security issues
  26. # - ssrf
  27. # - sql-injection
  28. # - rbac
  29. # Test for reliability issues
  30. # - hallucination
  31. # - imitation
  32. strategies:
  33. # See https://promptfoo.dev/docs/red-team/strategies/ for more details
  34. # Dynamic jailbreak strategies
  35. - jailbreak
  36. - jailbreak:composite
  37. # Multi-turn attack strategies (for stateful apps)
  38. # - goat
  39. # - crescendo
Tip!

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

Comments

Loading...