Skip to content

Commit 125d995

Browse files
authored
Merge pull request #82774 from Emma-ms/patch-2
Remove the sample get-device.json short link
2 parents 80c1f4f + 47a3f3d commit 125d995

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

articles/cognitive-services/Speech-Service/how-to-develop-custom-commands-application.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -352,16 +352,15 @@ The Custom Commands feature allows you to configure string-type parameters to re
352352
353353
Reuse the `SubjectDevice` parameter from the `TurnOnOff` command. The current configuration for this parameter is **Accept predefined inputs from internal catalog**. This configuration refers to a static list of devices in the parameter configuration. Move out this content to an external data source that can be updated independently.
354354
355-
To move the content, start by adding a new web endpoint. In the pane on the left, go to the **Web endpoints** section. There, add a new web endpoint. Use the following configuration.
355+
To move the content, start by adding a new web endpoint. In the pane on the left, go to the **Web endpoints** section. There, add a new web endpoint URL. Use the following configuration.
356356
357357
| Setting | Suggested value |
358358
|----|----|
359359
| **Name** | `getDevices` |
360-
| **URL** | `https://aka.ms/speech/cc-sampledevices` |
360+
| **URL** | `<Your endpoint of getDevices.json>` |
361361
| **Method** | **GET** |
362362
363-
364-
If the suggested value for the URL doesn't work for you, configure and host a web endpoint that returns a JSON file that consists of the list of the devices that can be controlled. The web endpoint should return a JSON file formatted as follows:
363+
Then, configure and host a web endpoint that returns a JSON file that lists the devices that can be controlled. The web endpoint should return a JSON file that's formatted like this example:
365364
366365
```json
367366
{

0 commit comments

Comments
 (0)