Playground needs "response_format": { "type": "json_object" }

I am testing in Playground while I build the app, however I always get stuck with the fact the API allows for this property, while the Playground doesn’t. Just a suggestion.

1 Like

Here’s a hint: if you can’t produce reliable JSON in the playground, setting a parameter isn’t going to magically make output that will validate and work with your API.

I consistently get a valid JSON through the API, it’s the Playground that often drifts away from that. I’m not keen on using a third party site just for that property.

I feel cloning my own local playground is the way to go :man_shrugging:t2:

did you find any solution?

1 Like

image

2 Likes