Skip to content

Commit 3233350

Browse files
committed
cli try it interactive
1 parent 50ee2e9 commit 3233350

8 files changed

+26
-26
lines changed

articles/cognitive-services/Speech-Service/how-to-custom-speech-create-project.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ To create a project, use the `spx csr project create` command. Construct the req
4141

4242
Here's an example Speech CLI command that creates a project:
4343

44-
```azurecli
44+
```azurecli-interactive
4545
spx csr project create --name "My Project" --description "My Project Description" --language "en-US"
4646
```
4747

@@ -75,7 +75,7 @@ The top-level `self` property in the response body is the project's URI. Use thi
7575

7676
For Speech CLI help with projects, run the following command:
7777

78-
```azurecli
78+
```azurecli-interactive
7979
spx help csr project
8080
```
8181

articles/cognitive-services/Speech-Service/how-to-custom-speech-deploy-model.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ To create an endpoint and deploy a model, use the `spx csr endpoint create` comm
6666

6767
Here's an example Speech CLI command to create an endpoint and deploy a model:
6868

69-
```azurecli
69+
```azurecli-interactive
7070
spx csr endpoint create --project YourProjectId --model YourModelId --name "My Endpoint" --description "My Endpoint Description" --language "en-US"
7171
```
7272

@@ -106,7 +106,7 @@ The top-level `self` property in the response body is the endpoint's URI. Use th
106106

107107
For Speech CLI help with endpoints, run the following command:
108108

109-
```azurecli
109+
```azurecli-interactive
110110
spx help csr endpoint
111111
```
112112

@@ -202,7 +202,7 @@ To redeploy the custom endpoint with a new model, use the `spx csr model update`
202202

203203
Here's an example Speech CLI command that redeploys the custom endpoint with a new model:
204204

205-
```azurecli
205+
```azurecli-interactive
206206
spx csr endpoint update --endpoint YourEndpointId --model YourModelId
207207
```
208208

@@ -240,7 +240,7 @@ You should receive a response body in the following format:
240240

241241
For Speech CLI help with endpoints, run the following command:
242242

243-
```azurecli
243+
```azurecli-interactive
244244
spx help csr endpoint
245245
```
246246

@@ -321,7 +321,7 @@ To gets logs for an endpoint, use the `spx csr endpoint list` command. Construct
321321

322322
Here's an example Speech CLI command that gets logs for an endpoint:
323323

324-
```azurecli
324+
```azurecli-interactive
325325
spx csr endpoint list --endpoint YourEndpointId
326326
```
327327

articles/cognitive-services/Speech-Service/how-to-custom-speech-evaluate-data.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ To create a test, use the `spx csr evaluation create` command. Construct the req
5959

6060
Here's an example Speech CLI command that creates a test:
6161

62-
```azurecli
62+
```azurecli-interactive
6363
spx csr evaluation create --project 9f8c4cbb-f9a5-4ec1-8bb0-53cfa9221226 --dataset be378d9d-a9d7-4d4a-820a-e0432e8678c7 --model1 ff43e922-e3e6-4bf0-8473-55c08fd68048 --model2 1aae1070-7972-47e9-a977-87e3b05c457d --name "My Evaluation" --description "My Evaluation Description"
6464
```
6565

@@ -120,7 +120,7 @@ The top-level `self` property in the response body is the evaluation's URI. Use
120120

121121
For Speech CLI help with evaluations, run the following command:
122122

123-
```azurecli
123+
```azurecli-interactive
124124
spx help csr evaluation
125125
```
126126

@@ -248,7 +248,7 @@ To get test results, use the `spx csr evaluation status` command. Construct the
248248

249249
Here's an example Speech CLI command that gets test results:
250250

251-
```azurecli
251+
```azurecli-interactive
252252
spx csr evaluation status --evaluation 8bfe6b05-f093-4ab4-be7d-180374b751ca
253253
```
254254

@@ -312,7 +312,7 @@ You should receive a response body in the following format:
312312

313313
For Speech CLI help with evaluations, run the following command:
314314

315-
```azurecli
315+
```azurecli-interactive
316316
spx help csr evaluation
317317
```
318318

articles/cognitive-services/Speech-Service/how-to-custom-speech-inspect-data.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ To create a test, use the `spx csr evaluation create` command. Construct the req
5454

5555
Here's an example Speech CLI command that creates a test:
5656

57-
```azurecli
57+
```azurecli-interactive
5858
spx csr evaluation create --project 9f8c4cbb-f9a5-4ec1-8bb0-53cfa9221226 --dataset be378d9d-a9d7-4d4a-820a-e0432e8678c7 --model1 ff43e922-e3e6-4bf0-8473-55c08fd68048 --model2 1aae1070-7972-47e9-a977-87e3b05c457d --name "My Inspection" --description "My Inspection Description"
5959
```
6060

@@ -115,7 +115,7 @@ The top-level `self` property in the response body is the evaluation's URI. Use
115115

116116
For Speech CLI help with evaluations, run the following command:
117117

118-
```azurecli
118+
```azurecli-interactive
119119
spx help csr evaluation
120120
```
121121

@@ -237,7 +237,7 @@ To get test results, use the `spx csr evaluation status` command. Construct the
237237

238238
Here's an example Speech CLI command that gets test results:
239239

240-
```azurecli
240+
```azurecli-interactive
241241
spx csr evaluation status --evaluation 8bfe6b05-f093-4ab4-be7d-180374b751ca
242242
```
243243

@@ -298,7 +298,7 @@ You should receive a response body in the following format:
298298

299299
For Speech CLI help with evaluations, run the following command:
300300

301-
```azurecli
301+
```azurecli-interactive
302302
spx help csr evaluation
303303
```
304304

articles/cognitive-services/Speech-Service/how-to-custom-speech-model-and-endpoint-lifecycle.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ To get the training and transcription expiration dates for a base model, use the
6868

6969
Here's an example Speech CLI command to get the training and transcription expiration dates for a base model:
7070

71-
```azurecli
71+
```azurecli-interactive
7272
spx csr model status --model https://eastus.api.cognitive.microsoft.com/speechtotext/v3.0/models/base/b0bbc1e0-78d5-468b-9b7c-a5a43b2bb83f
7373
```
7474

@@ -100,7 +100,7 @@ You should receive a response body in the following format:
100100

101101
For Speech CLI help with models, run the following command:
102102

103-
```azurecli
103+
```azurecli-interactive
104104
spx help csr model
105105
```
106106

@@ -176,7 +176,7 @@ To get the transcription expiration date for your custom model, use the `spx csr
176176

177177
Here's an example Speech CLI command to get the transcription expiration date for your custom model:
178178

179-
```azurecli
179+
```azurecli-interactive
180180
spx csr model status --model https://YourServiceRegion.api.cognitive.microsoft.com/speechtotext/v3.0/models/YourModelId
181181
```
182182

@@ -219,7 +219,7 @@ You should receive a response body in the following format:
219219

220220
For Speech CLI help with models, run the following command:
221221

222-
```azurecli
222+
```azurecli-interactive
223223
spx help csr model
224224
```
225225

articles/cognitive-services/Speech-Service/how-to-custom-speech-train-model.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ To create a model with datasets for training, use the `spx csr model create` com
6464

6565
Here's an example Speech CLI command that creates a model with datasets for training:
6666

67-
```azurecli
67+
```azurecli-interactive
6868
spx csr model create --project YourProjectId --name "My Model" --description "My Model Description" --dataset YourDatasetId --language "en-US"
6969
```
7070
> [!NOTE]
@@ -114,7 +114,7 @@ The top-level `self` property in the response body is the model's URI. Use this
114114

115115
For Speech CLI help with models, run the following command:
116116

117-
```azurecli
117+
```azurecli-interactive
118118
spx help csr model
119119
```
120120

@@ -300,7 +300,7 @@ To connect a model to a project, use the `spx csr model update` command. Constru
300300

301301
Here's an example Speech CLI command that connects a model to a project:
302302

303-
```azurecli
303+
```azurecli-interactive
304304
spx csr model update --model YourModelId --project YourProjectId
305305
```
306306

@@ -316,7 +316,7 @@ You should receive a response body in the following format:
316316

317317
For Speech CLI help with models, run the following command:
318318

319-
```azurecli
319+
```azurecli-interactive
320320
spx help csr model
321321
```
322322

articles/cognitive-services/Speech-Service/how-to-custom-speech-upload-data.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ To create a dataset and connect it to an existing project, use the `spx csr data
5252

5353
Here's an example Speech CLI command that creates a dataset and connects it to an existing project:
5454

55-
```azurecli
55+
```azurecli-interactive
5656
spx csr dataset create --kind "Acoustic" --name "My Acoustic Dataset" --description "My Acoustic Dataset Description" --project YourProjectId --content YourContentUrl --language "en-US"
5757
```
5858

@@ -86,7 +86,7 @@ The top-level `self` property in the response body is the dataset's URI. Use thi
8686

8787
For Speech CLI help with datasets, run the following command:
8888

89-
```azurecli
89+
```azurecli-interactive
9090
spx help csr dataset
9191
```
9292

articles/cognitive-services/Speech-Service/includes/how-to/custom-domain.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ Set the custom domain name to the selected resource. Replace the sample paramete
174174
> [!CAUTION]
175175
> After successful execution of the following command, you'll create a custom domain name for your Speech resource. Remember that this name *cannot* be changed.
176176
177-
```azurecli
177+
```azurecli-interactive
178178
az cognitiveservices account update --name my-speech-resource-name --resource-group my-resource-group-name --custom-domain my-custom-name
179179
```
180180

0 commit comments

Comments
 (0)