Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add example of using images in sample #163

Open
pamelafox opened this issue Jan 10, 2025 · 1 comment
Open

Add example of using images in sample #163

pamelafox opened this issue Jan 10, 2025 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@pamelafox
Copy link
Member

I found this example in promptflow repo:
https://github.com/microsoft/promptflow/blob/7f918110ebd61241001bd2d00ad9ec1dbb516726/src/promptflow/tests/test_configs/prompty/prompty_with_image.prompty#L20

Perhaps you can move that here, or make a similar one?

@moryachok
Copy link

That example doesn't work.
It looks like prompty cannot load images referenced as local files
throws me an error:

[error] Error: 400 Invalid image URL. The URL must be a valid HTTP or HTTPS URL, or a data URL with base64 encoding.
Call Stack: Error: 400 Invalid image URL. The URL must be a valid HTTP or HTTPS URL, or a data URL with base64 encoding.

@nitya nitya added the documentation Improvements or additions to documentation label Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants