{"id":18055,"date":"2018-07-22T08:58:00","date_gmt":"2018-07-22T08:58:00","guid":{"rendered":"https:\/\/developer.kore.ai\/v7-2\/?post_type=docs&#038;p=14962"},"modified":"2021-03-30T08:49:31","modified_gmt":"2021-03-30T07:49:31","slug":"interruption-handling-context-switching-intents","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v7-2\/docs\/bots\/bot-intelligence\/interruption-handling-context-switching-intents\/","title":{"rendered":"Dialog Management"},"content":{"rendered":"<section class=\"l-section wpb_row height_auto\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row type_default valign_top\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<p>Human conversations are characterized by twists and turns, and no two directions are ever the same. Natural conversations often tend to go beyond linear intent resolution paths defined in the bots. Ideally, a user would allow the bot to take a user intent to its logical conclusion before initiating another, but that\u2019s not always the case.<\/p>\n<p>Consider the following conversation for example:<\/p>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/13\/Sample-chat.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-14973\" src=\"\/wp-content\/uploads\/sites\/13\/Sample-chat.png\" alt=\"\" width=\"338\" height=\"299\" \/><\/a><\/p>\n<p>It includes an entity value for the bot to proceed with the current intent, while also presenting a new user requirement or intent.<\/p>\n<p>Bots should account for this by allowing users to pause a task, start and complete another task, and then seamlessly return to the original task \u2013 all without losing important contextual data and conversation continuity.<\/p>\n<p>Kore.ai provides you with granular control over interruption handling functionality at the bot, task, and node levels, and allows to control context switching rules and behaviors. You can handle such interruptions in intent flows by providing a whole range of options to define the task-switching experience.<\/p>\n<p>The <strong>Interruptions Behavior<\/strong> options can be set up at the bot, task, and node levels to ensure the configurations are layered to suit your various business requirements. You can also add conditional exceptions between tasks with the ability to pass contextual data between them.<\/p>\n<p>The following sections describe<\/p>\n<ul>\n<li>the various Interruptions Behavior configurations,<\/li>\n<li>the hierarchy of the setups at bot, task, and node levels.<\/li>\n<\/ul>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"Interruptions_Behavior\"><b>Interruptions Behavior<\/b><\/span><\/h3>\n<p>The <b>Interruptions Behavior<\/b> options allow you to select if and how a user can switch to another task and also the exit strategies. The configuration for managing interruptions can be done either at the Bot Level or at the Task or Dialog level. We will discuss the settings at the Bot Level in this section. These settings can be overridden at the Task level as discussed in the <a href=\"#Interruptions_Hierarchy\">Interruption Hierarchy section<\/a>.<\/p>\n<p>You can access the Interruptions Behavior settings from <strong>Natural Language -&gt; Intelligence -&gt; Manage Interruptions<\/strong> page.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/13\/hr.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22875\" src=\"\/wp-content\/uploads\/sites\/13\/hr.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/13\/20221201095053\/hr.png 1366w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/13\/20221201095053\/hr-300x169.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/13\/20221201095053\/hr-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/p>\n<p>The platform provides options for Interruption options under the following three categories:<\/p>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/13\/hold-and-resume-options-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22876\" src=\"\/wp-content\/uploads\/sites\/13\/hold-and-resume-options-1.png\" alt=\"\" width=\"627\" height=\"243\" \/><\/a><\/p>\n<ul>\n<li><b>Allow interruptions<\/b>: Provides options for you to choose for holding a task and options to resume it later.<\/li>\n<li><b>Do not Allow interruptions<\/b>: Stops new tasks from interrupting the current task.<\/li>\n<li><strong>Allow the End User to Select the Behavior<\/strong>: Seeks end-user confirmation to switch to a new task and provides several resume options for you to pick from.<\/li>\n<\/ul>\n<p><strong>NOTE<\/strong>: When user input after a session has ended, i.e. after at least 15 minutes of inactivity, and if the input is within the previous session context it is treated as an Interruption scenario. If instead, the user comes back with a new utterance, then the old context is discarded and a new conversation is started.<\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h4 id=\"allowHR\"><b>Allow interruptions<\/b><\/h4>\n<p>Once you allow for task interruption, you need to specify the Bot behavior in such scenarios like what should happen to the current task, where should the conversation go once the interruption task has been completed, etc., etc..<\/p>\n<p>Following are the options under <b>Allow interruptions.<\/b><\/p>\n<table>\n<thead>\n<tr>\n<th>Option<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><b>Hold the current task and resume back once the new task is completed<\/b><\/td>\n<td>This option lets the bot to switch to a new intent as soon as it is detected irrespective of the current intent flow. When you select this option, the Resume Behavior section appears providing further choices to define how to resume the on-hold task once the new intent task is completed.\u00a0 Refer to <a href=\"#resume\">Resume Behavior section<\/a> below for details.<\/td>\n<\/tr>\n<tr>\n<td><b>Discard the current task and switch to new<\/b><\/td>\n<td>When you select this option, the bot discards the current task and switches to a new task soon after it encounters another intent. The bot sends a message to notify the user before switching to the new task and the current task would be discarded. You can customize the message from the <strong>Manage Response <\/strong>setting.<\/td>\n<\/tr>\n<tr>\n<td><strong>Switch to new task without any notification to the user and discard current task<\/strong><\/td>\n<td>When you select this option, the bot discards the current task and switches to a new task soon after it encounters another intent. The bot does not notify the user about the switch and does not resume the current task later.<\/td>\n<\/tr>\n<tr>\n<td><b>Continue with the current task and add a new task to the follow-up task list<\/b><\/td>\n<td>When you select this option, the bot continues on the current task even if it encounters a new intent. It, however, adds the new intent to the Follow-up intents array.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h4><b>Do not allow interruptions<\/b><\/h4>\n<p>When you select this option, the bot level <b>Interruptions<\/b>\u00a0is turned off. However, you may override this behavior for selected tasks, linked dialogs (exceptions) or node level. Refer to the <a href=\"#Interruptions_Hierarchy\">Interruptions Hierarchy section<\/a> below for more information.<\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h4><b>Allow the End User to Select the Behavior<\/b><\/h4>\n<p>When you select this option, the bot presents the end user with a confirmation message asking if the user would like to switch to a new task. The bot switches to the new task only if the end user chooses to do so. You can customize the confirmation message sent to the user by clicking the <b>Manage Response <\/b>link next to the option.<\/p>\n<p>You need to define a Resume Behavior that the bot should take if the user decides to switch the task. Refer to <a href=\"#resume\">Resume Behavior section<\/a> below for details.<\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h4 id=\"resume\"><b>Resume Behavior<\/b><\/h4>\n<p>Once you allow the task to be put on hold and proceed with the interruption task, you need to configure the Resume Behavior i.e. how the on-hold task should be handled once the interrupting task is completed.<\/p>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/13\/Resume-options-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22877\" src=\"\/wp-content\/uploads\/sites\/13\/Resume-options-2.png\" alt=\"\" width=\"674\" height=\"323\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/13\/20221201095053\/Resume-options-2.png 674w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/13\/20221201095053\/Resume-options-2-300x144.png 300w\" sizes=\"auto, (max-width: 674px) 100vw, 674px\" \/><\/a><\/p>\n<table>\n<thead>\n<tr>\n<th>Option<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>Get confirmation with the user before resuming an on-hold task<\/strong><\/td>\n<td>After executing the new task,\u00a0the bot gives Yes or No options to the user to return to the last on-hold task. You can write a custom message for the user by clicking the <b>Manage Response<\/b> link next to the option.<br \/>\n<b>Example:<\/b><\/p>\n<pre>User: Hi\r\nBot: Hello!\r\nUser: Can you book me a flight for tomorrow?\r\nBot: From which city are you flying?\r\nUser: Los Angeles\r\nBot: Where to?\r\nUser: By the way, what\u2019s the weather forecast for tomorrow?\r\nBot: Please enter the name of the city for the forecast.\r\nUser: Los Angeles\r\nBot: Weather Forecast for Los Angeles\r\nDate: March 15\r\nTemperature: 25 C\r\nCondition: Mostly Sunny\r\nBot: Should I continue with the task 'Book Flight'?\r\nUser: Yes\r\nBot: Enter the name of the destination airport<\/pre>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>Notify the user with a message that the on hold task is being resumed<\/strong><\/td>\n<td>Notifies the user with a message and resumes the last task that\u2019s kept on hold without user confirmation.<br \/>\nYou can customize the notification message by clicking the <b>Manage Response<\/b> link next to the option.<br \/>\n<b>Example:<\/b><\/p>\n<pre>User: Hi\r\nBot: Hello!\r\nUser: Can you book me a flight for tomorrow?\r\nBot: From which city are you flying?\r\nUser: Los Angeles\r\nBot: Where to?\r\nUser: By the way, what\u2019s the weather forecast for tomorrow?\r\nBot: Please enter the name of the city for the forecast.\r\nUser: Los Angeles\r\nBot: Weather Forecast for Los Angeles\r\nDate: March 15\r\nTemperature: 25 C\r\nCondition: Mostly Sunny\r\nBot: Resuming interrupted task Book Flight\r\nBot: Enter the name the of the destination airport<\/pre>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>Resume the on hold task without any specific message to the user<\/strong><\/td>\n<td>Directly resumes the last task that\u2019s kept on hold soon after the current task is executed.<br \/>\n<b>Example:<\/b><\/p>\n<pre>User: Hi\r\nBot: Hello!\r\nUser: Can you book me a flight for tomorrow?\r\nBot: From which city are you flying?\r\nUser: Los Angeles\r\nBot: Where to?\r\nUser: By the way, what\u2019s the weather forecast for tomorrow?\r\nBot: Please enter the name of the city for the forecast.\r\nUser: Los Angeles\r\nBot: Weather Forecast for Los Angeles\r\nDate: March 15\r\nTemperature: 25 C\r\nCondition: Mostly Sunny\r\nBot: Enter the name of the destination airport<\/pre>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>Always resume the on hold task without any specific message to the user if the task is ended in a single response<\/strong><\/td>\n<td>Sometimes, the switched over tasks end with a single bot response. For example, in the weather forecast example above, if the user had directly entered \u201cBy the way, what\u2019s the weather forecast for LA tomorrow?\u201d, the bot would\u2019ve merely responded with the forecast, with no further steps.<br \/>\nIn such cases, if you select this option, the bot switches back to the task on hold without any confirmation or notification, regardless of the option you\u2019ve chosen.<\/p>\n<div class=\"alert alert-info\"><b>Note<\/b>: The switching happens directly, without any notification to the end user.<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><b>On Hold Quantity <\/b><br \/>\nYou can select the number of tasks that you want to keep on hold from the <b>On Hold Quantity <\/b>field. The Bot keeps a maximum of this number of tasks on hold and ignores the tasks once this value is reached.<\/p>\n<p>For example, if you specify the On Hold Quantity as 1 and if a third intent comes into play, the bot wouldn\u2019t allow the new task to be initiated regardless of Hold and Resume options.<\/p>\n<div class=\"alert alert-info\"><b>Note<\/b>: Tasks always resume in the reverse chronological order. So, if you kept task 2 on hold after task 1, task 2 resumes before task 1.<\/div>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"Interruptions_Hierarchy\"><b>Interruptions Hierarchy<\/b><\/span><\/h3>\n<p>Apart from defining the generic interruptions options at the bot level, you can customize these options at Dialog task or Dialog node level. When you set up the interruptions options in more than one levels, the order of precedence of the settings works as follows:<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/13\/hierarchy.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-14976\" src=\"\/wp-content\/uploads\/sites\/13\/hierarchy.png\" alt=\"\" width=\"494\" height=\"370\" \/><\/a><\/p>\n<h4><b>Node Level Settings<\/b><\/h4>\n<p>You can customize the interruptions settings at a node level. If you customize the settings for a node, this configuration takes the highest precedence.<\/p>\n<p>To customize the Hold and Resume settings for a node:<\/p>\n<ol>\n<li>Open the Dialog task and then <strong>hover over the node<\/strong> whose settings you want to change.<\/li>\n<li>Go to the Properties panel by clicking the <strong>gear icon<\/strong> and then click the <strong>instance tab<\/strong>.<\/li>\n<li>In the Instance Properties panel, select <b>Advanced Controls<\/b>.<\/li>\n<li>Under the Interruptions Behavior section, select<strong> Customize for this node<\/strong> and make the necessary configurations. These configurations are the same as discussed above for the Bot Level <a href=\"#Interruptions_Hierarchy\">Interruptions Behavior settings<\/a>.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/13\/Node-level-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22878\" src=\"\/wp-content\/uploads\/sites\/13\/Node-level-2.png\" alt=\"\" width=\"823\" height=\"539\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/13\/20221201095053\/Node-level-2.png 823w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/13\/20221201095053\/Node-level-2-300x196.png 300w\" sizes=\"auto, (max-width: 823px) 100vw, 823px\" \/><\/a><\/li>\n<\/ol>\n<h4 id=\"task-interruption\"><b>Dialog Level Settings<\/b><\/h4>\n<p>The Dialog level Interruption customizations have higher priority over Bot level settings but rank lower than the Node level customizations or any exceptions.<\/p>\n<p>To customize the Interruption settings for a Dialog:<\/p>\n<ol>\n<li><strong>Open the Dialog task<\/strong> whose settings you want to customize.<\/li>\n<li>On the top right-hand corner of the Dialog Builder, click the <strong>more options icon<\/strong> and then click <b>Manage Interruptions<\/b>.<\/li>\n<li>Under Interruptions Behavior section, select <b>Customize for this task<\/b> and make the necessary configurations. These settings are the same as discussed above for the Bot Level <a href=\"#Interruptions_Behavior\">Interruptions Behavior<\/a>.<\/li>\n<\/ol>\n<div class=\"alert alert-info\"><b>Note<\/b>: If you do not customize Interruptions settings at Node or Task level, the bot level settings come into play.<\/div>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"Manage_Behavior_for_FAQs\">Manage Behavior for FAQs<\/span><\/h3>\n<p>You can choose whether FAQs should honor the Hold &amp; Resume Settings or if FAQs should be always responded. This feature was introduced with ver 7.0.<\/p>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/13\/HR-FAQs.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22943\" src=\"\/wp-content\/uploads\/sites\/13\/HR-FAQs.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/13\/20221201095052\/HR-FAQs.png 1366w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/13\/20221201095052\/HR-FAQs-300x169.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/13\/20221201095052\/HR-FAQs-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/p>\n<p>The flag <strong>Interruption Behavior for FAQs<\/strong> will allow you to:<\/p>\n<ul>\n<li>Always identify and respond to FAQs when interruptions are enabled. This is the default setting.<\/li>\n<li>Always identify FAQs when interruptions are enabled and proceed as per the Hold &amp; Resume settings.<\/li>\n<\/ul>\n<p>For the bot interruption behavior for FAQs refer <a href=\"#Interruptions_Behavior\">Interuption<\/a> and <a href=\"#resume\">Resume<\/a> behavior given in the above sections. Following are the <span style=\"text-decoration: underline\">exceptions<\/span> to the Resume Behavior involving FAQs:<\/p>\n<table>\n<thead>\n<tr>\n<th>Interruption Setting<\/th>\n<th>Resume Setting<\/th>\n<th>Exception Behavior<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Hold the current tasks and resume back<\/td>\n<td>Get confirmation with the user before resuming an on-hold task<\/td>\n<td>If the FAQ ended in a <span style=\"text-decoration: underline\">single volley<\/span> ie single question and response<br \/>\nthen the interrupted task will be resumed <span style=\"text-decoration: underline\">without seeking confirmation<\/span> from the user<\/td>\n<\/tr>\n<tr>\n<td>Hold the current tasks and resume back<\/td>\n<td>Notify the user with a message that the on hold task is being resumed<\/td>\n<td>If the FAQ ended in a <span style=\"text-decoration: underline\">single volley<\/span> ie single question and response<br \/>\nthen the interrupted task will be resumed <span style=\"text-decoration: underline\">without any notification<\/span>\u00a0to the user<\/td>\n<\/tr>\n<tr>\n<td>Discard the current task and switch to new<\/td>\n<td>Notify the user that we have canceled the current task to switch to another.<\/td>\n<td>The current task will be discarded and the FAQ will be executed <span style=\"text-decoration: underline\">without any notification<\/span>\u00a0to the user<\/td>\n<\/tr>\n<tr>\n<td>Continue the current task and add new task to the follow-up task list<\/td>\n<td><\/td>\n<td>The current task will be kept on hold and the FAQ will be initiated <span style=\"text-decoration: underline\">without putting it on the follow-up task list<\/span> and then the task on hold would resume <span style=\"text-decoration: underline\">without any notification<\/span>\u00a0to the user<\/td>\n<\/tr>\n<tr>\n<td>Allow the end user to select the behavior<\/td>\n<td>Get confirmation with the user before resuming an on-hold task<\/td>\n<td>FAQ will be executed <span style=\"text-decoration: underline\">without presenting any choice<\/span>\u00a0to the user and if the FAQ ended in a <span style=\"text-decoration: underline\">single volley<\/span> ie single question and response then the interrupted task will be resumed <span style=\"text-decoration: underline\">without seeking confirmation<\/span> from\u00a0the user<\/td>\n<\/tr>\n<tr>\n<td>Allow the end user to select the behavior<\/td>\n<td>Notify the user with a message that the on hold task is being resumed<\/td>\n<td>FAQ will be executed <span style=\"text-decoration: underline\">without any notification<\/span> to the user and if the FAQ ended in a <span style=\"text-decoration: underline\">single volley<\/span> ie single question and response then the interrupted task will be <span style=\"text-decoration: underline\">resumed without any notification<\/span> to the user<\/td>\n<\/tr>\n<tr>\n<td>Allow the end user to select the behavior<\/td>\n<td>Resume the on hold task without any specific message to the user<\/td>\n<td>FAQ will be executed <span style=\"text-decoration: underline\">without presenting any choice<\/span> to the user and the interrupted task will be <span style=\"text-decoration: underline\">resumed without any interaction<\/span> with the user<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"Manage_Behavior_for_Small_Talk\">Manage Behavior for Small Talk<\/span><\/h3>\n<p>You can choose whether Small Talk should honor the Interruptions or if Small Talk should be always responded. This feature was introduced with ver 7.1.<\/p>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/13\/smallTalk-manageInterruption.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22777\" src=\"\/wp-content\/uploads\/sites\/13\/smallTalk-manageInterruption.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/13\/20221201095106\/smallTalk-manageInterruption.png 1366w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/13\/20221201095106\/smallTalk-manageInterruption-300x169.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/13\/20221201095106\/smallTalk-manageInterruption-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/p>\n<p>The flag <strong>Interruption Behavior for Small Talk<\/strong> will allow you to:<\/p>\n<ul>\n<li>Always identify and respond to Small Talk when interruptions are enabled. This is the default setting.<\/li>\n<li>Always identify Small Talk when interruptions are enabled and proceed as per the Interruptions settings.<\/li>\n<\/ul>\n<p>For the bot interruption behavior for Small Talk refer <a href=\"#Interruptions_Behavior\">Interuption<\/a> and <a href=\"#resume\">Resume<\/a> behavior given in the above sections. Following are the <span style=\"text-decoration: underline\">exceptions<\/span> to the Resume Behavior involving Small Talk:<\/p>\n<table>\n<thead>\n<tr>\n<th>Interruption Setting<\/th>\n<th>Resume Setting<\/th>\n<th>Exception Behavior<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Hold the current tasks and resume back<\/td>\n<td>Get confirmation with the user before resuming an on-hold task<\/td>\n<td>The interrupted task will be resumed <span style=\"text-decoration: underline\">without seeking confirmation<\/span> from the user<\/td>\n<\/tr>\n<tr>\n<td>Hold the current tasks and resume back<\/td>\n<td>Notify the user with a message that the on hold task is being resumed<\/td>\n<td>The interrupted task will be resumed <span style=\"text-decoration: underline\">without any notification<\/span> to the user<\/td>\n<\/tr>\n<tr>\n<td>Discard the current task and switch to new<\/td>\n<td><\/td>\n<td>The Small Talk will be triggered <span style=\"text-decoration: underline\">without any notification<\/span> to the user<\/td>\n<\/tr>\n<tr>\n<td>Continue the current task and add new task to the follow-up task list<\/td>\n<td><\/td>\n<td>The current task will be kept on hold and the Small Talk will be initiated <span style=\"text-decoration: underline\">without putting it on the follow-up task list<\/span> and then the task on hold would resume <span style=\"text-decoration: underline\">without any notification<\/span>\u00a0to the user<\/td>\n<\/tr>\n<tr>\n<td>Allow the end user to select the behavior<\/td>\n<td>Get confirmation with the user before resuming an on-hold task<\/td>\n<td>The interrupted task will be resumed <span style=\"text-decoration: underline\">without seeking confirmation<\/span> from the user<\/td>\n<\/tr>\n<tr>\n<td>Allow the end user to select the behavior<\/td>\n<td>Notify the user with a message that the on hold task is being resumed<\/td>\n<td>The interrupted task will be resumed <span style=\"text-decoration: underline\">without any notification<\/span> to the user<\/td>\n<\/tr>\n<tr>\n<td>On Hold Quantity<\/td>\n<td><\/td>\n<td>Small Talk is <span style=\"text-decoration: underline\">always shown<\/span> irrespective of this setting<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"Manage_Behavior_for_Ambiguous_Intents\">Manage Behavior for Ambiguous Intents<\/span><\/h3>\n<p>(Introduced in ver 7.1 of the platform)<\/p>\n<p>You can handle ambiguous intents during a conversation flow by setting the flag <strong>Behavior for Ambiguous Intents<\/strong> which will allow you to:<\/p>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/13\/ambiguous-settings.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22240\" src=\"\/wp-content\/uploads\/sites\/13\/ambiguous-settings.png\" alt=\"\" width=\"1366\" height=\"768\" \/><\/a><\/p>\n<ul>\n<li>Present the ambiguous intents to the end-user and proceed as per the H&amp;R Settings. In case the user selects a task and the Hold &amp; Resume setting is:\n<ul>\n<li>&#8216;Continue the current task and add new task to the follow-up task list&#8217;, then the current task will be kept on-hold and the new task will be initiated<\/li>\n<li>\u2018Allow the end user to select the behavior&#8217;, then the new task will be initiated without asking the user since the selection has been already made<\/li>\n<li>All other &#8216;hold&#8217; options will be applied as usual<\/li>\n<\/ul>\n<\/li>\n<li>Do not present ambiguous intents to the end users and continue on the current task. This is the default setting.<\/li>\n<\/ul>\n<p>For the bot interruption behavior for Ambiguous Intents refer <a href=\"#Interruptions_Behavior\">Interuption<\/a> and <a href=\"#resume\">Resume<\/a> behavior given in the above sections. Following are the <span style=\"text-decoration: underline\">exceptions<\/span> to the Resume Behavior involving Ambiguous Intents:<\/p>\n<table>\n<thead>\n<tr>\n<th>Interruption Setting<\/th>\n<th>Exception Behavior<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Allow interruptions<\/td>\n<td><a href=\"#task-interruption\">Tasks with dialog level<\/a> interruption behavior set to &#8216;Do not allow hold and resume&#8217; <span style=\"text-decoration: underline\">will not be included<\/span> in the disambiguation flow.<\/p>\n<p>For example in a Banking Bot scenario, consider the case wherein &#8220;<em>Transfer Funds<\/em>&#8221; task has &#8220;<em>Bill Payment<\/em>&#8221; under &#8220;Do not allow hold and resume&#8221; exceptions. Now during the Transfer Funds task, if a disambiguation intent is detected with two possibilities &#8211; &#8220;Check Payment&#8221; and &#8220;Bill Payment&#8221; then Bill Payment will not be considered in the disambiguation flow.<\/td>\n<\/tr>\n<tr>\n<td>Continue the current task and add new task to the follow-up task list<\/td>\n<td>Once the user selects a task from the disambiguation list , the current task will be kept on hold and the selected task will be initiated <span style=\"text-decoration: underline\">without putting it on the follow-up task list<\/span>.<\/td>\n<\/tr>\n<tr>\n<td>Allow the end user to select the behavior<\/td>\n<td>Once the user selects a task from the disambiguation list , the new task will be <span style=\"text-decoration: underline\">initiated without a message<\/span> to the user<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"Human conversations are characterized by twists and turns, and no two directions are ever the same. Natural conversations often tend to go beyond linear intent resolution paths defined in the bots. Ideally, a user would allow the bot to take a user intent to its logical conclusion before initiating another, but that\u2019s not always the...","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[47],"tags":[],"class_list":["post-18055","post","type-post","status-publish","format-standard","hentry","category-bot-intelligence"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/posts\/18055","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/comments?post=18055"}],"version-history":[{"count":26,"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/posts\/18055\/revisions"}],"predecessor-version":[{"id":23504,"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/posts\/18055\/revisions\/23504"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/media?parent=18055"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/categories?post=18055"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/tags?post=18055"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}