I think you may be right. I’ve had more consistent luck asking it to respond in a numerical list, with each list item on it’s own line. That’s easy enough to parse into JSON with a little string hackery.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Fine tuning models to generate JSON response | 6 | 6336 | November 9, 2023 | |
| Valid json every time? | 17 | 12411 | January 3, 2024 | |
| Prompt integrating JSON, or JSON request after the prompt | 5 | 21229 | December 26, 2025 | |
| I want to get json format response which I can pass using gpt-4 model. Also I want to give my prompt to get json data | 14 | 21680 | October 26, 2023 | |
| Is there any better approach to get a Json from gpt? | 7 | 4645 | December 26, 2025 |