Create Evaluation Dataset
Create a new evaluation Dataset
for the specified Agent
using the provided JSONL or CSV file. A Dataset
is a versioned collection of samples conforming to a particular schema, and can be used to store Evaluation
test-sets and retrieve Evaluation
results.
Each Dataset
is versioned and validated against its schema during creation and subsequent updates. The provided Dataset
file must conform to the schema defined for the dataset_type
.
File schema for dataset_type
evaluation_set
is a CSV file or a JSONL file where each line is one JSON object. The following keys are required:
-
prompt
(string
): Prompt or question -
reference
(string
): Reference or ground truth response
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Agent ID to associate with the evaluation dataset
Body
Name of the evaluation dataset
Type of evaluation dataset which determines its schema and validation rules.
tuning_set
, evaluation_set
, evaluation_set_prediction
, evaluation_run_result
JSONL or CSV file containing the evaluation dataset
Response
Response to POST /datasets request
Version number of the dataset
Name of the dataset
Type of the dataset
tuning_set
, evaluation_set
, evaluation_set_prediction
, evaluation_run_result
Was this page helpful?