FlorDonnaSanders
FlorDonnaSanders•2d ago

FlorDonnaSanders - I noticed support for mustac...

I noticed support for mustache variables detection in the langfuse UI is currently quite limited. E.g. For a conditional variable statement like this {{#some_variable}}It exists: {{.}}{{/some_variable}} The variable some_variable is not listed in the UI and not usable in the playground. It would be nice if full mustache syntax is properly supported everywhere,
3 Replies
Marc
Marc•2d ago
Thanks for sharing. Can you add this here? Langfuse.com/ideas Generally we rely on jinja and some users parse it at runtime. Our playground just supports plain variables as of now. This would be an interesting addition.
FlorDonnaSanders
FlorDonnaSanders•2d ago
Thanks Marc! I created a discussion here https://github.com/orgs/langfuse/discussions/3396 We are one of the users who parse variables at runtime, using the langchain parser in mustache mode. Works like a charm in production, but It'd be nice to be able to use the playground as well 🙂
GitHub
Better mustache support in langfuse playground · langfuse · Discuss...
Describe the feature or potential improvement I noticed support for mustache variables detection in the langfuse UI is currently quite limited. E.g. For a conditional variable statement like this {...
Marc
Marc•19h ago
makes sense, thanks for sharing, appreciate it!