Another glimpse into prompt management in LangFuse #4165
barseghyanartur
started this conversation in
Ideas
Replies: 1 comment 4 replies
-
Thanks for sharing, when referring to "copy your prompts from one environment to another" do you refer to multiple langfuse projects? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the feature or potential improvement
Problem
Storing prompts in a database is helpful for experiments, but it falls short
when it comes to deployments in multiple environments.
All the hard work and optimizations can be lost, and you end up having to copy
your prompts from one environment to another. This is similar to
the "good old days" when you had to manage production databases for local
testing or set up staging environments.
The proposed solution
that LangFuse understands.
to copy them between environments.
relative path to the prompt serves as the prompt ID).
experiments and when promoting to production.
original (on disk/repository) prompt's content. This ensures the
changed version stays valid and active as long as the original
prompt doesn't change.
integrate with GitHub (or similar, like GitLab, BitBucket, etc).
designated development branch specified in LangFuse settings.
disk is updated, and LangFuse will again use the prompt from
disk/repository instead of the database.
Implementing this solution is not simple, but I think it's the most effective
way to manage prompts efficiently across different environments and
deployments.
Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions