v2

latestSwagger 2.02026-07-13323879.9 KB
TrainingSet

Uploads data to the specified training set.

post/trainingsets/{id}:upload

Path parameters

idstring required

The ID of the resource.

Query parameters

api-versionstring required

The API version to use for this operation.

Headers

Operation-Idstring

ID of the status monitor for the operation. If the Operation-Id header matches an existing operation and the request is not identical to the prior request, it will fail with a 400 Bad Request.

Request body

displayNamestring

The name of this dataset.

descriptionstring

Optional description of this dataset.

kind'AudioAndScript' | 'LongAudio' | 'AudioOnly' required

Dataset kind

Example request

{
  "audios": {
    "containerUrl": "https://contoso.blob.core.windows.net/voicecontainer?mySasToken",
    "prefix": "jessica",
    "extensions": [
      ".wav"
    ]
  },
  "scripts": {
    "containerUrl": "https://contoso.blob.core.windows.net/voicecontainer?mySasToken",
    "prefix": "jessica",
    "extensions": [
      ".wav"
    ]
  }
}

Response

Accepted