Importing Existing Traces

Phoenix also supports loading data that contains OpenInference traces. This allows you to load an existing dataframe of traces into your Phoenix instance.

# Re-launch the app using trace data
px.launch_app(trace=px.TraceDataset(df))

# Load traces into an existing Phoenix instance
px.Client().log_traces(trace_dataset=px.TraceDataset(df))

Last updated