Create Dataset
Create a new dataset record with optional file upload using the Knowledgator Python SDK.
Example Usage
from knowledgator import Knowledgator
kg = Knowledgator(api_key="YOUR_API_KEY")
dataset = kg.datasets.create(
name="my_entity_dataset",
type="ner",
format="jsonl",
short_description="Fine-tuning dataset for custom NER"
)
print(dataset.id)