You can enable voice interaction with your virtual assistant, i.e., users can talk to the virtual assistant. For this, you need to enable one of the voice channels like IVR, Twilio, IVR-AudioCodes,SmartAssist Gateway, etc and publish the VA on those channels.
There are some Voice Properties you can configure to streamline the user experience across the above-mentioned channels. These configurations can be done at multiple levels:
- VA level – at the time of channel enablement;
- Component level – once you enable the voice properties at the VA level, then you can define the behavior for various components like:
- Entity Node
- Message Node
- Confirmation Node
- Standard Responses
- Welcome Message
IVR Properties are accessible by going to a Dialog Task, selecting an Entity, Message or Confirmation Node, then by accessing the IVR Properties section.
This document details the voice call properties and how they vary across various channels.
Channel Settings
Field | Description | Applicable to Channel |
---|---|---|
IVR Data Extraction Key | Specify the syntax to extract the filled data
For Entity and Confirmation nodes, you can define the extraction rule overriding the channel level setting. This is particularly helpful with ASR engines that provide transcription results in a different format based on the input type. For example, VXML can contain the word format of the credit card in one key and the number format in another key |
IVR |
End of Conversation Behavior | This property can be used to define the VA behavior at the end of the conversation. The options are:
Note: Selecting the Terminate call option under IVR Channel – Voice Call Properties – End of Task Behavior no longer turns off the End of Task event at the bot level. |
IVR, Twilio, IVR-AudioCodes, SmartAssist Gateway |
Call Termination Handler | Select the name of the Dialog task that you want to use as the call termination handler when the call ends in error. | IVR, Twilio, IVR-AudioCodes, SmartAssist Gateway |
Call Control Parameters | Click Add Parameter. Enter property names and values to use in defining the call behavior.
Note: You should use these properties and values in the VXML files for all call flows in the IVR system and Session Parameters in AudioCodes channel.
|
IVR, IVR-AudioCodes |
ASR Confidence Threshold | ||
Threshold Key | This is the variable where the ASR confidence levels are stored. This field is pre-populated, do not change it unless you are aware of the internal working of VXML. | IVR |
Define ASR threshold confidence | In the range between 0 to 1.0 which defines when the IVR system hands over the control to the VA. | IVR |
Timeout Prompt | Enter the default prompt text to play when the user doesn’t provide the input within the timeout period. If you do not specify a Timeout Prompt for any node, this prompt takes its place. | IVR, Twilio, IVR-AudioCodes, SmartAssist Gateway |
Grammar | Define the grammar that should be used to detect user’s utterance
See below for a detailed configuration for Grammar syntax. |
IVR |
No Match Prompt | Enter the default prompt text to play when user input is not present in the defined grammar. If you do not specify a No Match Prompt for any node, this prompt takes its place. | IVR |
Barge-In | Select whether you want to allow a user input while a prompt is in progress. If you select no, the user cannot provide input until IVR completes the prompt. | IVR, Twilio, IVR-AudioCodes, SmartAssist Gateway |
Timeout | Select the maximum wait time to receive user input from the drop-down list, from 1 second up to 60 seconds. | IVR, Twilio, IVR-AudioCodes, SmartAssist Gateway |
No. of Retries | Select the maximum number of retries to allow. You can select from just 1 retry up to 10 retries. | IVR, Twilio, IVR-AudioCodes |
Log | Select Yes if you want to send the chat log to the IVR system. | IVR |
Dialog Node Settings
On the Voice Call Properties panel for a node, you can enter node-specific prompts, grammar, as well as parameters for call-flow behavior such as time-out and retries.
Voice Call Properties apply only for the following nodes and message types:
- Entity Node
- Message Node
- Confirmation Node
- Standard Responses
- Welcome Message
Voice Call Settings Field Reference
The following sections provide detailed descriptions of each IVR setting, including descriptions, applicability to nodes, default values, and other key information.
Notes on Prompts:
- You can enter prompts in one of these formats: Plain text, Script, File location of an audio file. If you want to define JavaScript or attach an audio file, click the icon before the prompt text message box and select a mode. By default, it is set to Text mode.
- You can enter more than one prompt message of different types. You can define their order of sequence by dragging and dropping them.
- Multiple prompts are useful in scenarios where the prompt has to be played more than once, to avoid repetition, since the prompts are played in order.
Field | Description | Applicable to Nodes |
Applicable to Channel |
---|---|---|---|
Initial Prompts | Prompts that are played when the IVR first executes the node. If you do not enter a prompt for a node, the default user prompt for the node plays by default. If you do not enter a prompt for Standard Responses and Welcome Message, the default Standard Response and Welcome Message are played by default. | Entity, Confirmation, Message nodes; Standard Responses and Welcome Message |
IVR, Twilio, AudioCodes, SmartAssist Gateway |
Timeout Prompts | Prompts that are played on the IVR channel when the user has not given any input within the specified time. If you do not enter a prompt for a node, the default Error Prompt of the node is played. Standard Responses and Welcomes have a default Timeout Prompt that plays if you don’t define No Match Prompts.
You can Customize Retries Behavior for the Timeout Prompts and define the number of retries to configure the number of times the user would be prompted for this entity value by setting the number of Allowed Retries to any value between 1 and 10. The default is 3. Further, you can define the VA’s Behavior on Exceeding Retries; this can be set to trigger Invoke Call Termination Handler, Initiate Dialog Task, or Jump to specific node in current task. When you select Initiate Dialog or Jump to a specific node in the current task option, you are prompted to select the dialog task or task within the node. Note: The Customize Retries Behavior function is supported only for the IVR channel at the Entity, Confirmation, and Message nodes. |
Entity, Confirmation; Standard Responses and Welcome Message |
IVR, Twilio, AudioCodes, SmartAssist Gateway |
No Match Prompts | Prompts that are played on the IVR channel when the user’s input has not matched any value in the defined grammar. If you do not enter a prompt here or select No Grammar option for an Entity or Confirmation node, the default Error Prompt of the node is played. Standard Responses and Welcomes have a default No Match Prompt that plays if you do not enter it.
You can Customize Retries Behavior for the No Match Prompts and define the number of retries to configure the number of times the user would be prompted for this entity value by setting the number of Allowed Retries to any value between 1 and 10. The default is 3. Further, you can define the VA’s Behavior on Exceeding Retries; this can be set to trigger Invoke Call Termination Handler, Initiate Dialog Task, or Jump to specific node in current task. When you select Initiate Dialog or Jump to a specific node in the current task option, you are prompted to select the dialog task or task within the node. Note: The Customize Retries Behavior function is supported only for the IVR channel at the Entity, Confirmation, and Message nodes. |
Entity, Confirmation; Standard Responses and Welcome Message |
IVR |
Error Prompts | Prompts that are played on the IVR channel when user input is an invalid Entity type. If you do not enter a prompt here, the default Error Prompt of the node is played.
You can Customize Retries Behavior for the Error Prompts and define the number of retries to configure the number of times the user would be prompted for this entity value by setting the number of Allowed Retries to any value between 1 and 10. The default is 3. Further, you can define the VA’s Behavior on Exceeding Retries, this can be set to trigger Invoke Call Termination Handler, Initiate Dialog Task, or Jump to specific node in current task. When you select Initiate Dialog or Jump to a specific node in the current task option, you are prompted to select the dialog task or task within the node. Note: The Customize Retries Behavior function is supported only for the IVR channel at the Entity, Confirmation, and Message nodes.. |
Entity, Confirmation; |
IVR, Twilio, AudioCodes, SmartAssist Gateway |
Grammar | Define the grammar that should be used to detect a user’s utterance
See below for a detailed configuration for Grammar syntax. |
Confirmation; Standard Responses and Welcome Message |
IVR, Twilio |
Advanced Controls | |||
These properties override the properties set in the VA IVR Settings page and apply to the Dialog Task that you are currently working with. | |||
Timeout | Select the maximum wait time to receive user input from the drop-down list, from 1 second up to 60 seconds. The default value is the same as defined in the VA IVR Settings page. | N/A | IVR, Twilio, AudioCodes, SmartAssist Gateway |
No. of Retries | Select the maximum number of retries to allow. You can select from just 1 retry up to 10 retries. The default value is the same as defined in the VA IVR Settings page. |
N/A | IVR, Twilio, AudioCodes, SmartAssist Gateway |
Behavior on Exceeding Retries | Define behavior when either the timeout or number of retry attempts exceed the specified limit.
You can Customize Retries Behavior for the standard number of retries to configure the number of times the user would be prompted for this entity value by setting the number of Allowed Retries to any value between 1 and 10. The default is 3. Further, you can define the VA’s Behavior on Exceeding Retries, this can be set to trigger Invoke Call Termination Handler, Initiate Dialog Task, or Jump to specific node in current task. When you select Initiate Dialog or Jump to a specific node in the current task option, you are prompted to select the dialog task or task within the node. Note: The Customize Retries Behavior function is supported only for the IVR channel at the Entity, Confirmation, and Message nodes. |
N/A | IVR, Twilio, AudioCodes, SmartAssist Gateway |
Barge-In | Select whether you want to allow a user input while a prompt is in progress. If you select no, the user input is not considered until the prompt is completed. The default value is No. | N/A | IVR, Twilio, AudioCodes, SmartAssist Gateway |
Call Control Parameters | Click Add Property. Enter property names and values to use in defining the VXML definition in the IVR system and Session Parameters in AudioCodes channel. These values defined for a node or a standard response override the global Call Control Parameters defined in the VA IVR /AudioCodes settings page. | N/A | IVR, AudioCodes, SmartAssist Gateway |
Log | Select Yes if you want to send the chat log to the IVR system. The default value is No. | N/A | IVR |
Locale Definition | Enable the Locale Definition property to define the (xml:lang = “<value>”) attribute in the VXML file by enabling the Locale Definition property. Automatic Speech Recognition engines use the language attribute to enhance speech recognition.
Once the property is enabled, you can see one or more language codes corresponding to the bot languages. Enter the locale code for a specific bot language in the Locale Value field. For example, enter ‘US‘ or ‘UK‘ as the Locale Value for the English (EN) bot language. Note: By default, the Locale Definition property is disabled for all virtual assistants. |
N/A | IVR |
Document Type Definitions | The Document Type Definition (DTD) typically refers to a specific syntax used to define the structure and constraints of a Voice Extensible Markup Language (VXML) document. The DTD settings help the VXML to understand the response.
You can use the Default DTD settings defined in the Status, Public ID, and System ID fields for the VXML. If you want to modify settings, click Customize to change the values. Note: If the Status field is set to Include, you can enter the Public and System ID. If it is set to Exclude, you cannot view those fields. |
N/A | IVR |
Fallback Redirection | A Fallback Redirection is an alternative path that the IVR system uses to handoff the conversation whenever the call hangs up
You can add an URL to redirect the conversation whenever the call hangs up. By default, the Fallback Redirection is disabled. If you want to enable the Fallback Redirection, click Customize. Note: The Fallback Redirection is supported by both standard and universal bots. |
N/A | IVR |
Propagate Values to Link Bots | Enable this option to propagate the Voice Call Properties from the Universal Bot to all its linked bots. It helps you to leverage the UB properties when a linked bot’s execution is in progress. The Voice Call Properties of the linked bot are used when the conversation is happening directly with the bot as a Standard bot. By default this option is disabled. |
N/A | IVR |
Recording | Define the state of recording to be initiated. The default value is Stop. | N/A | IVR |
Below is a demo of the IVR Properties section, within the Component Properties panel of a Dialog Task node.
Configuring Grammar
You will need to define at least one Speech Grammar to the IVR system.
There is no default Grammar that will be considered by the system. In this section, we will walk you through the steps needed to configure a Grammar system for the VA to function on the IVR system.
Typically for an IVR-enabled VA, the speech utterance of the user will be vetted and parsed by the Grammar syntax at the IVR system before being diverted to the VA.
Kore.ai supports the following Grammar systems:
- Nuance
- Voximal
- UniMRCP
Each one requires its own configuration.
Nuance
In case you want to use grammar syntax rules from Nuance Speech Recognition System, you need to get a license for the same. Once you register and obtain a license from Nuance, you will be given access to two files – dlm.zip & nle.zip. Ensure that the path to this VXML is accessible to the VA.
Configurations:
- Set Enable Transcription to no
- In the Grammar section:
- Select the Speech or DTMF option as per your requirement.
- In the text box to define vxml enter the vxml path to dlm.zip file. The url will be of the format:
http://nuance.kore.ai/downloads/kore_dlm.zip?nlptype=krypton&dlm_weight=0.2&lang=en-US
- Replace the above path according to your setup
- The language code “lang=en-US” will be based on your setup
- Add Grammar to add another path to
nle.zip
. Follow the above-mentioned steps. - Save the settings.
Voximal/UniMRCP
In case you want to use grammar syntax rules from Voximal or UniMRCP, you need to specify the transcription source.
Configurations:
- Set Enable Transcription to yes
- In the Transcription engine source text box that appears:
- for Voximal, enter “builtin:grammar/text”
- for UniMRCP, enter “builtin:grammar/transcribe”
- You can leave the Grammar section blank, the above transcription source URL will handle the syntax and grammar vetting of the speech.
- Save the settings.