How do I use the new JSON mode?

Ah, now they changed the API docs:
From “when calling gpt-4-vision-preview or gpt-3.5-turbo,”
to: "“when calling gpt-4-1106-preview or gpt-3.5-turbo-1106,”
“you can set response_format to { type: “json_object” } to enable JSON mode.”
So, gpt-4-vision-preview isn’t supposed to support JSON mode.

3 Likes