News for hackers. Stuff that matters.
Re:Native JSON Output from GPT-4 by darepublic on Wednesday June 14, 2023 @03:54PM (#36331644)
I have been using gpt4 to translate natural language to JSON already. And on v4 ( not v3) it hasn't returned any malformed JSON iirc
Re:Native JSON Output from GPT-4 by nocsi on Wednesday June 14, 2023 @04:01PM (#36331748)
What if you ask it to include comments in the JSON explaining its choices
Re:Native JSON Output from GPT-4 by yonom on Wednesday June 14, 2023 @04:55PM (#36332497)
- if the only reason you're using v4 over v3.5 is to generate JSON, you can now use this API and downgrade for faster and cheaper API calls. - malicious user input may break your json (by asking GPT to include comments around the JSON, as another user suggested); this may or may not be an issue (e. g. if one user can influence other users' experience)