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 871 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
32
  1. # yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
  2. description: Comparing DALL-E 2 and 3 image generation capabilities
  3. prompts:
  4. - 'In the style of {{artist}}: {{subject}}'
  5. providers:
  6. - id: openai:image:dall-e-3
  7. config:
  8. size: 1024x1024 # Valid sizes for DALL-E 3: 1024x1024, 1792x1024, 1024x1792
  9. - id: openai:image:dall-e-2
  10. config:
  11. size: 512x512 # Valid sizes for DALL-E 2: 256x256, 512x512, 1024x1024
  12. # response_format: b64_json # Returns the raw JSON response with base64-encoded image data
  13. tests:
  14. - vars:
  15. artist: Van Gogh
  16. subject: sunset over mountains
  17. - vars:
  18. artist: Dali
  19. subject: melting clocks
  20. - vars:
  21. artist: Picasso
  22. subject: abstract faces
  23. - vars:
  24. artist: Monet
  25. subject: water lilies
  26. - vars:
  27. artist: Warhol
  28. subject: colorful soup cans
Tip!

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

Comments

Loading...