Skip to content

Commit 46c097e

Browse files
authored
Merge pull request #270739 from MicrosoftDocs/main
Publish to live, Sunday 4 AM PST, 3/31
2 parents 7fdaa98 + d6f1326 commit 46c097e

File tree

232 files changed

+1656
-7328
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

232 files changed

+1656
-7328
lines changed

articles/ai-services/speech-service/batch-synthesis-properties.md

Lines changed: 41 additions & 43 deletions
Large diffs are not rendered by default.

articles/ai-services/speech-service/batch-synthesis.md

Lines changed: 150 additions & 181 deletions
Large diffs are not rendered by default.

articles/ai-services/speech-service/migrate-to-batch-synthesis.md

Lines changed: 36 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -14,30 +14,36 @@ ms.custom: devx-track-csharp
1414

1515
# Migrate code from Long Audio API to Batch synthesis API
1616

17-
The [Batch synthesis API](batch-synthesis.md) (Preview) provides asynchronous synthesis of long-form text to speech. This article describes the benefits of upgrading from Long Audio API to Batch synthesis API, and details about how to do so.
17+
The [Batch synthesis API](batch-synthesis.md) provides asynchronous synthesis of long-form text to speech. This article describes the benefits of upgrading from Long Audio API to Batch synthesis API, and details about how to do so.
1818

1919
> [!IMPORTANT]
20-
> [Batch synthesis API](batch-synthesis.md) is currently in public preview. Once it's generally available, the Long Audio API will be deprecated.
20+
> [Batch synthesis API](batch-synthesis.md) is generally available. the Long Audio API will be retired on April 1st, 2027.
2121
22-
## Base path
22+
## Base path and version
2323

24-
You must update the base path in your code from `/texttospeech/v3.0/longaudiosynthesis` to `/texttospeech/3.1-preview1/batchsynthesis`. For example, to list synthesis jobs for your Speech resource in the `eastus` region, use `https://eastus.customvoice.api.speech.microsoft.com/api/texttospeech/3.1-preview1/batchsynthesis` instead of `https://eastus.customvoice.api.speech.microsoft.com/api/texttospeech/v3.0/longaudiosynthesis`.
24+
Update the endpoint from `https://YourSpeechRegion.customvoice.api.speech.microsoft.com` to `https://YourSpeechRegion.api.cognitive.microsoft.com` or you can use custom domain instead: `https://{customDomainName}.cognitiveservices.azure.com/`.
25+
26+
Update the base path in your code from `/texttospeech/v3.0/longaudiosynthesis` to `/texttospeech/batchsyntheses`.
27+
28+
Update the version from base path to query string `/texttospeech/v3.0/longaudiosynthesis` to `?api-version=2024-04-01`.
29+
30+
For example, to list synthesis jobs for your Speech resource in the `eastus` region, use `https://eastus.api.cognitive.microsoft.com/texttospeech/batchsyntheses?api-version=2024-04-01` instead of `https://eastus.customvoice.api.speech.microsoft.com/api/texttospeech/v3.0/longaudiosynthesis`.
2531

2632
## Regions and endpoints
2733

28-
Batch synthesis API is available in all [Speech regions](regions.md).
34+
Batch synthesis API is available in more [Speech regions](regions.md).
2935

3036
The Long Audio API is limited to the following regions:
3137

32-
| Region | Endpoint |
33-
|--------|----------|
34-
| Australia East | `https://australiaeast.customvoice.api.speech.microsoft.com` |
35-
| East US | `https://eastus.customvoice.api.speech.microsoft.com` |
36-
| India Central | `https://centralindia.customvoice.api.speech.microsoft.com` |
38+
| Region | Endpoint |
39+
| ---------------- | ------------------------------------------------------------- |
40+
| Australia East | `https://australiaeast.customvoice.api.speech.microsoft.com` |
41+
| East US | `https://eastus.customvoice.api.speech.microsoft.com` |
42+
| India Central | `https://centralindia.customvoice.api.speech.microsoft.com` |
3743
| South Central US | `https://southcentralus.customvoice.api.speech.microsoft.com` |
38-
| Southeast Asia | `https://southeastasia.customvoice.api.speech.microsoft.com` |
39-
| UK South | `https://uksouth.customvoice.api.speech.microsoft.com` |
40-
| West Europe | `https://westeurope.customvoice.api.speech.microsoft.com` |
44+
| Southeast Asia | `https://southeastasia.customvoice.api.speech.microsoft.com` |
45+
| UK South | `https://uksouth.customvoice.api.speech.microsoft.com` |
46+
| West Europe | `https://westeurope.customvoice.api.speech.microsoft.com` |
4147

4248
## Voices list
4349

@@ -47,11 +53,12 @@ The Long Audio API is limited to the set of voices returned by a GET request to
4753

4854
## Text inputs
4955

50-
Batch synthesis text inputs are sent in a JSON payload of up to 500 kilobytes.
56+
Batch synthesis text inputs are sent in a JSON payload of up to 2 megabytes.
5157

5258
Long Audio API text inputs are uploaded from a file that meets the following requirements:
53-
* One plain text (.txt) or SSML text (.txt) file encoded as [UTF-8 with Byte Order Mark (BOM)](https://www.w3.org/International/questions/qa-utf8-bom.en#bom). Don't use compressed files such as ZIP. If you have more than one input file, you must submit multiple requests.
54-
* Contains more than 400 characters for plain text or 400 [billable characters](./text-to-speech.md#pricing-note) for SSML text, and less than 10,000 paragraphs. For plain text, each paragraph is separated by a new line. For SSML text, each SSML piece is considered a paragraph. Separate SSML pieces by different paragraphs.
59+
60+
- One plain text (.txt) or SSML text (.txt) file encoded as [UTF-8 with Byte Order Mark (BOM)](https://www.w3.org/International/questions/qa-utf8-bom.en#bom). Don't use compressed files such as ZIP. If you have more than one input file, you must submit multiple requests.
61+
- Contains more than 400 characters for plain text or 400 [billable characters](./text-to-speech.md#pricing-note) for SSML text, and less than 10,000 paragraphs. For plain text, each paragraph is separated by a new line. For SSML text, each SSML piece is considered a paragraph. Separate SSML pieces by different paragraphs.
5562

5663
With Batch synthesis API, you can use any of the [supported SSML elements](speech-synthesis-markup.md), including the `audio`, `mstts:backgroundaudio`, and `lexicon` elements. The long audio API doesn't support the `audio`, `mstts:backgroundaudio`, and `lexicon` elements.
5764

@@ -61,28 +68,28 @@ Batch synthesis API supports all [text to speech audio output formats](rest-text
6168

6269
The Long Audio API is limited to the following set of audio output formats. The sample rate for long audio voices is 24kHz, not 48kHz. Other sample rates can be obtained through upsampling or downsampling when synthesizing.
6370

64-
* riff-8khz-16bit-mono-pcm
65-
* riff-16khz-16bit-mono-pcm
66-
* riff-24khz-16bit-mono-pcm
67-
* riff-48khz-16bit-mono-pcm
68-
* audio-16khz-32kbitrate-mono-mp3
69-
* audio-16khz-64kbitrate-mono-mp3
70-
* audio-16khz-128kbitrate-mono-mp3
71-
* audio-24khz-48kbitrate-mono-mp3
72-
* audio-24khz-96kbitrate-mono-mp3
73-
* audio-24khz-160kbitrate-mono-mp3
71+
- riff-8khz-16bit-mono-pcm
72+
- riff-16khz-16bit-mono-pcm
73+
- riff-24khz-16bit-mono-pcm
74+
- riff-48khz-16bit-mono-pcm
75+
- audio-16khz-32kbitrate-mono-mp3
76+
- audio-16khz-64kbitrate-mono-mp3
77+
- audio-16khz-128kbitrate-mono-mp3
78+
- audio-24khz-48kbitrate-mono-mp3
79+
- audio-24khz-96kbitrate-mono-mp3
80+
- audio-24khz-160kbitrate-mono-mp3
7481

7582
## Getting results
7683

77-
With batch synthesis API, use the URL from the `outputs.result` property of the HTTP GET batch synthesis response. The [results](batch-synthesis.md#batch-synthesis-results) are in a ZIP file that contains the audio (such as `0001.wav`), summary, and debug details.
84+
With batch synthesis API, use the URL from the `outputs.result` property of the HTTP GET batch synthesis response. The [results](batch-synthesis.md#batch-synthesis-results) are in a ZIP file that contains the audio (such as `0001.wav`), summary, and debug details.
7885

7986
Long Audio API text inputs and results are returned via two separate content URLs as shown in the following example. The one with `"kind": "LongAudioSynthesisScript"` is the input script submitted. The other one with `"kind": "LongAudioSynthesisResult"` is the result of this request. Both ZIP files can be downloaded from the URL in their `links.contentUrl` property.
8087

8188
## Cleaning up resources
8289

83-
Batch synthesis API supports up to 200 batch synthesis jobs that don't have a status of "Succeeded" or "Failed". The Speech service keeps each synthesis history for up to 31 days, or the duration of the request `timeToLive` property, whichever comes sooner. The date and time of automatic deletion (for synthesis jobs with a status of "Succeeded" or "Failed") is equal to the `lastActionDateTime` + `timeToLive` properties.
90+
Batch synthesis API supports up to 300 batch synthesis jobs that don't have a status of "Succeeded" or "Failed". The Speech service keeps each synthesis history for up to 31 days, or the duration of the request `timeToLiveInHours` property, whichever comes sooner. The date and time of automatic deletion (for synthesis jobs with a status of "Succeeded" or "Failed") is equal to the `lastActionDateTime` + `timeToLiveInHours` properties.
8491

85-
The Long Audio API is limited to 20,000 requests for each Azure subscription account. The Speech service doesn't remove job history automatically. You must remove the previous job run history before making new requests that would otherwise exceed the limit.
92+
The Long Audio API is limited to 20,000 requests for each Azure subscription account. The Speech service doesn't remove job history automatically. You must remove the previous job run history before making new requests that would otherwise exceed the limit.
8693

8794
## Next steps
8895

articles/ai-services/speech-service/regions.md

Lines changed: 62 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ The Speech service allows your application to convert audio to text, perform spe
1717

1818
Keep in mind the following points:
1919

20-
* If your application uses a [Speech SDK](speech-sdk.md), you provide the region identifier, such as `westus`, when you create a `SpeechConfig`. Make sure the region matches the region of your subscription.
21-
* If your application uses one of the Speech service REST APIs, the region is part of the endpoint URI you use when making requests.
22-
* Keys created for a region are valid only in that region. If you attempt to use them with other regions, you get authentication errors.
20+
- If your application uses a [Speech SDK](speech-sdk.md), you provide the region identifier, such as `westus`, when you create a `SpeechConfig`. Make sure the region matches the region of your subscription.
21+
- If your application uses one of the Speech service REST APIs, the region is part of the endpoint URI you use when making requests.
22+
- Keys created for a region are valid only in that region. If you attempt to use them with other regions, you get authentication errors.
2323

2424
> [!NOTE]
2525
> Speech service doesn't store or process customer data outside the region the customer deploys the service instance in.
@@ -28,44 +28,44 @@ Keep in mind the following points:
2828

2929
The following regions are supported for Speech service features such as speech to text, text to speech, pronunciation assessment, and translation. The geographies are listed in alphabetical order.
3030

31-
| Geography | Region | Region identifier |
32-
| ----- | ----- | ----- |
33-
| Africa | South Africa North | `southafricanorth` <sup>6</sup>|
34-
| Asia Pacific | East Asia | `eastasia` <sup>5</sup>|
35-
| Asia Pacific | Southeast Asia | `southeastasia` <sup>1,2,3,4,5,7,9</sup>|
36-
| Asia Pacific | Australia East | `australiaeast` <sup>1,2,3,4,7</sup>|
37-
| Asia Pacific | Central India | `centralindia` <sup>1,2,3,4,5</sup>|
38-
| Asia Pacific | Japan East | `japaneast` <sup>2,5</sup>|
39-
| Asia Pacific | Japan West | `japanwest` |
40-
| Asia Pacific | Korea Central | `koreacentral` <sup>2</sup>|
41-
| Canada | Canada Central | `canadacentral` <sup>1</sup>|
42-
| Europe | North Europe | `northeurope` <sup>1,2,4,5,7</sup>|
43-
| Europe | West Europe | `westeurope` <sup>1,2,3,4,5,7,9</sup>|
44-
| Europe | France Central | `francecentral` |
45-
| Europe | Germany West Central | `germanywestcentral` |
46-
| Europe | Norway East | `norwayeast` |
47-
| Europe | Sweden Central | `swedencentral`<sup>8</sup> |
48-
| Europe | Switzerland North | `switzerlandnorth` <sup>6</sup>|
49-
| Europe | Switzerland West | `switzerlandwest` |
50-
| Europe | UK South | `uksouth` <sup>1,2,3,4,7</sup>|
51-
| Middle East | UAE North | `uaenorth` <sup>6</sup>|
52-
| South America | Brazil South | `brazilsouth` <sup>6</sup>|
53-
| Qatar | Qatar Central | `qatarcentral`<sup>8</sup> |
54-
| US | Central US | `centralus` |
55-
| US | East US | `eastus` <sup>1,2,3,4,5,7,9</sup>|
56-
| US | East US 2 | `eastus2` <sup>1,2,4,5</sup>|
57-
| US | North Central US | `northcentralus` <sup>4,6</sup>|
58-
| US | South Central US | `southcentralus` <sup>1,2,3,4,5,6,7</sup>|
59-
| US | West Central US | `westcentralus` <sup>5</sup>|
60-
| US | West US | `westus` <sup>2,5</sup>|
61-
| US | West US 2 | `westus2` <sup>1,2,4,5,7</sup>|
62-
| US | West US 3 | `westus3` |
31+
| Geography | Region | Region identifier |
32+
| ------------- | -------------------- | --------------------------------------- |
33+
| Africa | South Africa North | `southafricanorth` <sup>6</sup> |
34+
| Asia Pacific | East Asia | `eastasia` <sup>5</sup> |
35+
| Asia Pacific | Southeast Asia | `southeastasia` <sup>1,2,4,5,7,9</sup> |
36+
| Asia Pacific | Australia East | `australiaeast` <sup>1,2,4,7</sup> |
37+
| Asia Pacific | Central India | `centralindia` <sup>1,2,4,5</sup> |
38+
| Asia Pacific | Japan East | `japaneast` <sup>2,5</sup> |
39+
| Asia Pacific | Japan West | `japanwest` <sup>3</sup> |
40+
| Asia Pacific | Korea Central | `koreacentral` <sup>2</sup> |
41+
| Canada | Canada Central | `canadacentral` <sup>1</sup> |
42+
| Europe | North Europe | `northeurope` <sup>1,2,4,5,7</sup> |
43+
| Europe | West Europe | `westeurope` <sup>1,2,4,5,7,9</sup> |
44+
| Europe | France Central | `francecentral` |
45+
| Europe | Germany West Central | `germanywestcentral` |
46+
| Europe | Norway East | `norwayeast` |
47+
| Europe | Sweden Central | `swedencentral`<sup>8</sup> |
48+
| Europe | Switzerland North | `switzerlandnorth` <sup>6</sup> |
49+
| Europe | Switzerland West | `switzerlandwest` <sup>3</sup> |
50+
| Europe | UK South | `uksouth` <sup>1,2,4,7</sup> |
51+
| Middle East | UAE North | `uaenorth` <sup>6</sup> |
52+
| South America | Brazil South | `brazilsouth` <sup>6</sup> |
53+
| Qatar | Qatar Central | `qatarcentral`<sup>3,8</sup> |
54+
| US | Central US | `centralus` |
55+
| US | East US | `eastus` <sup>1,2,4,5,7,9</sup> |
56+
| US | East US 2 | `eastus2` <sup>1,2,4,5</sup> |
57+
| US | North Central US | `northcentralus` <sup>4,6</sup> |
58+
| US | South Central US | `southcentralus` <sup>1,2,4,5,6,7</sup> |
59+
| US | West Central US | `westcentralus` <sup>3,5</sup> |
60+
| US | West US | `westus` <sup>2,5</sup> |
61+
| US | West US 2 | `westus2` <sup>1,2,4,5,7</sup> |
62+
| US | West US 3 | `westus3` <sup>3</sup> |
6363

6464
<sup>1</sup> The region has dedicated hardware for custom speech training. If you plan to train a custom model with audio data, use one of the regions with dedicated hardware for faster training. Then you can [copy the trained model](how-to-custom-speech-train-model.md#copy-a-model) to another region.
6565

6666
<sup>2</sup> The region is available for custom neural voice training. You can copy a trained neural voice model to other regions for deployment.
6767

68-
<sup>3</sup> The Long Audio API is available in the region.
68+
<sup>3</sup> The region doesn't support Batch Synthesis API.
6969

7070
<sup>4</sup> The region supports custom keyword advanced models.
7171

@@ -84,36 +84,36 @@ The following regions are supported for Speech service features such as speech t
8484
Available regions for intent recognition via the Speech SDK are in the following table.
8585

8686
| Global region | Region | Region identifier |
87-
| ------------- | ---------------- | -------------------- |
88-
| Asia | East Asia | `eastasia` |
89-
| Asia | Southeast Asia | `southeastasia` |
90-
| Australia | Australia East | `australiaeast` |
91-
| Europe | North Europe | `northeurope` |
92-
| Europe | West Europe | `westeurope` |
93-
| North America | East US | `eastus` |
94-
| North America | East US 2 | `eastus2` |
95-
| North America | South Central US | `southcentralus` |
96-
| North America | West Central US | `westcentralus` |
97-
| North America | West US | `westus` |
98-
| North America | West US 2 | `westus2` |
99-
| South America | Brazil South | `brazilsouth` |
87+
| ------------- | ---------------- | ----------------- |
88+
| Asia | East Asia | `eastasia` |
89+
| Asia | Southeast Asia | `southeastasia` |
90+
| Australia | Australia East | `australiaeast` |
91+
| Europe | North Europe | `northeurope` |
92+
| Europe | West Europe | `westeurope` |
93+
| North America | East US | `eastus` |
94+
| North America | East US 2 | `eastus2` |
95+
| North America | South Central US | `southcentralus` |
96+
| North America | West Central US | `westcentralus` |
97+
| North America | West US | `westus` |
98+
| North America | West US 2 | `westus2` |
99+
| South America | Brazil South | `brazilsouth` |
100100

101101
This is a subset of the publishing regions supported by the [Language Understanding service (LUIS)](../luis/luis-reference-regions.md).
102102

103103
## Voice assistants
104104

105105
The [Speech SDK](speech-sdk.md) supports voice assistant capabilities through [Direct Line Speech](./direct-line-speech.md) for regions in the following table.
106106

107-
| Global region | Region | Region identifier |
108-
| ------------- | ---------------- | -------------------- |
109-
| North America | West US | `westus` |
110-
| North America | West US 2 | `westus2` |
111-
| North America | East US | `eastus` |
112-
| North America | East US 2 | `eastus2` |
113-
| North America | West Central US | `westcentralus` |
114-
| North America | South Central US | `southcentralus` |
115-
| Europe | West Europe | `westeurope` |
116-
| Europe | North Europe | `northeurope` |
117-
| Asia | East Asia | `eastasia` |
118-
| Asia | Southeast Asia | `southeastasia` |
119-
| India | Central India | `centralindia` |
107+
| Global region | Region | Region identifier |
108+
| ------------- | ---------------- | ----------------- |
109+
| North America | West US | `westus` |
110+
| North America | West US 2 | `westus2` |
111+
| North America | East US | `eastus` |
112+
| North America | East US 2 | `eastus2` |
113+
| North America | West Central US | `westcentralus` |
114+
| North America | South Central US | `southcentralus` |
115+
| Europe | West Europe | `westeurope` |
116+
| Europe | North Europe | `northeurope` |
117+
| Asia | East Asia | `eastasia` |
118+
| Asia | Southeast Asia | `southeastasia` |
119+
| India | Central India | `centralindia` |

articles/ai-studio/concepts/content-filtering.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ ms.custom:
99
ms.topic: conceptual
1010
ms.date: 2/22/2024
1111
ms.reviewer: eur
12-
ms.author: eur
13-
author: eric-urban
12+
ms.author: pafarley
13+
author: PatrickFarley
1414
---
1515

1616
# Content filtering in Azure AI Studio

articles/ai-studio/concepts/evaluation-approach-gen-ai.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
title: Evaluation of generative AI applications with Azure AI Studio
33
titleSuffix: Azure AI Studio
44
description: Explore the broader domain of monitoring and evaluating large language models through the establishment of precise metrics, the development of test sets for measurement, and the implementation of iterative testing.
5-
manager: nitinme
5+
manager: scottpolly
66
ms.service: azure-ai-studio
77
ms.custom:
88
- ignite-2023
99
ms.topic: conceptual
1010
ms.date: 3/28/2024
1111
ms.reviewer: eur
12-
ms.author: eur
13-
author: eric-urban
12+
ms.author: lagayhar
13+
author: lgayhardt
1414
---
1515

1616
# Evaluation of generative AI applications

0 commit comments

Comments
 (0)