You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an important feature. I included in the 0.4.1 milestone.
My first thought is to include this as a custom extra_create_args in ChatCompletionClient's create and create_stream, however, I feel this is best associated with the data. Perhaps the Image object can contain a default resolution setting. cc @jackgerrits. It should be a simple change.
This is an important feature. I included in the 0.4.1 milestone.
My first thought is to include this as a custom extra_create_args in ChatCompletionClient's create and create_stream, however, I feel this is best associated with the data. Perhaps the Image object can contain a default resolution setting. cc @jackgerrits. It should be a simple change.
I think making it an attribute of ChatCompletionClient or its baseclases makes most sense. Some thoughts:
Perhaps it makes sense to have this as a capability somehow? I am not quite sure, whether this is very openai specific or something other models already adapted or will adapt in the future. But I guess at least what low / high means might be very openai specific (e.g. that it processes the images 7 times then, ...)
What feature would you like to be added?
Being able to specify https://platform.openai.com/docs/guides/vision#low-or-high-fidelity-image-understanding would be great. Setting this param to low can significantly reduce costs.
There is a TODO for this https://github.com/microsoft/autogen/blob/6e0f65b7d18c9f72d4053d84151b4bb9a6027698/python/packages/autogen-ext/src/autogen_ext/models/openai/_openai_client.py#L181in v0.4, but no issue I could find.
Here is quick patch for v0.4 for those who need it already:
Call this BEFORE anything else. E.g.
For v0.2 it is:
Why is this needed?
It is supported by OpenAI, so it should be configurable
The text was updated successfully, but these errors were encountered: