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

I like to define a JSON schema (https://json-schema.org/) and prompt GPT-4 to output JSON based on that schema.

This lets me specify general requirements (not just JSON structure) inline with the schema and in a very detailed and structured manor.



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

Search: