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-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,14 +15,14 @@ In this article, you [create a training set](#create-a-training-set) and get its
15
15
16
16
## Create a training set
17
17
18
-
To create a training set, use the [TrainingSets_Create](/rest/api/speechapi/training-sets/create) operation of the custom voice API. Construct the request body according to the following instructions:
18
+
To create a training set, use the [TrainingSets_Create](/rest/api/aiservices/speechapi/training-sets/create) operation of the custom voice API. Construct the request body according to the following instructions:
19
19
20
20
- Set the required `projectId` property. See [create a project](../../../../professional-voice-create-project.md).
21
21
- Set the required `voiceKind` property to `Male` or `Female`. The kind can't be changed later.
22
22
- Set the required `locale` property. This should be the locale of the training set data. The locale of the training set should be the same as the locale of the [consent statement](../../../../professional-voice-create-consent.md). The locale can't be changed later. You can find the text to speech locale list [here](/azure/ai-services/speech-service/language-support?tabs=tts).
23
23
- Optionally, set the `description` property for the training set description. The training set description can be changed later.
24
24
25
-
Make an HTTP PUT request using the URI as shown in the following [TrainingSets_Create](/rest/api/speechapi/training-sets/create) example.
25
+
Make an HTTP PUT request using the URI as shown in the following [TrainingSets_Create](/rest/api/aiservices/speechapi/training-sets/create) example.
26
26
- Replace `YourResourceKey` with your Speech resource key.
27
27
- Replace `YourResourceRegion` with your Speech resource region.
28
28
- Replace `JessicaTrainingSetId` with a training set ID of your choice. The case sensitive ID will be used in the training set's URI and can't be changed later.
You should receive a response body in the following format:
@@ -53,7 +53,7 @@ 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](/rest/api/speechapi/training-sets/upload-data) operation of the custom voice API.
56
+
To upload a training set of audio and scripts, use the [TrainingSets_UploadData](/rest/api/aiservices/speechapi/training-sets/upload-data) operation of the custom voice API.
57
57
58
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
@@ -70,7 +70,7 @@ Construct the request body according to the following instructions:
70
70
- Set the required `extensions` property to the extensions of the script files.
71
71
- Optionally, set the `prefix` property to set a prefix for the blob name.
72
72
73
-
Make an HTTP POST request using the URI as shown in the following [TrainingSets_UploadData](/rest/api/speechapi/training-sets/upload-data) example.
73
+
Make an HTTP POST request using the URI as shown in the following [TrainingSets_UploadData](/rest/api/aiservices/speechapi/training-sets/upload-data) example.
74
74
- Replace `YourResourceKey` with your Speech resource key.
75
75
- Replace `YourResourceRegion` with your Speech resource region.
76
76
- Replace `JessicaTrainingSetId` if you specified a different training set ID in the previous step.
The response header contains the `Operation-Location` property. Use this URI to get details about the [TrainingSets_UploadData](/rest/api/speechapi/training-sets/upload-data) operation. Here's an example of the response header:
98
+
The response header contains the `Operation-Location` property. Use this URI to get details about the [TrainingSets_UploadData](/rest/api/aiservices/speechapi/training-sets/upload-data) operation. Here's an example of the response header:
0 commit comments