Skip to content

Commit 71c137b

Browse files
authored
Merge pull request #261964 from MicrosoftDocs/main
12/27 11:00 AM IST Publish
2 parents 7094bfc + 19e0a66 commit 71c137b

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

articles/ai-services/speech-service/includes/how-to/professional-voice/create-training-set/rest.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,20 @@ You should receive a response body in the following format:
5353

5454
## Upload training set data
5555

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
59+
https://contoso.blob.core.windows.net/voicecontainer/jessica300/*.txt.
60+
61+
Construct the request body according to the following instructions:
5762

5863
- Set the required `kind` property to `AudioAndScript`. The kind determines the type of training set.
5964
- 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.
6166
- Set the required `extensions` property to the extensions of the audio files.
6267
- Optionally, set the `prefix` property to set a prefix for the blob name.
6368
- 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.
6570
- Set the required `extensions` property to the extensions of the script files.
6671
- Optionally, set the `prefix` property to set a prefix for the blob name.
6772

articles/ai-services/speech-service/personal-voice-create-voice.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,16 @@ You create a speaker profile ID based on the speaker's verbal consent statement
2020

2121
## Create personal voice
2222

23-
To create a personal voice and get the speaker profile ID, use the `PersonalVoices_Create` operation of the custom voice API. Construct the request body according to the following instructions:
23+
To create a personal voice and get the speaker profile ID, use the `PersonalVoices_Create` operation of the custom voice API.
24+
25+
Before calling this API, please store audio files in Azure Blob. In the example below, audio files are https://contoso.blob.core.windows.net/voicecontainer/jessica/*.wav.
26+
27+
Construct the request body according to the following instructions:
2428

2529
- Set the required `projectId` property. See [create a project](./personal-voice-create-project.md).
2630
- Set the required `consentId` property. See [add user consent](./personal-voice-create-consent.md).
2731
- Set the required `audios` property. Within the `audios` property, set the following properties:
28-
- Set the required `containerUrl` property to the URL of the Azure Blob Storage container that contains the audio files.
32+
- Set the required `containerUrl` property to the URL of the Azure Blob Storage container that contains the audio files. Use [shared access signatures (SAS) 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.
2933
- Set the required `extensions` property to the extensions of the audio files.
3034
- Optionally, set the `prefix` property to set a prefix for the blob name.
3135

@@ -77,4 +81,4 @@ Operation-Id: 1321a2c0-9be4-471d-83bb-bc3be4f96a6f
7781
## Next steps
7882

7983
> [!div class="nextstepaction"]
80-
> [Use personal voice in your application.](./personal-voice-how-to-use.md).
84+
> [Use personal voice in your application.](./personal-voice-how-to-use.md).

0 commit comments

Comments
 (0)