Set an annotation cell
Writes the annotation value of one row for one task column. An annotation column holds one cell per task column, so task_id selects which response is being annotated. The task output of that row must be completed. The value must match the annotation type, and a running cell cannot be changed.
Authorizations
Path Parameters
Body
Response
OK
A cell: the value of one column in one row.
Execution state. CELL_STATUS_NOT_RUN: never executed, which includes
dataset cells. CELL_STATUS_QUEUED: waiting to execute.
CELL_STATUS_RUNNING: executing. CELL_STATUS_COMPLETED: finished with a
value. CELL_STATUS_FAILED: execution failed, see error_message.
CELL_STATUS_CANCELED: canceled before it finished.
CELL_STATUS_UNSPECIFIED, CELL_STATUS_NOT_RUN, CELL_STATUS_QUEUED, CELL_STATUS_RUNNING, CELL_STATUS_COMPLETED, CELL_STATUS_FAILED, CELL_STATUS_CANCELED Stored documents are returned as-is; strings are wrapped as {"text"},
arrays as {"messages"} on messages cells and {"items"} elsewhere, other
scalars as {"value"}. Null for a cell that has no value yet. Prompt and
agent cells hold the response with last_message, model, usage,
latency and total_cost; evaluator and annotation cells hold type and
value (or text), with an optional explanation.
Kind of cell, set by its column. CELL_TYPE_INPUTS, CELL_TYPE_MESSAGES
and CELL_TYPE_TEXT hold data (expected output and job output are text).
CELL_TYPE_RESPONSE: prompt column. CELL_TYPE_AGENT_RESPONSE: agent
column. CELL_TYPE_OPENRESPONSE: openresponse column.
CELL_TYPE_EVALUATOR, CELL_TYPE_METRIC and CELL_TYPE_ANNOTATION:
evaluator, metric and annotation columns.
CELL_TYPE_UNSPECIFIED, CELL_TYPE_TEXT, CELL_TYPE_NUMBER, CELL_TYPE_INPUTS, CELL_TYPE_MESSAGES, CELL_TYPE_RESPONSE, CELL_TYPE_AGENT_RESPONSE, CELL_TYPE_EVALUATOR, CELL_TYPE_METRIC, CELL_TYPE_ANNOTATION, CELL_TYPE_OPENRESPONSE