Function Accuracy

Create a dataset from function outputs

Build a dataset from a function's corrected outputs.

Pulls the reviewed/corrected outputs (transformations) selected by query and turns each into a dataset row: the input file, the corrected JSON, and the schema it was produced with. Columns are created and role-tagged automatically, so the dataset is self-describing and downstream model comparisons need no column names. Only name + query are required.

Outputs matched by query that have no correction are skipped, not rejected — a query over a function's outputs normally spans both corrected and uncorrected ones. The request fails only when nothing corrected remains.

post/v3/datasets/from-function-outputs

Request body

namestring required

Name of the dataset

descriptionstring nullable

Description of the dataset

Response

The request has succeeded.

errorstring nullable

Error message if the creation failed

Changes