add_eval_verdict
Add a verdict to an eval case. value is shaped by type. categorical: ``{"choice": ...}``, one of the case's options. binary: ``{"acceptable": true}``, or…
Add a verdict to an eval case.
value is shaped by type. categorical: {"choice": ...}, one of the case's
options. binary: {"acceptable": true}, or false with an optional "severity"
of low, medium or high. graded: {"score": ...} between 0 and 1, with an
optional "rubric". preference: {"alternative": ..., "preferred": ...},
another output for the same context and which was better, "output" or
"alternative". edit: {"output": ...}, the corrected output.
source says who judged. Use "person" only for a verdict a person gave, with
their own words in note: it becomes the case's gold verdict at once and
overrides the ones before it. "outcome" (read from what happened afterwards) and
"observer" (proposed by a review of the run) wait as candidates, with the
evidence in note and a confidence between 0 and 1, until accept_eval_verdict.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
agent_id | string | yes | |
case_id | string | yes | |
type | string | yes | |
value | object | yes | |
source | string | yes | |
confidence | number | no | |
note | string | no |
accept_eval_verdict
Make a verdict the gold verdict of its eval case. A case has one gold verdict: its other accepted and candidate verdicts become overridden. Use it to accept…
adopt_managed_agent
Adopt a managed agent into the workspace by slug. The adopted agent appears in list_agents and can be run, scheduled, and paused like any other, while…