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 5.3 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
  1. # yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
  2. description: Google Vertex AI model evaluation and testing
  3. # This configuration runs each prompt through a series of example inputs and checks if they meet requirements.
  4. prompts:
  5. - "You are a helpful assistant. Reply with a concise answer to this inquiry: '{{question}}'"
  6. providers:
  7. - id: 'vertex:gemini-1.5-flash'
  8. config:
  9. systemInstruction:
  10. parts:
  11. - text: Always talk like a cow. Mooo!
  12. - id: 'vertex:gemini-2.0-flash-thinking-exp'
  13. config:
  14. systemInstruction:
  15. parts:
  16. - text: Always talk like a sheep. Baaaah!
  17. defaultTest:
  18. options:
  19. provider:
  20. # Use gemini-pro for model-graded evals (e.g. assertions such as llm-rubric)
  21. text: vertex:chat:gemini-pro
  22. # Use vertex embeddings for similarity
  23. embedding: vertex:embedding:text-embedding-004
  24. tests:
  25. - vars:
  26. question: 'Solve 3*x^3-5*x=1'
  27. - vars:
  28. question: What's the weather in New York?
  29. assert:
  30. - type: similar
  31. value: 75 and sunny
  32. - vars:
  33. question: Who won the latest football match between the Giants and 49ers?
  34. - vars:
  35. question: "Which magazine was started first Arthur's Magazine or First for Women?"
  36. - vars:
  37. question: 'The Oberoi family is part of a hotel company that has a head office in what city?'
  38. - vars:
  39. question: 'Musician and satirist Allie Goertz wrote a song about the "The Simpsons" character Milhouse, who Matt Groening named after who?'
  40. - vars:
  41. question: "What nationality was James Henry Miller's wife?"
  42. - vars:
  43. question: 'Cadmium Chloride is slightly soluble in this chemical, it is also called what?'
  44. - vars:
  45. question: 'Which tennis player won more Grand Slam titles, Henri Leconte or Jonathan Stark?'
  46. - vars:
  47. question: "Which genus of moth in the world's seventh-largest country contains only one species?"
  48. - vars:
  49. question: 'Who was once considered the best kick boxer in the world, however he has been involved in a number of controversies relating to his "unsportsmanlike conducts" in the sport and crimes of violence outside of the ring.'
  50. - vars:
  51. question: 'The Dutch-Belgian television series that "House of Anubis" was based on first aired in what year?'
  52. - vars:
  53. question: 'What is the length of the track where the 2013 Liqui Moly Bathurst 12 Hour was staged?'
  54. - vars:
  55. question: 'Fast Cars, Danger, Fire and Knives includes guest appearances from which hip hop record executive?'
  56. - vars:
  57. question: 'Gunmen from Laredo starred which narrator of "Frontier"?'
  58. - vars:
  59. question: 'Where did the form of music played by Die Rhöner Säuwäntzt originate?'
  60. - vars:
  61. question: 'In which American football game was Malcolm Smith named Most Valuable player?'
  62. - vars:
  63. question: 'What U.S Highway gives access to Zilpo Road, and is also known as Midland Trail?'
  64. - vars:
  65. question: 'The 1988 American comedy film, The Great Outdoors, starred a four-time Academy Award nominee, who received a star on the Hollywood Walk of Fame in what year?'
  66. - vars:
  67. question: 'What are the names of the current members of American heavy metal band who wrote the music for Hurt Locker The Musical?'
  68. - vars:
  69. question: 'Human Error" is the season finale of the third season of a tv show that aired on what network?'
  70. - vars:
  71. question: 'Dua Lipa, an English singer, songwriter and model, the album spawned the number-one single "New Rules" is a song by English singer Dua Lipa from her eponymous debut studio album, released in what year?'
  72. - vars:
  73. question: 'American politician Joe Heck ran unsuccessfully against Democrat Catherine Cortez Masto, a woman who previously served as the 32nd Attorney General of where?'
  74. - vars:
  75. question: 'Which state does the drug stores, of which the CEO is Warren Bryant, are located?'
  76. - vars:
  77. question: 'Which American politician did Donahue replaced '
  78. - vars:
  79. question: 'Which band was founded first, Hole, the rock band that Courtney Love was a frontwoman of, or The Wolfhounds?'
  80. - vars:
  81. question: 'How old is the female main protagonist of Catching Fire?'
  82. - vars:
  83. question: 'Chang Ucchin was born in korea during a time that ended with the conclusion of what?'
  84. - vars:
  85. question: 'Who is the director of the 2003 film which has scenes in it filmed at the Quality Cafe in Los Angeles?'
  86. - vars:
  87. question: "Which actress played the part of fictitious character Kimberly Ann Hart, in the franchise built around a live action superhero television series taking much of its footage from the Japanese tokusatsu 'Super Sentai'?"
  88. - vars:
  89. question: 'Who was born first, Pablo Trapero or Aleksander Ford?'
  90. - vars:
  91. question: "Are Jane and First for Women both women's magazines?"
  92. - vars:
  93. question: 'What profession does Nicholas Ray and Elia Kazan have in common?'
  94. - vars:
  95. question: 'Where is the company that purchased Aixam based in?'
  96. - vars:
  97. question: 'Which documentary is about Finnish rock groups, Adam Clayton Powell or The Saimaa Gesture?'
  98. - vars:
  99. question: 'Who was inducted into the Rock and Roll Hall of Fame, David Lee Roth or Cia Berg?'
  100. - vars:
  101. question: "Zimbabwe's Guwe Secondary School has a sister school in what New York county?"
Tip!

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

Comments

Loading...