You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/ai-services/speech-service/includes/how-to/professional-voice/create-training-set/rest.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,15 +53,20 @@ You should receive a response body in the following format:
53
53
54
54
## Upload training set data
55
55
56
-
To upload a training set of audio and scripts, use the `TrainingSets_UploadData` operation of the custom voice API. Construct the request body according to the following instructions:
56
+
To upload a training set of audio and scripts, use the `TrainingSets_UploadData` operation of the custom voice API.
57
+
58
+
Before calling this API, please store recording and script files in Azure Blob. In the example below, recording files are https://contoso.blob.core.windows.net/voicecontainer/jessica300/*.wav, script files are
Construct the request body according to the following instructions:
57
62
58
63
- Set the required `kind` property to `AudioAndScript`. The kind determines the type of training set.
59
64
- Set the required `audios` property. Within the `audios` property, set the following properties:
60
-
- Set the required `containerUrl` property to the URL of the Azure Blob Storage container that contains the audio files.
65
+
- Set the required `containerUrl` property to the URL of the Azure Blob Storage container that contains the audio files. Use [shared access signatures (SAS) for a container](/azure/storage/blobs/sas-service-create-dotnet-container#create-a-service-sas-for-a-container) with both read and list permissions.
61
66
- Set the required `extensions` property to the extensions of the audio files.
62
67
- Optionally, set the `prefix` property to set a prefix for the blob name.
63
68
- Set the required `scripts` property. Within the `scripts` property, set the following properties:
64
-
- Set the required `containerUrl` property to the URL of the Azure Blob Storage container that contains the script files.
69
+
- Set the required `containerUrl` property to the URL of the Azure Blob Storage container that contains the script files. Use [shared access signatures (SAS) for a container](/azure/storage/blobs/sas-service-create-dotnet-container#create-a-service-sas-for-a-container) with both read and list permissions.
65
70
- Set the required `extensions` property to the extensions of the script files.
66
71
- Optionally, set the `prefix` property to set a prefix for the blob name.
0 commit comments