News for hackers. Stuff that matters.
Re:Native JSON Output from GPT-4 by andai on Thursday June 15, 2023 @04:05AM (#36337668)
That's hilarious... if parsing GPT's JSON fails, keep asking GPT to fix it until it parses!
Re:Native JSON Output from GPT-4 by golol on Thursday June 15, 2023 @07:34AM (#36338991)
It shouldn't be surprising though. If a human makes an error parsing JSON, what do you do? You make them look over it again. Unless their intelligence is the bottleneck they might just be able to fix it.
Re:Native JSON Output from GPT-4 by golergka on Thursday June 15, 2023 @07:48AM (#36339104)
It works. Just be sure to build a good error message.