Skip to main content

What are Datasets?

Datasets in Basalt provide a structured way to store, manage, and utilize collections of data for your AI workflows. With datasets, you can:
  • Store representative examples of your inputs and expected outputs
  • Create standardized test sets for evaluating your AI systems
  • Run experiments against consistent data
  • Compare different approaches using the same baseline data

Working with Datasets

The Basalt SDK provides three main operations for working with datasets:

List All Datasets

Retrieve a list of all datasets available in your workspace:

Get a Specific Dataset

Retrieve a single dataset by its slug, including all rows/items:

Add a Row to a Dataset

Add a new row/item to an existing dataset:

Benefits of Datasets

Basalt Datasets help you:
  • Ensure Consistency: Test on the same data over time
  • Improve Reproducibility: Get reliable comparisons between different approaches
  • Streamline Testing: Automate experimentation with real-world examples
  • Track Progress: Measure improvements against a consistent benchmark
  • Organize Examples: Keep your test cases and training examples structured and accessible