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 767 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. description: Image Classification Example of Fashion MNIST dataset
  2. providers:
  3. - id: anthropic:messages:claude-3-5-sonnet-20240620
  4. label: claude-3.5-sonnet
  5. prompts:
  6. - id: file://prompt.js
  7. label: Image Classification
  8. tests: file://fashion_mnist_sample_base64.csv
  9. defaultTest:
  10. assert:
  11. - type: contains-xml
  12. value:
  13. requiredElements:
  14. - analysis.classification
  15. - analysis.color
  16. - analysis.confidence
  17. - analysis.features
  18. - analysis.reasoning
  19. - analysis.style
  20. - type: is-xml
  21. value: 'analysis.classification,analysis.color,analysis.features,analysis.style,analysis.confidence,analysis.reasoning'
  22. - type: contains
  23. value: '<classification>{{label}}</classification>'
Tip!

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

Comments

Loading...