Customize how you interact with traced function calls and evaluations
In Weave, saved views allow you to customize how you interact with traced function calls and evaluations. By defining a saved view, you can configure filters, sorting, and column visibility to quickly access relevant data.You can create, modify, and save views directly in the Weave Python SDK or through the UI. The Python SDK provides fine-grained control for programmatic filtering and querying, while the UI makes it easy to explore and save different table configurations in the Traces and Evals tabs.This guide covers:
Use .add_column() to add one or more new columns to the view. Specify one or more columns to be added.
# Add a column with the field specifier and label "Created"view.add_column("Created")# Optionally, you can add a second argument to specify a different label name for the new column. By default, the field specifier is use for the label.
In Weave, every trace or eval is associated with an operation name.
Use .filter_op() to filter the SavedView to only include calls where that specific operation was executed.