Append To Tuning Dataset
Append to an existing tuning Dataset
.
Create a new version of the dataset by appending content to the Dataset
and validating against its schema.
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:
-
knowledge
(list[str]
): Retrieved knowledge used to generate the reference answer.knowledge
is a list of retrieved text chunks. -
reference
(str
): The gold-standard answer to the prompt. -
guideline
(str
): Guidelines for model output. If you do not have special guidelines for the model’s output, you can use theSystem Prompt
defined in your Agent configuration as theguideline
. -
prompt
(str
): Question for the model to respond to.
For examples of what tuning_set
should look like, check out our Tune & Evaluation Guide
.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Agent ID associated with the tune dataset
Name of the tune dataset to append to
Body
Type of tune dataset which determines its schema and validation rules. Must match the dataset_type
used at dataset creation time.
tuning_set
, evaluation_set
, evaluation_set_prediction
, evaluation_run_result
JSONL or CSV file containing the entries to append to the tune 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?