Dataset
The unique identifier of the dataset. This is an immutable field generated when the dataset is created.
A dictionary containing additional data associated with the dataset. This can include user-defined key-value pairs that provide more context or details about the dataset.
An optional name for the dataset. This can be used to give a descriptive, human-readable title to the dataset for easier identification.
An optional description field that can provide more detailed information about the dataset, such as its purpose, contents, or specific characteristics.
An optional list of items contained within the dataset. Each item in the list is a dictionary representing a specific data entry in the dataset.
An optional type of dataset. Defaults to “key_value”, other option is “generation”.
Create a dataset
Params
An optional name for the dataset. This can be used to give a descriptive, human-readable title to the dataset for easier identification.
An optional description field that can provide more detailed information about the dataset, such as its purpose, contents, or specific characteristics.
A dictionary containing additional data associated with the dataset. This can include user-defined key-value pairs that provide more context or details about the dataset.
Response
Update a dataset
Params
The unique identifier of the dataset. This is an immutable field generated when the dataset is created.
An optional name for the dataset. This can be used to give a descriptive, human-readable title to the dataset for easier identification.
An optional description field that can provide more detailed information about the dataset, such as its purpose, contents, or specific characteristics.
A dictionary containing additional data associated with the dataset. This can include user-defined key-value pairs that provide more context or details about the dataset.
Response
Get a dataset
Params
The unique identifier of the dataset. This is an immutable field generated when the dataset is created.
Response
Delete a dataset
Params
The unique identifier of the dataset. This is an immutable field generated when the dataset is created.
Response
DatasetItem
The identifier of the dataset to which this item belongs. Links the item to its parent dataset.
A dictionary containing additional data associated with this dataset item. This can include specific details relevant to the item.
The input data for this dataset item. Typically contains the parameters or information that forms the LLM request.
The optional output data for this dataset item. Represents the result or outcome associated with the item’s input.
An optional list of intermediary steps involved in the output. This can include any processing steps or intermediate results. They are automatically generated when using “steps” to build a dataset.
Create a dataset item
Params
The input data for this dataset item. Typically contains the parameters or information that forms the LLM request.
The optional output data for this dataset item. Represents the result or outcome associated with the item’s input.
A dictionary containing additional data associated with this dataset item. This can include specific details relevant to the item.
Response
Add a step to a dataset
Params
A dictionary containing additional data associated with this dataset item. This can include specific details relevant to the item.
Response
Add a generation to a dataset
Params
A dictionary containing additional data associated with this dataset item. This can include specific details relevant to the item.