News for hackers. Stuff that matters.
Re:Native JSON Output from GPT-4 by yonom on Wednesday June 14, 2023 @05:01PM (#36332576)
This is cool! Are you using one-shot learning under the hood with a user provided example?
Re:Native JSON Output from GPT-4 by edwin on Wednesday June 14, 2023 @05:20PM (#36332850)
BTW: Here's a more performant version (fewer tokens) https://preview.promptjoy.com/apis/jNqCA2 that uses a smaller example but will still generate pretty good results.
Re:Native JSON Output from GPT-4 by sudb on Thursday June 15, 2023 @05:16AM (#36338063)
This is still pretty fast - impressive! Are there any tricks you're doing to speed things up?
Re:Native JSON Output from GPT-4 by edwin on Wednesday June 14, 2023 @05:08PM (#36332689)
Thanks. We find few-shot learning to be more effective overall. So we are generating additional examples from the provided example.