Skip to content

Commit f134e48

Browse files
Merge pull request #5957 from MicrosoftDocs/learn-build-service-prodbot/docutune-autopr-20250710-073259-5262715-ignore-build
[BULK] [DocuTune-Remediation] - Scheduled execution to fix known issues in WAF - articles/ai-services (part 2)
2 parents 252fc7a + 0f0f49d commit f134e48

File tree

9 files changed

+137
-138
lines changed

9 files changed

+137
-138
lines changed

articles/ai-services/language-service/sentiment-opinion-mining/includes/custom/rest-api/assign-resources.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Use the following sample JSON as your body.
5050

5151
|Key |Placeholder |Value | Example |
5252
|---------|---------|----------|--|
53-
| `azureResourceId` | `{AZURE-RESOURCE-ID}` | The full resource ID path you want to assign. Found in the Azure portal under the **Properties** tab for the resource, in the **Resource ID** field. | `/subscriptions/aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e/resourceGroups/ContosoResourceGroup/providers/Microsoft.CognitiveServices/accounts/ContosoResource` |
53+
| `azureResourceId` | `{AZURE-RESOURCE-ID}` | The full resource ID path you want to assign. Found in the Azure portal under the **Properties** tab for the resource, in the **Resource ID** field. | `/subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/ContosoResourceGroup/providers/Microsoft.CognitiveServices/accounts/ContosoResource` |
5454
| `customDomain` | `{CUSTOM-DOMAIN}` | The custom subdomain of the resource you want to assign. Found in the Azure portal under the **Keys and Endpoint** tab for the resource, as the **Endpoint** field in the URL `https://<your-custom-subdomain>.cognitiveservices.azure.com/` | `contosoresource` |
5555
| `region` | `{REGION-CODE}` | A region code specifying the region of the resource you want to assign. Found in the Azure portal under the **Keys and Endpoint** tab for the resource, in the **Location/Region** field. |`eastus`|
5656

articles/ai-services/language-service/sentiment-opinion-mining/includes/custom/rest-api/unassign-resources.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Use the following sample JSON as your body.
4848

4949
|Key |Placeholder |Value | Example |
5050
|---------|---------|----------|--|
51-
| `assignedResourceIds` | `{AZURE-RESOURCE-ID}` | The full resource ID path you want to unassign. Found in the Azure portal under the _Properties_ tab for the resource as the _Resource ID_ field. | `/subscriptions/aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e/resourceGroups/ContosoResourceGroup/providers/Microsoft.CognitiveServices/accounts/ContosoResource` |
51+
| `assignedResourceIds` | `{AZURE-RESOURCE-ID}` | The full resource ID path you want to unassign. Found in the Azure portal under the _Properties_ tab for the resource as the _Resource ID_ field. | `/subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/ContosoResourceGroup/providers/Microsoft.CognitiveServices/accounts/ContosoResource` |
5252

5353
### Get unassign resource status
5454

articles/ai-services/metrics-advisor/how-tos/alerts.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ Go to Metrics Advisor resource in Azure portal, and select "Identity", turn it t
6565

6666
**Step2.** Create a web hook in Metrics Advisor workspace
6767

68-
Log in to you workspace and select "Hooks" tab, then select "Create hook" button.
68+
Log in to your workspace and select "Hooks" tab, then select "Create hook" button.
6969

7070

71-
To create a web hook, you will need to add the following information:
71+
To create a web hook, you'll need to add the following information:
7272

7373
|Parameter |Description |
7474
|---------|---------|
@@ -84,15 +84,15 @@ To create a web hook, you will need to add the following information:
8484

8585
- Request method is **POST**
8686
- Timeout 30s
87-
- Retry for 5xx error, ignore other error. Will not follow 301/302 redirect request.
87+
- Retry for 5xx error, ignore other error. Won't follow 301/302 redirect request.
8888
- Request body:
8989
```
9090
{
9191
"value": [{
9292
"hookId": "b0f27e91-28cf-4aa2-aa66-ac0275df14dd",
9393
"alertType": "Anomaly",
9494
"alertInfo": {
95-
"anomalyAlertingConfigurationId": "1bc6052e-9a2a-430b-9cbd-80cd07a78c64",
95+
"anomalyAlertingConfigurationId": "aaaabbbb-0000-cccc-1111-dddd2222eeee",
9696
"alertId": "172536dbc00",
9797
"timestamp": "2020-05-27T00:00:00Z",
9898
"createdTime": "2020-05-29T10:04:45.590Z",
@@ -111,7 +111,7 @@ As mentioned, if accessing the endpoint needs to be authenticated by a certifica
111111
- Then select "Access policies" and "Add access policy", grant "get" permission for "Key permissions", "Secrete permissions" and "Certificate permissions". Select principal as the name of your Metrics Advisor resource. Select "Add" and "Save" button in "Access policies" page.
112112

113113
**Step4.** Receive anomaly notification
114-
When a notification is pushed through a web hook, you can fetch incidents data by calling the "callBackUrl" in Webhook Request. Details for this api:
114+
When a notification is pushed through a web hook, you can fetch incidents data by calling the "callBackUrl" in Webhook Request. Details for this API:
115115

116116
- [/alert/anomaly/configurations/{configurationId}/alerts/{alertId}/incidents](https://westus2.dev.cognitive.microsoft.com/docs/services/MetricsAdvisor/operations/getIncidentsFromAlertByAnomalyAlertingConfiguration)
117117

@@ -121,7 +121,7 @@ By using web hook and Azure Logic Apps, it's possible to send email notification
121121

122122
Metrics Advisor also supports automatically creating a work item in Azure DevOps to track issues/bugs when any anomaly is detected. All alerts can be sent through Azure DevOps hooks.
123123

124-
To create an Azure DevOps hook, you will need to add the following information
124+
To create an Azure DevOps hook, you'll need to add the following information
125125

126126
|Parameter |Description |
127127
|---------|---------|

articles/ai-services/speech-service/batch-transcription-create.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
title: Create a batch transcription - Speech service
33
titleSuffix: Azure AI services
44
description: Learn how to use Azure AI Speech for batch transcriptions, where you submit audio and then retrieve transcription results asynchronously.
@@ -137,9 +137,9 @@ You should receive a response body in the following format:
137137

138138
```json
139139
{
140-
"self": "https://eastus.api.cognitive.microsoft.com/speechtotext/v3.2/transcriptions/7f4232d5-9873-47a7-a6f7-4a3f00d00dc0",
140+
"self": "https://eastus.api.cognitive.microsoft.com/speechtotext/v3.2/transcriptions/bbbbcccc-1111-dddd-2222-eeee3333ffff",
141141
"model": {
142-
"self": "https://eastus.api.cognitive.microsoft.com/speechtotext/v3.2/models/base/5988d691-0893-472c-851e-8e36a0fe7aaf"
142+
"self": "https://eastus.api.cognitive.microsoft.com/speechtotext/v3.2/models/base/ccccdddd-2222-eeee-3333-ffff4444aaaa"
143143
},
144144
"links": {
145145
"files": "https://eastus.api.cognitive.microsoft.com/speechtotext/v3.2/transcriptions/7f4232d5-9873-47a7-a6f7-4a3f00d00dc0/files"
@@ -228,7 +228,7 @@ curl -v -X POST -H "Ocp-Apim-Subscription-Key: YourSpeechResoureKey" -H "Content
228228
"locale": "en-US",
229229
"displayName": "My Transcription",
230230
"model": {
231-
"self": "https://eastus.api.cognitive.microsoft.com/speechtotext/models/base/5988d691-0893-472c-851e-8e36a0fe7aaf"
231+
"self": "https://eastus.api.cognitive.microsoft.com/speechtotext/models/base/ccccdddd-2222-eeee-3333-ffff4444aaaa"
232232
},
233233
"properties": {
234234
"wordLevelTimestampsEnabled": true,
@@ -241,7 +241,7 @@ curl -v -X POST -H "Ocp-Apim-Subscription-Key: YourSpeechResoureKey" -H "Content
241241
::: zone pivot="speech-cli"
242242

243243
```azurecli
244-
spx batch transcription create --name "My Transcription" --language "en-US" --content https://crbn.us/hello.wav,https://crbn.us/whatstheweatherlike.wav --model "https://eastus.api.cognitive.microsoft.com/speechtotext/v3.2/models/base/5988d691-0893-472c-851e-8e36a0fe7aaf"
244+
spx batch transcription create --name "My Transcription" --language "en-US" --content https://crbn.us/hello.wav,https://crbn.us/whatstheweatherlike.wav --model "https://eastus.api.cognitive.microsoft.com/speechtotext/v3.2/models/base/ccccdddd-2222-eeee-3333-ffff4444aaaa"
245245
```
246246

247247
::: zone-end
@@ -359,7 +359,7 @@ You set the full model URI as shown in this example for the `eastus` region. Rep
359359
Set the required `api-version` parameter to `v3.2`. The Speech CLI doesn't support version `2024-11-15` or later yet, so you must use `v3.2` for now.
360360

361361
```azurecli
362-
spx batch transcription create --name "My Transcription" --language "en-US" --content https://crbn.us/hello.wav,https://crbn.us/whatstheweatherlike.wav --model "https://eastus.api.cognitive.microsoft.com/speechtotext/models/base/69adf293-9664-4040-932b-02ed16332e00" --api-version v3.2
362+
spx batch transcription create --name "My Transcription" --language "en-US" --content https://crbn.us/hello.wav,https://crbn.us/whatstheweatherlike.wav --model "https://eastus.api.cognitive.microsoft.com/speechtotext/models/base/ddddeeee-3333-ffff-4444-aaaa5555bbbb" --api-version v3.2
363363
```
364364

365365
::: zone-end

articles/ai-services/speech-service/batch-transcription-get.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ You should receive a response body in the following format:
9292

9393
```json
9494
{
95-
"self": "https://eastus.api.cognitive.microsoft.com/speechtotext/v3.2/transcriptions/637d9333-6559-47a6-b8de-c7d732c1ddf3",
95+
"self": "https://eastus.api.cognitive.microsoft.com/speechtotext/v3.2/transcriptions/bbbbcccc-1111-dddd-2222-eeee3333ffff",
9696
"model": {
97-
"self": "https://eastus.api.cognitive.microsoft.com/speechtotext/v3.2/models/base/aaa321e9-5a4e-4db1-88a2-f251bbe7b555"
97+
"self": "https://eastus.api.cognitive.microsoft.com/speechtotext/v3.2/models/base/ccccdddd-2222-eeee-3333-ffff4444aaaa"
9898
},
9999
"links": {
100100
"files": "https://eastus.api.cognitive.microsoft.com/speechtotext/v3.2/transcriptions/637d9333-6559-47a6-b8de-c7d732c1ddf3/files"
@@ -212,7 +212,7 @@ You should receive a response body in the following format:
212212
{
213213
"values": [
214214
{
215-
"self": "https://eastus.api.cognitive.microsoft.com/speechtotext/v3.2/transcriptions/637d9333-6559-47a6-b8de-c7d732c1ddf3/files/2dd180a1-434e-4368-a1ac-37350700284f",
215+
"self": "https://eastus.api.cognitive.microsoft.com/speechtotext/v3.2/transcriptions/637d9333-6559-47a6-b8de-c7d732c1ddf3/files/aaaabbbb-6666-cccc-7777-dddd8888eeee",
216216
"name": "contenturl_0.json",
217217
"kind": "Transcription",
218218
"properties": {
@@ -224,7 +224,7 @@ You should receive a response body in the following format:
224224
}
225225
},
226226
{
227-
"self": "https://eastus.api.cognitive.microsoft.com/speechtotext/v3.2/transcriptions/637d9333-6559-47a6-b8de-c7d732c1ddf3/files/c027c6a9-2436-4303-b64b-e98e3c9fc2e3",
227+
"self": "https://eastus.api.cognitive.microsoft.com/speechtotext/v3.2/transcriptions/637d9333-6559-47a6-b8de-c7d732c1ddf3/files/ffffaaaa-5555-bbbb-6666-cccc7777dddd",
228228
"name": "contenturl_1.json",
229229
"kind": "Transcription",
230230
"properties": {
@@ -236,7 +236,7 @@ You should receive a response body in the following format:
236236
}
237237
},
238238
{
239-
"self": "https://eastus.api.cognitive.microsoft.com/speechtotext/v3.2/transcriptions/637d9333-6559-47a6-b8de-c7d732c1ddf3/files/faea9a41-c95c-4d91-96ff-e39225def642",
239+
"self": "https://eastus.api.cognitive.microsoft.com/speechtotext/v3.2/transcriptions/637d9333-6559-47a6-b8de-c7d732c1ddf3/files/aaaabbbb-6666-cccc-7777-dddd8888eeee",
240240
"name": "report.json",
241241
"kind": "TranscriptionReport",
242242
"properties": {

articles/ai-services/speech-service/bring-your-own-storage-speech-resource-speech-to-text.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Speech service uses `customspeech-artifacts` Blob container in the BYOS-associat
7474
For maximum security use the `sasValidityInSeconds` parameter with the value set to `0` in the requests, that return data file URLs, like [Get Transcription Files](/rest/api/speechtotext/transcriptions/list-files) request. Here's an example request URL:
7575

7676
```https
77-
https://eastus.api.cognitive.microsoft.com/speechtotext/v3.1/transcriptions/3b24ca19-2eb1-4a2a-b964-35d89eca486b/files?sasValidityInSeconds=0
77+
https://eastus.api.cognitive.microsoft.com/speechtotext/v3.1/transcriptions/aaaabbbb-0000-cccc-1111-dddd2222eeee/files?sasValidityInSeconds=0
7878
```
7979

8080
Such a request returns direct Storage Account URLs to data files (without SAS or other additions). For example:
@@ -147,7 +147,7 @@ The Blob container structure is provided for your information only and subject t
147147
For maximum security use the `sasValidityInSeconds` parameter with the value set to `0` in the requests, that return data file URLs, like [Get Dataset Files](/rest/api/speechtotext/datasets/list-files) request. Here's an example request URL:
148148

149149
```https
150-
https://eastus.api.cognitive.microsoft.com/speechtotext/v3.1/datasets/8427b92a-cb50-4cda-bf04-964ea1b1781b/files?sasValidityInSeconds=0
150+
https://eastus.api.cognitive.microsoft.com/speechtotext/v3.1/datasets/bbbbcccc-1111-dddd-2222-eeee3333ffff/files?sasValidityInSeconds=0
151151
```
152152

153153
Such a request returns direct Storage Account URLs to data files (without SAS or other additions). For example:

0 commit comments

Comments
 (0)