News for hackers. Stuff that matters.
Re:Show HN: LLMs can generate valid JSON 100% of the time by keiferwiseman on Monday August 14, 2023 @03:31PM (#37125700)
It took some iterations but I've managed to get the OpenAI API to give me valid JSON 100% of the time now(based on my testing). I think I put in the prompt to never use newlines because it was causing issues lol.

There are no comments on this comment yet.