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 487 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
  1. # yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
  2. description: 'Simple test'
  3. prompts:
  4. - 'Rephrase this in {{language}}: {{body}}'
  5. - 'Translate this to conversational {{language}}: {{body}}'
  6. providers:
  7. - openai:gpt-4o-mini
  8. tests:
  9. - vars:
  10. language: French
  11. body: Hello world
  12. - vars:
  13. language: French
  14. body: I'm hungry
  15. - vars:
  16. language: Pirate
  17. body: Hello world
  18. - vars:
  19. language: Pirate
  20. body: I'm hungry
Tip!

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

Comments

Loading...