Settings

Theme

Using GPT-4 to get well-typed JSON objects

github.com

1 points by joy_void_joy · 1 comment

Reader

1 thread
joy_void_joyOP

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

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection