Skip to content
Discussion options

You must be logged in to vote

Hey @silenceliang! I'm here to help you with any bugs, questions, or contributions you have. Let's get this issue sorted out together!

To manage versioning control over prompts in the Langfuse UI, you should not specify a version argument when using the create_prompt method, as it does not support this parameter. Instead, versioning is handled automatically by Langfuse. When you create a new prompt with the same name, Langfuse automatically increments the version number.

To retrieve specific versions of a prompt, you can use the get_prompt method with the version argument. This allows you to access any version of the prompt that has been managed in the Langfuse UI.

Here's a brief example:

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@marcklingen
Comment options

@dosubot
Comment options

Answer selected by marcklingen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants