Skip to content
Discussion options

You must be logged in to vote

Hi @wertycn, you could use the Langfuse @observe() decorator together with the callback handler to pass the trace_id name: https://langfuse.com/docs/sdk/python/decorators#langchain

Here on how to pass the trace_id using the decorator: https://langfuse.com/docs/sdk/python/decorators#set-parent-trace-id-or-parent-span-id

Let me know if this would work in your case!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jannikmaierhoefer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants