# yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
description: OpenAI vision model image analysis and evaluation

prompts:
  - file://prompt.json
providers:
  - openai:chat:gpt-5.4

tests:
  - vars:
      question: 'What do you see?'
      url: 'https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/2560px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg'
    options:
      transformVars: |
        return { ...vars, image_markdown: `![image](${vars.url})` }
    assert:
      - type: contains
        value: 'boardwalk'
