GPT4 JSON output

Hi all :slight_smile:

Anyone know how to enable the JSON output in the new ChatGPT 4?

Thanks

Kyle

Hey @KyleBehrend, have you tried the module „get structured data from unstructured input“? Or something similar :slight_smile:

That module does a function call under the hood so it guarantees a JSON output which you define upfront :slight_smile:

3 Likes

Thanks so much for the reply :slight_smile: I cannot see that module or option in OpenAI module. It’s some way to force the JSON output through the new API for GPT 4 Turbo

Ah yes, I think you are referring to “json-mode”. I’m not sure if you can use that through the module, maybe you need to use the “Make an API Call” module response_format: {“type”: “json_object”} should activate it.

What I’m referring to is another module, see screenshot :slight_smile:

3 Likes