3 ms·
You can use structured outputs to tell ChatGPT-4o to create specific JSON matching a schema: https://platform.openai.com/docs/guides/structured-outputs/introduc
by airstrike 2y ago
You can use structured outputs to tell ChatGPT-4o to create specific JSON matching a schema: https://platform.openai.com/docs/guides/structured-outputs/introduction https://platform.openai.com/docs/guides/structured-outputs/i...
It's a bit annoying because the schema has some limitations but it works with enough elbow grease
- arthurtakeda 2y agointeresting, didn’t know about that feature, thanks for sharing!