mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 09:05:23 -04:00
examples/structured-outputs-image.py #297
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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?
@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.
@20246688 commented on GitHub (Sep 12, 2025):
Thanks a lot