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 | 5682 | November 9, 2023 | |
Response has valid json but it's nested in broken json | 16 | 3362 | September 9, 2024 | |
HTML / JSON / Markdown Output Generation is Very Clunky or out right broken | 14 | 7383 | December 1, 2023 | |
Valid json every time? | 17 | 11541 | January 3, 2024 | |
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 | 19650 | October 26, 2023 |