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 365 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
  1. # yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
  2. prompts:
  3. - 'Write a {{sentence}}'
  4. providers:
  5. - openai:gpt-4o-mini
  6. tests:
  7. - vars:
  8. sentence: 'tweet about {{topic}}'
  9. topic: 'bananas'
  10. - vars:
  11. sentence: 'tweet about fruits'
  12. topic: 'fruits'
  13. - vars:
  14. sentence: 'tweet about weasels'
  15. topic: 'weasels'
Tip!

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

Comments

Loading...