You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We’re using Langfuse via LangChain callback handlers (langfuse==2.60.8, langfuse.callback.CallbackHandler).
We came across an existing approach that allows disabling media uploads globally (for example, discussed here: https://github.com/orgs/langfuse/discussions/6179). That solution is helpful, but it doesn’t fully cover our use case.
In our setup, media gets uploaded automatically through the LangChain callback flow, and what we’re looking for is a more conditional / selective control:
• For some API flows (e.g. large PDFs), we’d prefer not to upload media
• For other flows (e.g. images for debugging), media uploads are useful
• A single global on/off switch makes it hard to support both cases
We’re hoping there’s a supported way to control media uploads per API flow / per trace / or based on payload size, especially when using LangChain callbacks.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We’re using Langfuse via LangChain callback handlers (langfuse==2.60.8, langfuse.callback.CallbackHandler).
We came across an existing approach that allows disabling media uploads globally (for example, discussed here: https://github.com/orgs/langfuse/discussions/6179). That solution is helpful, but it doesn’t fully cover our use case.
In our setup, media gets uploaded automatically through the LangChain callback flow, and what we’re looking for is a more conditional / selective control:
• For some API flows (e.g. large PDFs), we’d prefer not to upload media
• For other flows (e.g. images for debugging), media uploads are useful
• A single global on/off switch makes it hard to support both cases
We’re hoping there’s a supported way to control media uploads per API flow / per trace / or based on payload size, especially when using LangChain callbacks.
Beta Was this translation helpful? Give feedback.
All reactions