Local prompt files for dev #4550
debkanchan
started this conversation in
Ideas
Replies: 1 comment
-
Appreciate that you share this here after mentioning this during the community session on Discord. Let's track interest for this here! |
Beta Was this translation helpful? Give feedback.
0 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
Langfuse prompt management is great! But what if I want to tinker with the prompt locally during dev?
Current way to do this is to either remove the current prompt and add my prompt manually or to wrap the prompt management in another function that loads the prompt according to the env.
I'd like to propose an alternative way inspired by Firebase GenKit:
prompt-name
in Langfuse we can haveprompt-name.prompt.txt
either at a specific location like project root or preferably some configurable location.const prompt = await langfuse.getPrompt("jokes", {local="./prompts})
Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions