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