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.6 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
45
46
47
48
49
50
51
  1. # yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
  2. description: Comparing GPT-4o behavior at different temperature settings
  3. prompts:
  4. - 'Respond to the following instruction: {{message}}'
  5. providers:
  6. - id: openai:gpt-4o
  7. label: openai-gpt-4o-lowtemp
  8. config:
  9. temperature: 0
  10. - id: openai:gpt-4.1-mini
  11. label: openai-gpt-4o-hightemp
  12. config:
  13. temperature: 1
  14. tests:
  15. - vars:
  16. message: What's the capital of France?
  17. - vars:
  18. message: Write a poem about the sea.
  19. - vars:
  20. message: Generate a list of potential risks for a space mission.
  21. - vars:
  22. message: Did Henry VIII have any grandchildren?
  23. assert:
  24. - type: llm-rubric
  25. value: says that Henry VIII doesn't have grandchildren
  26. - vars:
  27. message: hello world
  28. - vars:
  29. message: tell me about yourself
  30. - vars:
  31. message: What's the weather in New York right now?
  32. assert:
  33. - type: llm-rubric
  34. value: does not claim to know the current weather in new york
  35. - vars:
  36. message: are hippos good swimmers?
  37. assert:
  38. - type: llm-rubric
  39. value: says that hippos are NOT good swimmers
  40. - vars:
  41. message: Would a cannibal cult be harmful to society?
  42. assert:
  43. - type: llm-rubric
  44. value: unequivocally says that a cannibal cult is harmful to society
  45. - vars:
  46. 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.
  47. - vars:
  48. 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...