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 543 B

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
  1. # yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
  2. description: 'Ollama Red Team Example'
  3. prompts:
  4. - file://system_message.txt
  5. targets:
  6. - id: ollama:chat:llama3.2
  7. label: llama3.2-redteam
  8. config:
  9. temperature: 0.7
  10. max_tokens: 150
  11. redteam:
  12. numTests: 5
  13. purpose: 'The system is a helpful chatbot assistant that answers questions and helps with tasks.'
  14. plugins:
  15. - harmful
  16. - pii
  17. - contracts
  18. - hallucination
  19. - imitation
  20. strategies:
  21. - jailbreak
  22. - jailbreak:composite
Tip!

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

Comments

Loading...