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.9 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
107
108
109
110
111
112
113
114
  1. # yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
  2. prompts:
  3. - file://prompts.txt
  4. providers:
  5. - bedrock:anthropic.claude-v2
  6. - bedrock:meta.llama3-70b-instruct-v1:0
  7. - bedrock:mistral.mixtral-8x7b-instruct-v0:1
  8. - bedrock:cohere.command-r-plus-v1:0
  9. defaultTest:
  10. options:
  11. provider:
  12. # Override the embeddings provider for all assertion types that require it (such as similarity)
  13. embedding:
  14. id: bedrock:embeddings:amazon.titan-embed-text-v2:0
  15. config:
  16. region: us-east-1
  17. tests:
  18. - vars:
  19. question: What's the weather in New York?
  20. assert:
  21. # This uses the embeddings provider set above
  22. - type: similar
  23. value: sunny
  24. - vars:
  25. question: Who won the latest football match between the Giants and 49ers?
  26. - vars:
  27. question: "Which magazine was started first Arthur's Magazine or First for Women?"
  28. - vars:
  29. question: 'The Oberoi family is part of a hotel company that has a head office in what city?'
  30. - vars:
  31. question: 'Musician and satirist Allie Goertz wrote a song about the "The Simpsons" character Milhouse, who Matt Groening named after who?'
  32. - vars:
  33. question: "What nationality was James Henry Miller's wife?"
  34. - vars:
  35. question: 'Cadmium Chloride is slightly soluble in this chemical, it is also called what?'
  36. - vars:
  37. question: 'Which tennis player won more Grand Slam titles, Henri Leconte or Jonathan Stark?'
  38. - vars:
  39. question: "Which genus of moth in the world's seventh-largest country contains only one species?"
  40. - vars:
  41. 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.'
  42. - vars:
  43. question: 'The Dutch-Belgian television series that "House of Anubis" was based on first aired in what year?'
  44. - vars:
  45. question: 'What is the length of the track where the 2013 Liqui Moly Bathurst 12 Hour was staged?'
  46. - vars:
  47. question: 'Fast Cars, Danger, Fire and Knives includes guest appearances from which hip hop record executive?'
  48. - vars:
  49. question: 'Gunmen from Laredo starred which narrator of "Frontier"?'
  50. - vars:
  51. question: 'Where did the form of music played by Die Rhöner Säuwäntzt originate?'
  52. - vars:
  53. question: 'In which American football game was Malcolm Smith named Most Valuable player?'
  54. - vars:
  55. question: 'What U.S Highway gives access to Zilpo Road, and is also known as Midland Trail?'
  56. - vars:
  57. 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?'
  58. - vars:
  59. question: 'What are the names of the current members of American heavy metal band who wrote the music for Hurt Locker The Musical?'
  60. - vars:
  61. question: 'Human Error" is the season finale of the third season of a tv show that aired on what network?'
  62. - vars:
  63. 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?'
  64. - vars:
  65. question: 'American politician Joe Heck ran unsuccessfully against Democrat Catherine Cortez Masto, a woman who previously served as the 32nd Attorney General of where?'
  66. - vars:
  67. question: 'Which state does the drug stores, of which the CEO is Warren Bryant, are located?'
  68. - vars:
  69. question: 'Which American politician did Donahue replaced '
  70. - vars:
  71. question: 'Which band was founded first, Hole, the rock band that Courtney Love was a frontwoman of, or The Wolfhounds?'
  72. - vars:
  73. question: 'How old is the female main protagonist of Catching Fire?'
  74. - vars:
  75. question: 'Chang Ucchin was born in korea during a time that ended with the conclusion of what?'
  76. - vars:
  77. question: 'Who is the director of the 2003 film which has scenes in it filmed at the Quality Cafe in Los Angeles?'
  78. - vars:
  79. 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'?"
  80. - vars:
  81. question: 'Who was born first, Pablo Trapero or Aleksander Ford?'
  82. - vars:
  83. question: "Are Jane and First for Women both women's magazines?"
  84. - vars:
  85. question: 'What profession does Nicholas Ray and Elia Kazan have in common?'
  86. - vars:
  87. question: 'Where is the company that purchased Aixam based in?'
  88. - vars:
  89. question: 'Which documentary is about Finnish rock groups, Adam Clayton Powell or The Saimaa Gesture?'
  90. - vars:
  91. question: 'Who was inducted into the Rock and Roll Hall of Fame, David Lee Roth or Cia Berg?'
  92. - vars:
  93. question: "Zimbabwe's Guwe Secondary School has a sister school in what New York county?"
  94. - vars:
  95. question: 'Who is the director of the 2003 film which has scenes in it filmed at the Quality Cafe in Los Angeles?'
  96. - vars:
  97. 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'?"
  98. - vars:
  99. question: 'Who was born first, Pablo Trapero or Aleksander Ford?'
  100. - vars:
  101. question: "Are Jane and First for Women both women's magazines?"
  102. - vars:
  103. question: 'What profession does Nicholas Ray and Elia Kazan have in common?'
  104. - vars:
  105. question: 'Where is the company that purchased Aixam based in?'
  106. - vars:
  107. question: 'Which documentary is about Finnish rock groups, Adam Clayton Powell or The Saimaa Gesture?'
  108. - vars:
  109. question: 'Who was inducted into the Rock and Roll Hall of Fame, David LeRoth or Cia Berg?'
  110. - vars:
  111. 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...