create_evaluation_pipeline
Create evaluator pipelines that wrap committed graders into workflows, supporting combine methods and condition gates for automated evaluation.
Instructions
Create an evaluator pipeline (V2 — Blockly visual editor compatible) that renders in the Evaluators page UI.
Pipelines wrap committed graders into a workflow. Use this AFTER creating + committing a grader with create_evaluator + commit_evaluator.
PATTERNS:
Single grader: steps=[{grader_id: "abc"}]
Average: steps=[{grader_id: "abc"}, {grader_id: "def"}], combine="average"
Weighted average: steps=[...], combine="weighted_average", weights=[0.6, 0.4]
Condition gate: steps=[{grader_id: "abc"}], condition={check_grader_id: "xyz", operator: "gt", value: 50, else_value: 0}
IMPORTANT: Use this, NOT create_workflow, when wrapping graders into evaluators.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Pipeline name (displayed on the Evaluators page). | |
| steps | Yes | Graders in the pipeline. | |
| combine | No | Combine method. Default: "single" (1 grader) or "average" (2+ graders). | |
| weights | No | Weights for weighted_average. Must match steps count, e.g. [0.6, 0.4]. | |
| condition | No | Optional condition gate before running the main graders. Gate on a grader output OR on an event metric. | |
| description | No | Pipeline description. |