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