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
4 Replies
initializing handler
running it with LCEL stream
Logging it to the trace ID I got
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?