Errors
Errors occur when your Action can’t move forward because it 1) didn’t understand the user’s input, or 2) didn’t get input. Since this can happen at any time, your Action needs to have unique error handling for each turn in the conversation to help the user get back on track.
Guidelines
How your Action responds to errors can make or break the user experience. When users are unable to complete their tasks, they’re unlikely to talk to your Action in the future. One poorly handled error can outweigh dozens of successful interactions. But with good error handling, the user won’t even know an error occurred.
Keep in mind the following considerations:
Cooperation
Transparency
Context-specific
There are 3 types of errors:
Errors in human-to-human conversations | Errors in human-to-computer conversations | ||
---|---|---|---|
Imagine you’re talking to someone and... |
...they don’t respond to you. |
No Input |
The Action hasn’t heard the user’s response, or the user hasn’t responded by the time the microphone closes. |
...they say something that confuses you. |
No Match |
The Action can't understand or interpret the user's response in context. |
|
...they ask you to do something you can’t do. |
System error |
The systems that the Action depends on for information can’t complete the task. |
No Match
Why No Matches happen
A No Match error occurs when the Action can't understand or interpret the user's response in context.
Here are a few possible causes of No Match errors.
1st level No Match (rapid reprompt)
Quickly and concisely collect the information again or in another way. The user was trying to engage, so they probably just need another chance. Do not repeat the original prompt verbatim since it will sound robotic.
Rapid reprompts typically combine an apology with a condensed repetition of the original question.
Do.
Don't.
Do.
Don't.
Do.
Do.
2nd level No Match (escalating detail)
Do.
Don't.
Do.
Don't.
Max No Match
Do.
Don't.
Do.
Don't.
No Input
Why No Inputs happen
The Action hasn’t detected a response from the user, because the user:
- hasn’t said anything while the microphone was open
- hasn't spoken loud enough
1st level No Input
Do.
Don't.
Do.
Do.
Do.
2nd level No Input
Do.
Max No Input
Do.
Error counters
Users should experience no more than 3 No Input or No Match errors in a row, after which your Action should play the appropriate max error prompt and exit the conversation.
Good error handling is context-specific. Even though you’re asking for the same information, the conversational context is different on the second or third attempt. In order to play the right error prompt for the context, you’ll need to keep track of how many, and what type of, errors have occurred.
Follow this flowchart to determine which error prompt to play. Note that every time you open the mic, there’s the potential for a No Input or No Match error to occur.
System errors
- System failure (the system is unresponsive or returns a general error—e.g., the light will not turn on, the database is unavailable)
- Invalid request (e.g. the user tried to make an appointment in the past)
Do.
Do.