Compare Traces
Last updated
Last updated
The Compare Traces feature in RagaAI Catalyst allows users to analyze differences between multiple traces (up to 3) within an experiment. This enables users to:
Understand how changes in code or parameters affect application behavior and performance.
Identify improvements, regressions, or anomalies across traces.
Debug issues and refine workflows with precision.
Steps to Compare Traces
Initiate Comparison
Navigate to the dataset and click the Compare button in the toolbar.
Select Traces
Multi-select up to 3 datapoints (traces) from the dataset that you want to compare.
Open the Diff View
Click the Compare button again to open the Diff View.
The Diff View will display two primary sections:
Attribute Diff: Highlights differences in attributes such as inputs, outputs, metadata, or evaluation scores.
Code Diff: Shows line-by-line differences in the code or configurations used to generate the traces.
Key Features of the Diff View
Attribute Diff
Compares the metadata, parameters, and outputs between traces.
Displays differences in metric scores, token usage, and other contextual data.
Code Diff
Provides a visual comparison of the code changes or configurations associated with each trace.
Highlights additions, deletions, and modifications line-by-line.
Side-by-Side Comparison
Traces are displayed side-by-side, making it easy to spot discrepancies and analyze changes.