cURL
curl --request POST \ --url https://api.trymaitai.ai/api/v1/datasets \ --header 'Content-Type: application/json' \ --header 'X-Maitai-Api-Key: <api-key>' \ --data ' { "name": "Training Set Q1", "intent_group_id": 10, "sample_type": "random", "sample_percentage": 80 } '
{ "data": { "id": 20, "name": "Training Set Q1", "intent_group_id": 10 } }
Create a new training dataset linked to an intent group.
Your Maitai API key from the Portal.
Create dataset.
A curated set of request/response pairs used for model training (finetuning).
Show child attributes
Was this page helpful?