We previously worked with a team that was storing prompts as JSON in their database and struggling to iterate and migrate to production. So we looked to solve this by creating an enterprise prompt management platform, Promptly-HQ. Today, Promptly-HQ integrates with OpenAI and Azure OpenAI, has team and project support, scalable APIs, and prompt versioning, but we’re looking to add additional features. We would love to hear your feedback, use cases, or anything else you have to say. We’re looking to help developer and product teams, so don’t hesitate to reach out if we can help
Why would you store them in a database? That sounds super cumbersome.
I store them in JSON files that get managed in git, and use a template renderer, and it works great.
I then log the prompt version and end results, and plot user ratings in a dashboard in Observe, so I can track quality over time.
It was cumbersome for the team, but their solution was multi-tenanted and need to retrieve prompts for customers after an event arose. That does sound like a decent pipeline to release though. When you say you used Observe, do you mean Observe.ai?
Sharing this tool Prompteams for Prompt Management (We call it Git for AI)
You can do everything for your AI prompts from storing, versioning (repositories, branches, commits), revert commits, unlimited test cases before commits, and API’s for auto release in production. Basically you can make your own pipeline with Prompteams.
Reduce hallucinations, edge cases, and improve quality of prompts when making changes to a prompt with test cases using combined criterias.
For example you can add a criteria for your test cases to be less than 50 characters for hallucination test cases, or maintain quality with a check for ‘Starts with “As an AI”’, or combine as many criterias as you like
We would love feedback and sharing knowledge. It is still free atm, we are still very early in development
Nah, it’s just “SOME_KEY”: “prompt goes here” and my code knows which key to ask for.
There’s only like 30 prompts so it’s not particularly cumbersome to manage.
It would be interesting to have on top of Git for Prompt an eval feature that gives a clear numerical definition of why one prompt is better than another.
The prompt management problem bothered me enough that I started building an open-source solution (Agenta). Our core insight was simple: prompts should be as easy to version as code, but as simple to edit as a Google Doc.
@jwatte - Your git-based approach is spot-on. We took a similar path but added a UI layer so non-devs could safely edit prompts without touching git.
I really like ell, which essentially treats prompts as a “program”, so management/version controlling is handled just like any piece of code. Just putting it out there for people to try out and see if it’s a good fit for them. (I am not affiliated with ell project in any way, just find its paradigm elegant).