Build production ready API's with documentation and live test-benches just by typing out prompt templates, and layer on advanced features like output validation, rate limits, and PII redaction in minutes. Bootstrap your next AI feature in record time.
Got tired of constantly setting up servers just to host prompts and provide new features with AI completions, so I built a quick product to automate turning prompts into API's.
Totally open-source, deploys in ~2 minutes, and builds/updates your API instantly whenever you add/edit a prompt. Automatically creates documentation on all your endpoints, and gives you a visual test bench so you won't need to fire up Postman and can go directly back to building your app.
By default all endpoints are automatically secured by API key based authentication. Some other goodies:
- Add an output validation function in our editor that will automatically reject generated output, send the error message to the AI, and regenerate the output until it passes validation or hits maximum retries. Perfect if you want your prompt API to generate valid JSON, but don't want to try-catch JSON.parse a bunch of times in your codebase.
- Add a custom rate limit to each endpoint to ensure expensive endpoints for your business are never spammed.
- Redact PII or fail if PII is detected in API calls to the prompt, before the prompt hits Open AI's servers.
Rulebricks