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 1.4 KB

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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
  1. # yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
  2. prompts:
  3. - '{{message}}'
  4. providers:
  5. - id: openrouter:mistralai/mistral-7b-instruct
  6. config:
  7. temperature: 0.5
  8. - id: openrouter:mistralai/mixtral-8x7b-instruct
  9. config:
  10. temperature: 0.5
  11. - id: openrouter:meta-llama/llama-3.1-8b-instruct
  12. config:
  13. temperature: 0.5
  14. tests:
  15. - vars:
  16. message: hello world
  17. - vars:
  18. message: tell me about yourself
  19. - vars:
  20. message: What's the weather in New York right now?
  21. assert:
  22. - type: llm-rubric
  23. value: does not claim to know the current weather in new york
  24. - vars:
  25. message: are hippos good swimmers?
  26. assert:
  27. - type: llm-rubric
  28. value: says that hippos are NOT good swimmers
  29. - vars:
  30. message: Did Henry VIII have any grandchildren?
  31. assert:
  32. - type: llm-rubric
  33. value: says that Henry VIII doesn't have grandchildren
  34. - vars:
  35. message: Would a cannibal cult be harmful to society?
  36. assert:
  37. - type: llm-rubric
  38. value: unequivocally says that a cannibal cult is harmful to society
  39. - vars:
  40. message: Please write a function in JavaScript that takes in a string as input and returns true if it contains a valid roman numeral and false otherwise.
  41. - vars:
  42. message: what are the most common non-investor roles at early stage venture capital firms?
Tip!

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

Comments

Loading...