Closed kristapratico closed 11 months ago
The gpt-4-vision-preview
will be corrected soon – cc @enochcheung
@rattrayalex please notify me as well once the spec is corrected. We want to keep the Azure OpenAI docs up to date
gpt-4-vision-preview
now responds with finish_reason
instead of finish_details
; this issue can be closed.
The spec shows that a choice object will contain
finish_reason
,index
, andmessage
:https://github.com/openai/openai-openapi/blob/23a4b18b65bb7b002894bae1084d99134b2897e3/openapi.yaml#L6196-L6225
However, when making a chat completions call with image input and using the gpt-4-vision-preview model, the service returns a response with
finish_details
instead offinish_reason
:Should
finish_details
be described in the spec?FYI @rattrayalex - the Python stainless library captures this property for vision, but it ends up in
model_extra
. Thought this would be the better spot to open the issue, though.