Upload Dataset
From File
- path: str - Path to the file to upload
- name: str - Name for the dataset
- Dataset - The created dataset object
From Pandas DataFrame
- df: pd.DataFrame - Pandas DataFrame to upload
- name: str - Name for the dataset
- Dataset - The created dataset object
Get Dataset
- dataset_ref: str - Name of the dataset
- Dataset - The requested dataset object
Download Dataset
- dataset_ref: str - Name of the dataset
- dest: str, optional - Local destination to download the dataset
- str - Path to the downloaded dataset
Augment Dataset
- config: dict | AugmentationConfig - The configuration for the augmentation
- dataset: Dataset - The dataset to augment
- name: str, optional - The name of the generated dataset, must be unique in the connection
- openai_api_key: str, optional - The OpenAI API key. If not provided, will be read from
OPENAI_API_KEY
- Dataset - The augmented dataset object