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 354 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
  1. description: 'Similarity assertions with Voyage AI'
  2. prompts:
  3. - 'Output the color of {{item}}'
  4. providers:
  5. - 'anthropic:messages:claude-3-haiku-20240307'
  6. defaultTest:
  7. options:
  8. provider:
  9. embedding: 'voyage:voyage-2'
  10. tests:
  11. - vars:
  12. item: bananas
  13. assert:
  14. - type: similar
  15. value: 'yellowish'
  16. threshold: 0.5
Tip!

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

Comments

Loading...