Hacker News new | past | comments | ask | show | jobs | submit login

What LLM are you using?



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?)


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


Looks super handy, thank you!




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: