Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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


- 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)


What if you ask it to include comments in the JSON explaining its choices




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: