Datasets
Manage datasets, file uploads, direct/streaming downloads, dataset planning, and synthetic dataset generation using the Knowledgator Python SDK.
Available Modules
- List Datasets — Retrieve a paginated list of datasets.
- Create Dataset — Create a new dataset record with optional file upload.
- Get Dataset — Get metadata and status for a specific dataset.
- Update Dataset — Update dataset name or description.
- Delete Dataset — Delete a dataset permanently.
- Upload Dataset File — Stream or upload an annotation file to an existing dataset.
- Download Dataset — Download a dataset directly to disk, parse into memory, or stream chunk-by-chunk.
- List Formats — List supported dataset formats.
- Generate Dataset Plan — Generate a structured schema and sample plan from a prompt.
- Generate Dataset — Start an asynchronous synthetic dataset generation pipeline.
Quickstart
from knowledgator import Knowledgator
kg = Knowledgator(api_key="YOUR_API_KEY")
datasets = kg.datasets.list()
print(datasets)