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 817 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
26
27
28
  1. # yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
  2. prompts:
  3. - id: file://prompts1.txt
  4. label: content_generation
  5. - id: file://prompts2.txt
  6. label: knowledge_base_query
  7. providers:
  8. - id: openai:gpt-4o
  9. label: 4o
  10. prompts:
  11. - content_generation
  12. - id: openai:gpt-4o-mini
  13. label: '3.5'
  14. prompts:
  15. - knowledge_base_query
  16. tests:
  17. - vars:
  18. topic: machine learning trends
  19. assert:
  20. - type: select-best
  21. value: Choose the response that most effectively generates a comprehensive overview of current machine learning trends.
  22. - vars:
  23. topic: transformer models
  24. assert:
  25. - type: select-best
  26. value: Choose the response that provides the most accurate and detailed information about transformer models from the knowledge base.
Tip!

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

Comments

Loading...