Configure the Intent OCP miniApps®
Welcome Prompts tab
The welcome prompts are the initial prompts responsible for establishing the interaction with the system, thus providing a more natural feel.
OCP miniApps® allow you to fully configure three custom initial prompts depending on the error level of the initial system prompt:
Prompt 1: Initial System Prompt that handles the initial prompt to be played to the caller
Prompt 2: Rephrase after 1st error (No Response, No Interpretation), it handles cases where you want to re-prompt to the caller, for example, if there was a
No Responseor a
Prompt 3: Rephrase after 2nd error (No Response, No Interpretation), it handles cases where you want to re-prompt for a second time to the caller, for example, if there was a
No Responseor a
Sometimes, when prompted for input, a caller may first greet the application instead of giving the input directly. For these cases, it is possible to configure a Greeting Reaction, which will trigger in conjunction with the initial prompt resulting in a more human-like experience.
To set up a greeting reaction, proceed as follows:
Navigate to the Initial Prompt section.
Click Greeting Reaction. The pop-up window opens.
Insert the greeting text into the input field.
Click OK to save changes.
If you want to activate barge-in for each step, use the toggle on the right side of each initial prompt:
Currently the barge-in option works for the whole action, not for each individual prompt. This will be supported in a later version of the OCP miniApps®.
You can also adjust the ASR timeout range slider to specify how long the system waits to trigger a
Start Over Prompts
Can only be triggered with the help of a Flow application, so should not be used in standalone miniApps.
This functionality allows you to specify Start Over prompts that will be used after the user requests to start over. For instance, the following conversation may take place:
System: How may I help you?
User: I want to get information about my account.
If for some reason the system takes the wrong path here, the user might be inclined to interrupt with something like “no no, can we please restart”. In that case, in your Flow you can specify that upon hearing the word “restart”, the system will enter this miniApp with the specific Start Over prompt, like “Let’s take it from the top. How can I help you?” as in the screenshot below.
If you decide to use this functionality, you can additionally inform the user about which words will trigger the Start Over functionality by making the following announcement:
“Welcome to our service. At any point you can say 'start from the beginning' to take it from the top.”
After you configure the prompts, click Save Changes.
New Task Prompts
In case the caller responds positively to a question such as "Is there anything else I can help you with?", New Task Prompts will continue the conversation based on the defined prompts.
System: Is there anything else I can help you with?
System: How may I help you?
To enable the DTMF response, use the DTMF Response toggle. When enabled, you can choose which button will be used as a DTMF response to transfer a call to an agent:
You can also select the option Any Key, which will allow the caller to use any key for DTMF. If this option is turned on, all the other options for picking a key will be hidden.
If DTMF Response is enabled, you can also edit the DTMF Response prompts.
Conditional Rephrase will rephrase the initial question based on a specific condition, if no Intent is triggered. This will make the dialog more conversational and will motivate the caller to provide more information to trigger an Intent.
To set a conditional rephrase, select a category from the drop-down menu and a relevant value, as shown below:
You can add several conditional rephrases for various scenarios, and each one can contain various conditions for the same prompt.
Reask Prompts tab
Here you can set and edit re-ask prompts.
Manage Intents tab
In the Manage Intents tab, you can perform various actions on intents, like browsing intents, creating intent groups, and setting disambiguation intents.
In this tab you can browse through the intents associated with the selected Intent miniApps, see the different sample utterances and understand what this Intent covers so you can later use it:
To create an Intent Group
To create a Disambiguation for this Intent
To create a specific announcement for this Intent
To export the announcements in TSV file.
In this tab you can group intents together and:
Use Intent Groups into Conditions for Announcements
Get the Intent Group Name back as a result on the CCaaS side (this is not applicable for the standalone version)
Some intents may be too general for your domain. If you want to disambiguate it further with a question, in this tab you can set which intents are considered ambiguous, and decide the verbiage to use. So, when the system understands an intent assigned as needing disambiguation, then another custom question will be asked that could help for another intent to be invoked.
For example, we set Inquire.Examination as an ambiguous intent to get more info from the caller to go to one of the following intents.
If an Intent is used both in Disambiguations and in Announcements, the announcement will prevail, unless the Intent condition in Announcements uses the * operator.
Natural Language Understanding
In this tab you can use the OCP ML-NLU Service to create a custom NLU model/application from your own set of utterances-intents, or to add intents in an existing model. To do so, select the Train/View NLU models button.
In the Announcements tab you can set as many announcements as you want and link them to one or more intents from the Conditions tab. You can also choose additional entities in your conditions if you want to make the announcement more specific.
Announcement order matters. If two announcement conditions match, the top one will be selected.
Make sure you put 'failover' announcements using the 'Any(*)' operator to the bottom.
Add a second condition.
Adding a second condition allows entering an entity from the list of entities or even adding a custom entity.
To add a second condition:
Click the +Add Condition button.
Select an entity from the list or create a custom entity.
Select the condition values for this entity.
To add a custom entity follow the steps:
Select the +add custom entity at the bottom of the entities list.
Enter a name for the custom entity
Click save to add it to the list
Select the newly added custom entity from the list of entities.
It is possible to disable an announcement by using the Intent enable/disable toggle.
Once disabled, the announcement will be grayed out, as shown below, and it won’t be used on runtime.
In the Dialog Evolution tab you can check how the dialog unfolds and decide the next step (Reask Intent, End Call or Transfer Call). Keep in mind that the Manage re-ask prompts button is just a shortcut to the main Reask tab.
It is not possible to delete a re-ask prompt if it is being used in an announcement. Make sure that no announcement is using the re-ask prompt you want to delete.
To browse the set intents and sample utterances, select the Browse Intents button.
In the Browse Intents pop-up window, you can view the set intents and the respective sample utterances.
Comma separated values is an 'OR' operator and new lines are an 'AND' operator.
To export the intents and sample utterances, select the Export examples to TSV button.
In the Nice Reactions window you can optionally set nice reactions. Whenever the application identifies an intent that is not ambiguous, then it throws a nice reaction before the announcement randomly (according to weight) to make the dialog sound more conversational.
In the Goodbye Message window, you can optionally set goodbye messages.
To export the announcements in a .tsv file, select the Export Announcements button.
To import announcements from a .tsv file, select the Import Announcements button.
Then, browse for the .tsv file and select the Import Announcements button.
Agent Handling tab
To see the details on how to configure the Agent Handling tab, check out this article.
Error Handling tab
To see the details on how to configure the Error Handling tab, check out this article.
To see details about the Chat tab, check out this article.
To see details about the DTMF tab, check out this article.
User Functions Tab
To see details about the User Functions tab, check out this article.
Manage Languages tab
To see the details on how to configure the Manage Languages tab, check out this article.