Y
Hacker News
new
|
ask
|
show
|
jobs
by
greytape
1120 days ago
GPT-4. I tried with GPT-3, because GPT-4 is so slow, but it failed to reliably return JSON responses (perhaps it would work with better prompts?)
1 comments
Ilasky
1120 days ago
You should take a look at guidance [0] to help with JSON returns from LLMs. Have been using it for some side projects and it seems to work pretty reliably.
[0]
https://github.com/microsoft/guidance
link
bgoldste
1120 days ago
Looks super handy, thank you!
link
[0] https://github.com/microsoft/guidance