News for hackers. Stuff that matters.
Re:Show HN: Superfunctions – AI prompt templates as an API by BoorishBears on Sunday August 20, 2023 @05:13PM (#37202975)
I'll say kind of kills the enthusiasm if you don't have validation support.

I get the need for an MVP, but even a basic "Provide a regex and the max number of times to retry" would make this infinitely more useful.

That also lets you expand the concept down the line, like surfacing how a prompt change lead to increased retries.

Re:Show HN: Superfunctions – AI prompt templates as an API by trentearl on Sunday August 20, 2023 @06:03PM (#37203337)
Originally I planned to include output validation using zod but I scrapped it in favor of simplicity. I never considered regex validation that would be much simpler.

I'm open to adding validation if it adds value. Thanks for your feedback!