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 420 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
  1. # yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
  2. description: 'Similarity assertions with Voyage AI'
  3. prompts:
  4. - 'Output the color of {{item}}'
  5. providers:
  6. - 'anthropic:claude-3-5-haiku-20241022'
  7. defaultTest:
  8. options:
  9. provider:
  10. embedding: 'voyage:voyage-2'
  11. tests:
  12. - vars:
  13. item: bananas
  14. assert:
  15. - type: similar
  16. value: 'yellowish'
  17. threshold: 0.5
Tip!

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

Comments

Loading...