Replies: 1 comment
-
Turning this into an issue, thanks for sharing! |
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
Langchain as of recent supports (finally) mustache style variables {{var}}. Langfuse would have to implement some minor changes to export ChatPrompts correctly into that format.
ChatPromptClient
Was able to simplify conversion of get_langchain_prompt to
[(msg["role"], msg["content"]) for msg in prompt]
.TextPromptClient
Could just return the prompt, so no need for the helper function if mustache is used.
Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions