The
ax datasets commands are currently in BETA. The API may change without notice. A one-time warning is emitted on first use.ax datasets commands let you create, retrieve, and manage datasets on the Arize platform. Supported file formats: CSV, JSON, JSON Lines, Parquet.
ax datasets list
List all datasets in a space.
Examples:
ax datasets create
Create a new dataset from a local file.
Examples:
ax datasets get
Retrieve a dataset by name or ID.
Example:
ax datasets update
Rename a dataset.
Examples:
ax datasets delete
Delete a dataset.
Examples:
ax datasets export
Export examples from a dataset to a JSON file.
Examples:
ax datasets append
Append examples to an existing dataset. Provide examples via --json (inline) or --file. Exactly one input source is required.
Examples:
ax datasets annotate-examples
Annotate a batch of examples in a dataset. Provide annotations via --file (JSON, JSONL, CSV, or Parquet; use - for stdin). Each record must have a record_id (the dataset example ID) and values (a list of annotation dicts with at least name, plus optionally score, label, or text). Annotations are upserted; up to 1000 examples may be annotated per request.
Examples: