[PR #249] [MERGED] feat: track user.email in langfuse filter pipeline and remove wrong token count #356

Closed
opened 2026-02-15 20:15:14 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/pipelines/pull/249
Author: @marcklingen
Created: 9/6/2024
Status: Merged
Merged: 9/9/2024
Merged by: @tjbck

Base: mainHead: feat-user-email-in-langfuse-filter-pipeline


📝 Commits (1)

  • 4d53b80 feat: track user.email in langfuse filter pipeline and remove wrong token count

📊 Changes

1 file changed (+3 additions, -7 deletions)

View changed files

📝 examples/filters/langfuse_filter_pipeline.py (+3 -7)

📄 Description

This change logs the user.email to langfuse as user_id. This makes langfuse much more useful as it allows to easily map usage to a certain person with the organization using openwebui.

Also I removed the logging of characters to Langfuse as this is wrong for almost all models. I'd love to add token tracking but were not able to figure out were openwebui tracks token counts. I'll create an issue for this on the main repo.

cc @samuelpetermoshi who suggested this


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/pipelines/pull/249 **Author:** [@marcklingen](https://github.com/marcklingen) **Created:** 9/6/2024 **Status:** ✅ Merged **Merged:** 9/9/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `main` ← **Head:** `feat-user-email-in-langfuse-filter-pipeline` --- ### 📝 Commits (1) - [`4d53b80`](https://github.com/open-webui/pipelines/commit/4d53b80657b38f8179efd3728fccc7c1f45886c3) feat: track user.email in langfuse filter pipeline and remove wrong token count ### 📊 Changes **1 file changed** (+3 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `examples/filters/langfuse_filter_pipeline.py` (+3 -7) </details> ### 📄 Description This change logs the user.email to langfuse as user_id. This makes langfuse much more useful as it allows to easily map usage to a certain person with the organization using openwebui. Also I removed the logging of characters to Langfuse as this is wrong for almost all models. I'd love to add token tracking but were not able to figure out were openwebui tracks token counts. I'll create an issue for this on the main repo. cc @samuelpetermoshi who suggested this --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 20:15:14 -05:00
yindo closed this issue 2026-02-15 20:15:14 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: open-webui/pipelines#356