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.image.yaml 445 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
  1. # yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
  2. description: Image captioning with Gemini
  3. prompts:
  4. - |
  5. {{imageFile1}}
  6. {{imageFile2}}
  7. Compare the two images.
  8. providers:
  9. - id: google:gemini-2.5-flash
  10. tests:
  11. - vars:
  12. imageFile1: file://assets/red-panda.jpg
  13. imageFile2: file://assets/raccoon.jpg
  14. assert:
  15. - type: contains-all
  16. value:
  17. - red panda
  18. - raccoon
Tip!

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

Comments

Loading...