Tracing with Langgraph Breakpoints #5542
-
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 6 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.
-
Hey @lucatrovato - you should be able to use langchain's native threads (https://docs.smith.langchain.com/old/monitoring/faq/threads) and they will be propagated to phoenix as sessions (https://docs.arize.com/phoenix/tracing/how-to-tracing/setup-sessions) |
Beta Was this translation helpful? Give feedback.
Hey @lucatrovato - you should be able to use langchain's native threads (https://docs.smith.langchain.com/old/monitoring/faq/threads) and they will be propagated to phoenix as sessions (https://docs.arize.com/phoenix/tracing/how-to-tracing/setup-sessions)