How to enable GPT-4-1106 to return a JSON array?

So, I was testing the new GPT-4, and we’ve seen really great response speed!

We have set our little GPT service using GPT-3.5 and wanted to upgrade to GPT-4 for better results, and the new response_format piqued our interest.

However, I see GPT-4 is unable to return data in an array, it only spits a JSON object or text. Have you encountered a way to ask it to return arrays using the new response_format? (without telling the prompt to do that)

Hey @tayyab.abdussami,
i’m facing the same challenge currently.
Did you find a solution?