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.js 519 B

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
  1. module.exports = {
  2. description: 'A translator built with LLM',
  3. prompts: ['prompts.txt'],
  4. providers: ['openai:gpt-4o-mini'],
  5. tests: [
  6. {
  7. vars: {
  8. language: 'French',
  9. body: 'Hello world',
  10. },
  11. },
  12. {
  13. vars: {
  14. language: 'French',
  15. body: "I'm hungry",
  16. },
  17. },
  18. {
  19. vars: {
  20. language: 'Pirate',
  21. body: 'Hello world',
  22. },
  23. },
  24. {
  25. vars: {
  26. language: 'Pirate',
  27. body: "I'm hungry",
  28. },
  29. },
  30. ],
  31. };
Tip!

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

Comments

Loading...