News for hackers. Stuff that matters.
Re:Native JSON Output from GPT-4 by edwin on Wednesday June 14, 2023 @04:30PM (#36332155)
For those who want to test out the LLM as API idea, we are building a turnkey prompt to API product. Here's Simon's recipe maker deployed in a minute: https://preview.promptjoy.com/apis/1AgCy9 . Public preview to make and test your own API: https://preview.promptjoy.com
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.
Re:Native JSON Output from GPT-4 by abhpro on Wednesday June 14, 2023 @07:47PM (#36334494)
This is really cool, I had a similar idea but didn't build it. I was also thinking a user could take these different prompts (I called them tasks) that anyone could create, and then connect them together like a node graph or visual programming interface, with some Chat-GPT middleware that resolves the outputs to inputs.
Re:Native JSON Output from GPT-4 by wonderfuly on Wednesday June 14, 2023 @10:56PM (#36335888)
I own this domain: prompts.run Do you wanna it?
Re:Native JSON Output from GPT-4 by edelans on Thursday June 15, 2023 @08:39AM (#36339619)
Congrats on the first-time user experience, I could experiment with your API in a few seconds, and the product is sleek!