Tracing with Langgraph Breakpoints #5542
Replies: 5 comments
-
Ciao @lucatrovato! I'm here to help you with any bugs, questions, or contributions you have. If you need assistance, feel free to ask. To ensure that each conversation or thread is properly captured together in Langgraph, you can use a Here's an example of how you can set up the session metadata to include a @pytest.mark.parametrize(
"session_metadata, expected_session_id",
[
(
{
"thread_id": "test-langchain-thread-id",
},
"test-langchain-thread-id",
),
],
)
@pytest.mark.parametrize("use_context_attributes", [False, True]) In this setup, you pass a dictionary with a |
Beta Was this translation helpful? Give feedback.
-
Hey @lucatrovato, we will be releasing sessions support in the Phoenix UI soon. Once released, you should be able to provide your conversation/ thread ID to LangChain as you usually would to view those separate traces in a single conversation. |
Beta Was this translation helpful? Give feedback.
-
Hi @axiomofjoy , thanks a lot for your answer. Any idea on the timeline, i.e. what does soon mean? |
Beta Was this translation helpful? Give feedback.
-
Hey @lucatrovato, we don't have a concrete launch date planned, but it will be before the end of the year. |
Beta Was this translation helpful? Give feedback.
-
You can track progress here. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am implementing a chatbot using Langgraph and Human-in-the-loop, which means that there are breakpoints in the graph, the application returns to the user and the graph can be resumed with the following call. This means that every time there is a breakpoint, a new trace is created. How can I configure tracing such that each conversation or thread is properly captured together? Can I use a thread-id or a parameter to uniquely identify and continue tracking in an existing trace?
Beta Was this translation helpful? Give feedback.
All reactions