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 797 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
29
30
  1. # yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
  2. prompts:
  3. - file://prompt.json
  4. providers:
  5. - id: adaline:anthropic:chat:claude-3-5-sonnet-20240620
  6. config:
  7. maxTokens: 120
  8. defaultTest:
  9. vars:
  10. system_message: file://system_message.txt
  11. previous_messages:
  12. - user: Who founded Facebook?
  13. - assistant: Mark Zuckerberg
  14. tests:
  15. - vars:
  16. question: What is his role at Internet.org?
  17. assert:
  18. - type: similar
  19. value: Founder and CEO
  20. threshold: 0.25
  21. provider: adaline:openai:embedding:text-embedding-3-large
  22. - vars:
  23. question: Is he still connected with Facebook?
  24. assert:
  25. - type: similar
  26. value: Yes
  27. threshold: 0.5
  28. provider: adaline:openai:embedding:text-embedding-3-small
Tip!

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

Comments

Loading...