https://promptfoo.dev/ logo
Web Viewer show image preview
# ❓|questions
p
Is it possible to preview an image that has been sent along a prompt to a vision model in the web viewer? I have skimmed promptfoo docs but didn't find such capability. This would be so so helpful when evaluating an image prompt test suite https://cdn.discordapp.com/attachments/1258071630874415136/1258071631037726842/Screenshot_2024-07-03_at_11.45.46.png?ex=6686b602&is=66856482&hm=f35f83e93ec9430fec87bcd1e319d4fc360e1ca8a7e0e664697da4f187855278&
i
the only way to do this right now is to wrap the variable as a markdown image
![](/path/to/image)
, and then enable markdown rendering under 'table settings'. https://cdn.discordapp.com/attachments/1258071630874415136/1258092218061688913/image.png?ex=6686c92f&is=668577af&hm=922ecbb7fe390600e76048f26d87c20a0fbe156b2dc489e34cec3ab8a4f8e7dc&
p
Thank you!