{"id":17936,"date":"2016-11-30T19:25:05","date_gmt":"2016-11-30T19:25:05","guid":{"rendered":"https:\/\/developer.kore.com\/?post_type=docs&#038;p=9013"},"modified":"2021-03-25T16:55:44","modified_gmt":"2021-03-25T16:55:44","slug":"dialog-tasks","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v8-0\/docs\/bots\/bot-builder-tool\/dialog-task\/dialog-tasks\/","title":{"rendered":"Dialog Task"},"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>Kore.ai <strong>Dialog Tasks<\/strong> represent a full conversational flow between a user and a bot with a network of nodes that are connected using conditions.<\/p>\n<p>For example, if you create a <em>banking bot<\/em>, the tasks you want your bot to do for users is to:<\/p>\n<ul>\n<li>Retrieve and monitor account balances.<\/li>\n<li>Provide alerts for expenditures or low balances.<\/li>\n<li>Transfer funds<\/li>\n<li>Pay bills<\/li>\n<li>A combination of these or more.<\/li>\n<\/ul>\n<p>Dialog tasks also handle multiple user intents within a single conversation. For example, <em>Pay Bills <\/em>is a typical question in a Banking Bot, followed up with <em>Transfer Funds<\/em> or <em>Check Balance.<\/em> You can create a dialog task to encompass a full conversation with multiple outcomes as a single task.<\/p>\n<p>A dialog task begins with a root intent, <em>Pay Bill;<\/em>\u00a0can branch out into subtasks, <em>Check Balance;<\/em> then return to the primary task. The branch flow is determined at the runtime by the user input or selection.<\/p>\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=\"Why_Dialog_Task\">Why Dialog Task?<\/span><\/h3>\n<p>As a developer, you can define Kore.ai Dialog Tasks to:<\/p>\n<ul>\n<li>Create a conversational flow between the user and the bot.<\/li>\n<li>Build dialogs with branching paths based on user inputs and responses.<\/li>\n<li>Invoke a child flow within the context of the current flow.<\/li>\n<li>Define and reuse dialog nodes connected by defined conditions.<\/li>\n<li>Add custom JavaScript to the conversation flow.<\/li>\n<li>Add event handlers and get or update the conversation context through Webhook.<\/li>\n<\/ul>\n<p>It is recommended to end a dialog task with a message node. In the absence of a message node, the dialog task can not find closure and reverts to <em>Small Talk\/Intent not Found<\/em> standard messages.<\/p>\n<p>The following is a typical dialog task for Funds Transfer:<\/p>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/Dialog-Builder-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19418\" src=\"\/wp-content\/uploads\/sites\/16\/Dialog-Builder-1.png\" alt=\"\" width=\"820\" height=\"461\" \/><\/a><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Dialog_Task_Builder\">Dialog Task Builder<\/span><\/h3>\n<p>The Dialog Task Builder is the user interface to build Dialog Tasks. Dialog Tasks consists of a set of connected nodes and branch paths the bot can take based on a user conversation. <a href=\"\/docs\/bots\/bot-builder-tool\/develop\/dialog-task\/using-the-dialog-builder-tool\/\">Click here to know about how to use the Dialog Builder Tool<\/a>.<\/p>\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=\"Create_a_Dialog_Task\">Create a Dialog Task<\/span><\/h3>\n<p>To create a dialog task, you must have already created a bot to add a dialog task to.<\/p>\n<p>To add a dialog task, follow the below steps:<\/p>\n<ol>\n<li>Open the bot in which you want to create the dialog task.<\/li>\n<li>Hover over the left navigation pane and click <strong>Bot Tasks<\/strong>.<\/li>\n<li>On the Bot Tasks page, click the <strong>+ <\/strong>icon on the <strong>Dialog Tasks<\/strong> widget.<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/Navigation-to-dialog-task.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-13465 size-medium\" src=\"\/wp-content\/uploads\/sites\/16\/Navigation-to-dialog-task-279x300.png\" alt=\"\" width=\"279\" height=\"300\" \/><\/a><\/li>\n<li>Enter a name for the dialog task in the <strong>Intent Name<\/strong> field.<\/li>\n<li>Optionally, you can add a description and set options for the task to be an independent or sub-intent task.<\/li>\n<li>Click <strong>Create &amp; Proceed<\/strong>.<\/li>\n<li>The Dialog Builder displays with the root intent component and User Intent window with the <strong>Component Properties <\/strong>tab selected by default.<\/li>\n<\/ol>\n<p style=\"padding-left: 40px\"><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/User-Intent-Node-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19419\" src=\"\/wp-content\/uploads\/sites\/16\/User-Intent-Node-1.png\" alt=\"\" width=\"400\" height=\"241\" \/><\/a><\/p>\n<p>Now, you are ready to add nodes and establish transitions between these nodes for your workflow. <a href=\"\/docs\/bots\/bot-builder-tool\/develop\/dialog-task\/nodes-transitions\/\">Click here to know about Nodes &amp; Transitions<\/a>.<\/p>\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=\"Clone_a_Dialog_Task\">Clone a Dialog Task<\/span><\/h3>\n<p>(Introduced in v7.1)<\/p>\n<p>There are scenarios where you need to create two similar dialog tasks with minor differences. You can achieve the same with the <strong>Clone<\/strong> option available for the given dialog from the Dialog Tasks page.<\/p>\n<p>To clone a dialog task, follow the below steps:<\/p>\n<ol>\n<li>Open the bot in which you want to clone the dialog task.<\/li>\n<li>Hover over the left navigation pane and click <strong>Bot Tasks<\/strong>.<\/li>\n<li>On the Bot Tasks page, hover over the task you want to clone and click <strong>Settings <\/strong>(gear icon) &gt; <strong>Clone<\/strong>.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/Bot-Clone.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22228\" src=\"\/wp-content\/uploads\/sites\/16\/Bot-Clone.png\" alt=\"\" width=\"1366\" height=\"768\" \/><\/a><\/li>\n<li>On the <strong>Clone a Dialog<\/strong> window, enter a name for the dialog task in the <strong>Intent Name<\/strong> field.<\/li>\n<li>Optionally, you can add a description and set options for the task to be an independent or sub-intent task.<\/li>\n<li>Click <strong>Clone<\/strong>.<\/li>\n<\/ol>\n<p>The following are the properties of a cloned dialog task:<\/p>\n<ul>\n<li>It contains the same component, instance, NL, IVR, and connection properties as the original dialog.<\/li>\n<li>The Dialog Settings, Interruption Settings, and Amend behavior is also copied from the original dialog.<\/li>\n<li>If multiple languages are enabled in the original dialog, then the details for all languages are copied.<\/li>\n<li>The below-listed intent level NLP training data is not copied:\n<ul>\n<li>ML Utterances<\/li>\n<li>Intent Patterns &amp; Rules<\/li>\n<li>Intent Synonyms<\/li>\n<\/ul>\n<\/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<div class=\"w-post-elm post_navigation layout_simple inv_false\">\n\t<a class=\"post_navigation-item order_first to_prev\" href=\"https:\/\/developer.kore.ai\/v8-0\/docs\/bots\/bot-builder-tool\/bot-creation\/creating-a-bot\/\"><\/p>\n<div class=\"post_navigation-item-arrow\"><\/div>\n<div class=\"post_navigation-item-meta\">Previous<\/div>\n<div class=\"post_navigation-item-title\"><span>Creating a Bot<\/span><\/div>\n<p>\t<\/a><br \/>\n<a class=\"post_navigation-item order_second to_next\" href=\"https:\/\/developer.kore.ai\/v8-0\/docs\/bots\/bot-builder-tool\/dialog-task\/working-with-the-user-intent-node\/\"><\/p>\n<div class=\"post_navigation-item-arrow\"><\/div>\n<div class=\"post_navigation-item-meta\">Next<\/div>\n<div class=\"post_navigation-item-title\"><span>User Intent Node<\/span><\/div>\n<p>\t<\/a><\/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><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"Kore.ai Dialog Tasks represent a full conversational flow between a user and a bot with a network of nodes that are connected using conditions. For example, if you create a banking bot, the tasks you want your bot to do for users is to: Retrieve and monitor account balances. Provide alerts for expenditures or low...","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29],"tags":[],"class_list":["post-17936","post","type-post","status-publish","format-standard","hentry","category-dialog-task"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/posts\/17936","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/comments?post=17936"}],"version-history":[{"count":15,"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/posts\/17936\/revisions"}],"predecessor-version":[{"id":26197,"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/posts\/17936\/revisions\/26197"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/media?parent=17936"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/categories?post=17936"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/tags?post=17936"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}