Live data from Hacker News

Using GPT-4 to get well-typed JSON objects

github.com

1–2 of 2 posts

Re: Using GPT-4 to get well-typed JSON objects

#2
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