You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Custom Commands automatically encrypts your data when it is persisted to the cloud. The Custom Commands service encryption protects your data and to help you to meet your organizational security and compliance commitments.
Applications such as [Voice assistants](voice-assistants.md) listen to users and take an action in response, often speaking back. They use [speech-to-text](speech-to-text.md) to transcribe the user's speech, then take action on the natural language understanding of the text. This action frequently includes spoken output from the assistant generated with [text-to-speech](text-to-speech.md). Devices connect to assistants with the Speech SDK's `DialogServiceConnector` object.
19
21
20
-
**Custom Commands** makes it easy to build rich voice commanding apps optimized for voice-first interaction experiences. It provides a unified authoring experience, an automatic hosting model, and relatively lower complexity, helping you focus on building the best solution for your voice commanding scenarios.
22
+
Custom Commands makes it easy to build rich voice commanding apps optimized for voice-first interaction experiences. It provides a unified authoring experience, an automatic hosting model, and relatively lower complexity, helping you focus on building the best solution for your voice commanding scenarios.
21
23
22
-
Custom Commands is best suited for task completion or command-and-control scenarios, and well matched for Internet of Things (IoT) devices, ambient and headless devices. Examples include solutions for Hospitality, Retail and Automotive industries, where you want voice-controlled experiences for your guests, in-store inventory management or in-car functionality.
24
+
Custom Commands is best suited for task completion or command-and-control scenarios such as "Turn on the overhead light" or "Make it 5 degrees warmer". Custom Commands is well suited for Internet of Things (IoT) devices, ambient and headless devices. Examples include solutions for Hospitality, Retail and Automotive industries, where you want voice-controlled experiences for your guests, in-store inventory management or in-car functionality.
23
25
24
26
If you're interested in building complex conversational apps, you're encouraged to try the Bot Framework using the [Virtual Assistant Solution](/azure/bot-service/bot-builder-enterprise-template-overview). You can add voice to any bot framework bot using Direct Line Speech.
25
27
@@ -46,5 +48,5 @@ Once you're done with the quickstart, explore our how-to guides for detailed ste
46
48
## Next steps
47
49
48
50
*[View our Voice Assistants repo on GitHub for samples](https://aka.ms/speech/cc-samples)
49
-
*[Go to the Speech Studio to try out Custom Commands](https://speech.microsoft.com/customcommands)
51
+
*[Go to the Speech Studio to try out Custom Commands](https://aka.ms/speechstudio/customcommands)
This article describes how to debug when you see errors while running Custom Commands application.
19
21
20
22
## Connection failed
@@ -27,18 +29,18 @@ If your run Custom Commands application from [client application (with Speech SD
27
29
|[1002](#error-1002)| The server returned status code '404' when status code '101' was expected. |
28
30
29
31
### Error 401
30
-
- The region specified in client application does not match with the region of the custom command application
32
+
- The region specified in client application doesn't match with the region of the custom command application
31
33
32
34
- Speech resource Key is invalid
33
35
34
36
Make sure your speech resource key is correct.
35
37
36
38
### Error 1002
37
-
- Your custom command application is not published
39
+
- Your custom command application isn't published
38
40
39
41
Publish your application in the portal.
40
42
41
-
- Your custom command applicationId is not valid
43
+
- Your custom command applicationId isn't valid
42
44
43
45
Make sure your custom command application ID is correct.
44
46
custom command application outside your speech resource
@@ -50,15 +52,15 @@ For more information on troubleshooting the connection issues, reference [Window
50
52
51
53
## Dialog is canceled
52
54
53
-
When running your Custom Commands application, the dialog would be canceled when some errors occur.
55
+
When your Custom Commands application is running, the dialog would be canceled when some errors occur.
54
56
55
-
- If you are testing the application in the portal, it would directly display the cancellation description and play out an error earcon.
57
+
- If you're testing the application in the portal, it would directly display the cancellation description and play out an error earcon.
56
58
57
-
- If you are running the application with [Windows Voice Assistant Client](./how-to-custom-commands-developer-flow-test.md), it would play out an error earcon. You can find the **Event: CancelledDialog** under the **Activity Logs**.
59
+
- If you're running the application with [Windows Voice Assistant Client](./how-to-custom-commands-developer-flow-test.md), it would play out an error earcon. You can find the **Event: CancelledDialog** under the **Activity Logs**.
58
60
59
-
- If you are following our client application example [client application (with Speech SDK)](./how-to-custom-commands-setup-speech-sdk.md), it would play out an error earcon. You can find the **Event: CancelledDialog** under the **Status**.
61
+
- If you're following our client application example [client application (with Speech SDK)](./how-to-custom-commands-setup-speech-sdk.md), it would play out an error earcon. You can find the **Event: CancelledDialog** under the **Status**.
60
62
61
-
- If you are building your own client application, you can always design your desired logics to handle the CancelledDialog events.
63
+
- If you're building your own client application, you can always design your desired logics to handle the CancelledDialog events.
62
64
63
65
The CancelledDialog event consists of cancellation code and description, as listed below:
64
66
@@ -67,22 +69,22 @@ The CancelledDialog event consists of cancellation code and description, as list
67
69
|[MaxTurnThresholdReached](#no-progress-was-made-after-the-max-number-of-turns-allowed)| No progress was made after the max number of turns allowed |
|[RecognizerConnectionFailed](#connection-to-the-recognizer-failed)| Connection to the recognizer failed |
70
-
|[RecognizerUnauthorized](#this-application-cannot-be-accessed-with-the-current-subscription)| This application cannot be accessed with the current subscription |
72
+
|[RecognizerUnauthorized](#this-application-cant-be-accessed-with-the-current-subscription)| This application can't be accessed with the current subscription |
71
73
|[RecognizerInputExceededAllowedLength](#input-exceeds-the-maximum-supported-length)| Input exceeds the maximum supported length for the recognizer |
72
74
|[RecognizerNotFound](#recognizer-not-found)| Recognizer not found |
73
75
|[RecognizerInvalidQuery](#invalid-query-for-the-recognizer)| Invalid query for the recognizer |
74
76
|[RecognizerError](#recognizer-return-an-error)| Recognizer returns an error |
75
77
76
78
### No progress was made after the max number of turns allowed
77
-
The dialog is canceled when a required slot is not successfully updated after certain number of turns. The build-in max number is 3.
79
+
The dialog is canceled when a required slot isn't successfully updated after certain number of turns. The build-in max number is 3.
78
80
79
81
### Recognizer usage quota exceeded
80
82
Language Understanding (LUIS) has limits on resource usage. Usually "Recognizer usage quota exceeded error" can be caused by:
81
83
- Your LUIS authoring exceeds the limit
82
84
83
85
Add a prediction resource to your Custom Commands application:
84
86
1. go to **Settings**, LUIS resource
85
-
1. Choose a prediction resource from **Prediction resource**, or click**Create new resource**
87
+
1. Choose a prediction resource from **Prediction resource**, or select**Create new resource**
86
88
87
89
- Your LUIS prediction resource exceeds the limit
88
90
@@ -93,8 +95,8 @@ For more details on LUIS resource limits, refer [Language Understanding resource
93
95
### Connection to the recognizer failed
94
96
Usually it means transient connection failure to Language Understanding (LUIS) recognizer. Try it again and the issue should be resolved.
95
97
96
-
### This application cannot be accessed with the current subscription
97
-
Your subscription is not authorized to access the LUIS application.
98
+
### This application can't be accessed with the current subscription
99
+
Your subscription isn't authorized to access the LUIS application.
98
100
99
101
### Input exceeds the maximum supported length
100
102
Your input has exceeded 500 characters. We only allow at most 500 characters for input utterance.
@@ -106,15 +108,15 @@ Your input has exceeded 500 characters. We only allow at most 500 characters for
106
108
The LUIS recognizer returned an error when trying to recognize your input.
107
109
108
110
### Recognizer not found
109
-
Cannot find the recognizer type specified in your custom commands dialog model. Currently, we only support [Language Understanding (LUIS) Recognizer](https://www.luis.ai/).
111
+
Can't find the recognizer type specified in your custom commands dialog model. Currently, we only support [Language Understanding (LUIS) Recognizer](https://www.luis.ai/).
110
112
111
113
## Other common errors
112
114
### Unexpected response
113
115
Unexpected responses may be caused multiple things.
114
116
A few checks to start with:
115
117
- Yes/No Intents in example sentences
116
118
117
-
As we currently don't support Yes/No Intents except when using with confirmation feature. All the Yes/No Intents defined in example sentences would not be detected.
119
+
As we currently don't support Yes/No Intents except when using with confirmation feature. All the Yes/No Intents defined in example sentences wouldn't be detected.
118
120
119
121
- Similar intents and examples sentences among commands
In this article, you learn how to set up continuous deployment for your Custom Commands applications. The scripts to support the CI/CD workflow are provided to you.
In this article, you learn how to make requests to a published Custom Commands application from the Speech SDK running in an UWP application. In order to establish a connection to the Custom Commands application, you need:
20
22
21
23
- Publish a Custom Commands application and get an application identifier (App ID)
0 commit comments