News for hackers. Stuff that matters.
Re:Native JSON Output from GPT-4 by ManuelKiessling on Wednesday June 14, 2023 @03:47PM (#36331552)
Note that you don’t necessarily need to have the AI output any JSON at all — simply have it answer when being asked for the value to a specific JSON key, and handle the JSON structure part in your hallucinations-free own code: https://github.com/manuelkiessling/php-ai-tool-bridge
Re:Native JSON Output from GPT-4 by naiv on Wednesday June 14, 2023 @04:14PM (#36331915)
Thanks for sharing!
Re:Native JSON Output from GPT-4 by lyjackal on Wednesday June 14, 2023 @10:59PM (#36335906)
Would be nice if you could send a back and forth interaction for each key. This approach turns into lots of requests that reapply the entire context and ends up slow. I wish i could just send a Microsoft guidance template program, and process that in a single pass.