Hi,
I am using @traceable
and wrap_openai(AsyncOpenAI())
in LangSmith to trace the traces.
I have a Rest API application and I managed to create a span tree which traces different functions under one trace. However I have a separate function called title_generator
that is called by frontend when my backend processing ends.
How can I attach that title_generator
span to the other ones ?
Currently I have two separate traces for the pipeline and the title_generator
how come the backend call doesn’t just call the FE function if it happens immediately after?
you can try to use the thread_id grouping if these are parts of the same run. Set up threads | 🦜️🛠️ LangSmith