Hi HN,

With all the talk about using LLMs to get JSON outptus, I noticed it was possible to use function calls to get well-typed objects with GPT-4. I have found it very useful and programatically interesting to prompt GPT-4 in that fashion.

I made a simple library to use it that way.

Show HN: Simple library to query GPT-4 and get well-typed JSON object
github.com