pavelf
pavelf9mo ago

Different traces

HI! I am trying to use feedback in the same trace that langchain callback handler creates. I followed https://langfuse.com/docs/langchain/python#adding-scores and ran into a problem: It generates two empty extra traces as well as it puts the feedback into another, fourth one. I will also provide all relevant code in the thread
Langchain integration (Python) - Langfuse
Langchain users can integrated with Langfuse in seconds using the integration
No description
4 Replies
pavelf
pavelf9mo ago
initializing handler
No description
pavelf
pavelf9mo ago
running it with LCEL stream
No description
pavelf
pavelf9mo ago
Logging it to the trace ID I got
No description
pavelf
pavelf9mo ago
It might be a streamlit compatibility issue causing langfuse creating multiple traces, but is there any way I can at least force it to stay in the same trace, like in demo?