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