You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you then try to load these traces via either the log_traces method or via the --with-trace-fixtures or --with-projects flags, you see the following error:
Error message: ERROR:phoenix.server.app:Unexpected error processing fixture 'demo_langgraph_agent': Object of type ndarray is not JSON serializable
To Reproduce
Steps to reproduce the behavior:
Trace a LangGraph application (may apply to langchain as well but haven't tested just that) using our LangChainInstrumentor
Describe the bug
Traces generated by our Langchain instrumentor and saved via the following code include some ndarray objects:
If you then try to load these traces via either the log_traces method or via the --with-trace-fixtures or --with-projects flags, you see the following error:
Error message:
ERROR:phoenix.server.app:Unexpected error processing fixture 'demo_langgraph_agent': Object of type ndarray is not JSON serializable
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Traces will be loaded into the dashboard and visible.
Environment (please complete the following information):
Additional context
If you load traces by passing them into the
launch_app()
method instead oflog_traces
, they will be loaded correctly.The text was updated successfully, but these errors were encountered: