Update an existing metric
Edit a metric
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Unique identifier of the metric
Child metrics added under composite events
Updated code block for the metric
Criteria for human or composite metrics
Short description of what the metric does
Whether to compute on all production events automatically
Name of event that the metric is set to be computed on
Type of event that the metric is set to be computed on
model
, tool
, chain
, session
Updated name of the metric
Whether a ground truth (on metadata) is required to compute it
Threshold for boolean metrics to decide passing or failing in tests
Updated Evaluator prompt for the metric
The data type of the metric value - "boolean", "float", "string"
boolean
, float
, string
Threshold for numeric metrics to decide passing or failing in tests
Type of the metric - "custom", "model", "human" or "composite"
custom
, model
, human
, composite