Skip to main content
A dataset is a curated collection of training examples built from filtered production traces. The key innovation: combining manifest compatibility + eval scores means your training data is both current (recorded against the active agent config) and high-quality (passed evaluation). Each dataset version locks the manifest and filter set used to build it, so builds are reproducible.

Lifecycle

Common patterns

Build from keep + pass traces

POST /datasets/{id}/build with allowed_verdicts=["keep"] and min_eval_score=0.7 is the canonical SFT recipe.

Export to JSONL or Parquet

GET /datasets/{id}/versions/{v}/export?format=jsonl returns the rows ready for OpenAI fine-tuning or HuggingFace.

Pull as HuggingFace Dataset

decimalai.load_hf_dataset(...) returns a materialized datasets.Dataset object. Compatible with every open-source trainer. (Use decimalai.pull_dataset(dataset_id, path) instead to download to a local JSONL/Parquet file.)

Compare versions

Versions are immutable. To see what’s changed between v1 and v2, fetch both and diff the row counts + source breakdowns.

Formats

Quick start