examples/structured-outputs-image.py #297

Closed
opened 2026-02-15 16:29:42 -05:00 by yindo · 2 comments
Owner

Originally created by @20246688 on GitHub (Sep 8, 2025).

Is examples/structured-outputs-image.py an example used to enable image interaction with large language models (LLMs) running on Ollama via ollama-python? And can only vision large language models (vision LLMs) use this method?

Originally created by @20246688 on GitHub (Sep 8, 2025). Is examples/structured-outputs-image.py an example used to enable image interaction with large language models (LLMs) running on Ollama via ollama-python? And can only vision large language models (vision LLMs) use this method?
yindo closed this issue 2026-02-15 16:29:42 -05:00
Author
Owner

@ParthSareen commented on GitHub (Sep 10, 2025):

Yes it is. Not sure what you mean by the second question but this example is meant to be for structured outputs given an image for which, yes, the model needs to have vision capabilities.

@ParthSareen commented on GitHub (Sep 10, 2025): Yes it is. Not sure what you mean by the second question but this example is meant to be for structured outputs given an image for which, yes, the model needs to have vision capabilities.
Author
Owner

@20246688 commented on GitHub (Sep 12, 2025):

Yes it is. Not sure what you mean by the second question but this example is meant to be for structured outputs given an image for which, yes, the model needs to have vision capabilities.

Thanks a lot

@20246688 commented on GitHub (Sep 12, 2025): > Yes it is. Not sure what you mean by the second question but this example is meant to be for structured outputs given an image for which, yes, the model needs to have vision capabilities. Thanks a lot
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ollama/ollama-python#297