Hi HN,<p><a href="https://superfunctions.com" rel="nofollow noreferrer">https://superfunctions.com</a><p>I'm working on a web app that allows Ai prompts to function as an API. I want to make it easier for developers to use Ai. I've found it painful to monitor, cache, and iterate on prompts. superfunctions.com is designed to be the simplest building block to create Ai powered apps and scripts.<p>Simplest example I can think of:
You want an api to convert human-named colors to hex
You can write a prompt like: "convert {{query.color}} to color, only output hex for css" and then you can call your prompt with <a href="https://superfn.com/fn/color-to-hex?color=blue" rel="nofollow noreferrer">https://superfn.com/fn/color-to-hex?color=blue</a>
and the response will contain: #0000FF<p>Watch a short video intro:
<a href="https://www.youtube.com/watch?v=KdO1TBUbRuA">https://www.youtube.com/watch?v=KdO1TBUbRuA</a><p>Login without needing an account:
<a href="https://superfunctions.com/login/anon" rel="nofollow noreferrer">https://superfunctions.com/login/anon</a><p>I'm still sorting out a few bugs, but it's usable in it's current state.<p>This is my first solo project, so I'm very open to feedback and suggestions.<p>-Trent