Local prompt files for dev #4550
debkanchan
started this conversation in
Ideas
Replies: 2 comments
-
|
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
-
|
I had exactly same requirements, and it was just easier to build it locally small-scale and re-use Langfuse data model : ) |
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
Uh oh!
There was an error while loading. Please reload this page.
-
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-namein Langfuse we can haveprompt-name.prompt.txteither 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