Skip to content

Prompt management #206

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Prompt management #206

wants to merge 5 commits into from

Conversation

sindj
Copy link

@sindj sindj commented Jun 6, 2025

Summary

Target issue is #25
Explain the motivation for making this change. What existing problem does the pull request solve?
The AI platform has prompt management features that helps its users create and manage different prompts, with version control in each of them. Since Langfuse offers a good prompt CMS feature, we are piggybacking off of it for our purposes.

Checklist

Before submitting a pull request, please ensure that you mark these task.

  • Ran fastapi run --reload app/main.py or docker compose up in the repository root and test.
  • If you've fixed a bug or added code that is tested and has test cases.

Notes

Spec: https://docs.google.com/document/d/15v-Ei6iNN4sZkvNf0sUMCAcJwFEBv4fYMitxWVtumCo/edit?usp=sharing

Comment on lines 20 to 25
def upgrade():
pass


def downgrade():
pass
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need this or can merge both migration in one file

sa.Column("id", sa.Integer(), nullable=False),
sa.Column("name", sqlmodel.sql.sqltypes.AutoString(), nullable=False),
sa.PrimaryKeyConstraint("id"),
sa.UniqueConstraint("name"),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we need to add some basic things like inserted_at, updated_at, organization_id and project_id as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants