create_score
Assign a numeric, boolean, or categorical score to a trace or observation to evaluate quality or faithfulness.
Instructions
Create a score on a trace or observation.
Args: trace_id: The trace to score. name: Score name (e.g. "quality", "faithfulness"). value: Numeric value (or 0/1 for BOOLEAN, category index for CATEGORICAL). observation_id: Optionally attach score to a specific observation. comment: Optional comment. data_type: NUMERIC | BOOLEAN | CATEGORICAL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| value | Yes | ||
| comment | No | ||
| trace_id | Yes | ||
| data_type | No | NUMERIC | |
| observation_id | No |