Marc
Marc3mo ago

Langchain trace ID

Yes. See this part of the docs for details and let me know if you have questions https://langfuse.com/docs/integrations/langchain/tracing#interoperability
OSS Observability for LangChain - Langfuse
Open source observability for your Langchain application. Python and JS/TS. Automatically capture rich traces and metrics.
2 Replies
Deecay
Deecay3mo ago
So basically we create a trace object first, and then set the trace id directly on that before passing it in as the callback handler?
Marc
Marc3mo ago
yes, use trace.get_langchain_handler() or the equivalent method when using the decorator That's the most robust integration