Using GPT-4 to get well-typed JSON objects(github.com) |
Using GPT-4 to get well-typed JSON objects(github.com) |
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