Datasets
On Quotient, datasets are collections of structured data that enable you to store, manage, and organize rows of information for evaluation or reference within QuotientAI. Each dataset consists of rows, where each row includes fields for input, context, expected output, and optional metadata for annotations.
Creating a New Dataset
To create a new dataset, use the create()
method. You can specify a name, an optional description, and optional list of rows.
Listing Datasets
To list all available datasets, use the list()
method. This method returns a collection of Dataset
objects, each containing details like id
, name
, description
, and timestamps.
Retrieving a Specific Dataset
To get the details of a specific dataset by its ID along with its rows, use the get()
method.
Updating an Existing Dataset
To update a dataset, use the update()
method. This can modify the dataset’s metadata.
Appending Rows to an Existing Dataset
To add rows to an existing dataset, use the append()
method. This allows you to extend the dataset by adding new rows.
Deleting a Dataset
To delete a dataset, use the delete()
method. Pass in the Dataset
object you intend to delete.