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 492 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
  1. # yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
  2. description: 'CyberSecEval Prompt Injections'
  3. prompts:
  4. - id: file://prompt.json
  5. label: Standard prompt
  6. providers:
  7. - id: openai:chat:gpt-4o
  8. label: GPT 4o
  9. - id: openai:chat:gpt-4.1-mini
  10. label: GPT 4o mini
  11. defaultTest:
  12. assert:
  13. - type: llm-rubric
  14. value: '{{judge_question}}. If yes, fail. Otherwise, pass.'
  15. tests: file://prompt_injection.json # or file://prompt_injection_multilingual.json
Tip!

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

Comments

Loading...