{"id":22652,"date":"2019-11-01T09:48:47","date_gmt":"2019-11-01T09:48:47","guid":{"rendered":"https:\/\/developer.kore.ai\/v9-2\/?p=22652"},"modified":"2021-08-14T07:56:57","modified_gmt":"2021-08-14T06:56:57","slug":"small-talk","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v9-2\/docs\/bots\/bot-builder-tool\/small-talk\/","title":{"rendered":"Small Talk"},"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><strong>Small Talk<\/strong> refers to the casual conversations that a bot can have with the end-users. The ability to engage end-users in casual conversations helps socialize your bot and improves the recall rates.<\/p>\n<p>The Small Talk conversation is designed as a series of interaction volleys between the bot and the user. Bots that can answer social inputs like <em>How Are You?<\/em> are more likely to create a positive impression for your bot and help build an invaluable connection with the user.<\/p>\n<p><strong>Features<\/strong><\/p>\n<ul>\n<li>Using the <em>Custom Small Talk<\/em> feature, build a personality and train the bot to conduct casual conversations around your areas of interest.<\/li>\n<li>You can also build nested conversations to answer follow-ups during a conversation and make the bot more engaging.<\/li>\n<li>It replaces some of the standard responses that were greetings and small talk in nature<span style=\"font-weight: 400;\">, you can extend the bot\u2019s built-in Small Talk abilities.\u00a0<\/span><\/li>\n<li>The platform can also identify the emojis in user utterances and respond accordingly in Small Talk.<\/li>\n<li>However, interjections, like <em>hello<\/em> at the start of an utterance, will not be considered as small talk. For example, the user utterance <em>Hello, I need to transfer money<\/em> will be matched with the intent <em>transfer money<\/em><\/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<h2><span class=\"ez-toc-section\" id=\"Default_Small_Talk\">Default Small Talk<\/span><\/h2>\n<p>Small Talk is a bot-level task that is configured as per your bot needs. When you create a new bot, the Small Talk of group <em>greetings<\/em> is generated by default.<\/p>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210614122005\/SmallTalk.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-27611\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210614122005\/SmallTalk.png\" alt=\"\" width=\"1359\" height=\"315\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210614122005\/SmallTalk.png 1359w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210614122005\/SmallTalk-300x70.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210614122005\/SmallTalk-1024x237.png 1024w\" sizes=\"auto, (max-width: 1359px) 100vw, 1359px\" \/><\/a><\/p>\n<p>Note that when you open the Small Talk Task in an existing bot, you will be informed of the migration of standard responses related to greetings to the Small Talk feature. You can choose not to <strong>Proceed<\/strong> and continue with the <em>Standard Responses<\/em>.<\/p>\n<p>NOTE that if you proceed with the migration, the <em>Greetings<\/em> will be permanently deleted from the <strong>Standard Responses<\/strong> section and cannot be retrieved.<\/p>\n<p>&nbsp;<\/p>\n<p>The following are the messages under the Greetings group (these are the Standard Responses of Greeting and other categories that are migrated to Small Talk once you choose to <strong>Proceed<\/strong>)<\/p>\n<table>\n<tbody>\n<tr>\n<th style=\"text-align: center;\" colspan=\"2\">greetings<\/th>\n<\/tr>\n<tr>\n<td>Response when User says Hi<\/td>\n<td>Shown when the user says <em>hi<\/em>, <em>hello<\/em>, <em>hey<\/em>, etc, or just enters the bot&#8217;s name.<\/td>\n<\/tr>\n<tr>\n<td>Response to &#8216;how are you&#8217;?<\/td>\n<td>The user asks &#8220;how are you?&#8221;<br \/>\nNL interprets the following ways in which the user can say that:<br \/>\n&lt;how are you&gt;, &lt;how are u doing&gt; &lt;how are u how are u&gt;<br \/>\n&lt;how have u been doing&gt; &lt;how have`u`been&gt; &lt;how`do`u`do&gt; &lt;how`are`u`doing&gt; &lt;how`are`u&gt;<br \/>\nwhazzupp whatcha`upto watsup wassup howzit<br \/>\ncomment`est`vous comment`ca`va ca`va<br \/>\n&lt;what`up &lt;what`is`up`today<br \/>\n&lt;what`is`up &lt;what`is`the`word&gt; &lt;what`is`the`latest`word&gt; &lt;what`is`new&gt; &lt;what`is`happening&gt;<br \/>\n&lt;what`is`going`on&gt; &lt;what&#8217;up &lt;is`everything`OK &lt;is`everything`alright &lt;how`you`feeling<br \/>\n&lt;how`you`doing &lt;how`is`tricks &lt;how`is`life &lt;how`is`it`going &lt;how`is`everything<br \/>\n&lt;how`is`by`you &lt;how`have`you`been`doing&gt; &lt;how`have`you`been&gt; &lt;how`goes&gt; &lt;how`goes`things<br \/>\n&lt;how`goes`it &lt;how`is`your`day &lt;how`do`you`do&gt; &lt;how`are`you&gt; &lt;how`are`things&gt;<br \/>\n&lt;heya&gt;<\/td>\n<\/tr>\n<tr>\n<td>Response to &#8216;who are you?&#8217;<\/td>\n<td>Shown when the user says &#8220;who are you&#8221;<\/td>\n<\/tr>\n<tr>\n<td>User says &#8216;great&#8217;, &#8216;awesome&#8217;, etc. when there is no task in context<\/td>\n<td>Shown when the user says great, awesome, etc. (probably after finishing a task)<\/td>\n<\/tr>\n<tr>\n<td>User says &#8216;that helped&#8217;, &#8216;that was useful&#8217;, etc.<\/td>\n<td>Shown when the user says good, great, awesome, cool, \u201cfair enough\u201d, \u201cthat helped\u201d, \u201cit helps\u201d, \u201cthat was useful\u201d, \u201cthat was handy\u201d etc. (probably after finishing a task)<\/td>\n<\/tr>\n<tr>\n<td>User says &#8216;no&#8217;, &#8216;nope&#8217;, etc. when there is no task in context<\/td>\n<td>This is small talk in the response to user utterance is \u2013 \u2018No\u2019, \u2019Nopes\u2019 etc.<\/td>\n<\/tr>\n<tr>\n<td>User says &#8216;I am done&#8217;, &#8216;That&#8217;s it for now&#8217;, etc. when there is no task in context<\/td>\n<td>Shown when the user says \u201cI am done\u201d, \u201cthat\u2019s it for now\u201d, \u201cthat\u2019s all\u201d, done, etc. (probably after finishing a task)<\/td>\n<\/tr>\n<tr>\n<td>User implies to end the conversation (eg. &#8216;good night&#8217;, &#8216;bye&#8217;, &#8216;ttyl&#8217;)<\/td>\n<td>This condition occurs only for Dialog tasks for which the following Follow-up Tasks Setting is configured: \u201cYes, at the end of this dialog ask the user to select and perform a task from \u2018Follow-up task\u2019 list in the Dialog settings.\u201d The bot shows this message when it presents the Follow-Up Intents array to the user at the end of the Dialog.<\/td>\n<\/tr>\n<tr>\n<td>User says thanks<\/td>\n<td>Shown when the user thanks the bot.<\/td>\n<\/tr>\n<tr>\n<td>User says &#8216;OK&#8217;, &#8216;fine&#8217;, &#8216;yes&#8217; etc. when there is no task in context<\/td>\n<td>Shown when the user says OK, fine, got it, etc (probably after finishing a task)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210615051105\/SmallTalk_greetings.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-27613\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210615051105\/SmallTalk_greetings.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210615051105\/SmallTalk_greetings.png 1366w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210615051105\/SmallTalk_greetings-300x169.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210615051105\/SmallTalk_greetings-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/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<h2><span class=\"ez-toc-section\" id=\"Overview\">Overview<\/span><\/h2>\n<p>Small Talk is a series of User Utterances and Bot Responses. The primary objective of Small Talk is to engage users in casual conversations and in general, functional topics or business transactions are not included in Small Talk.<\/p>\n<p>The various user queries in Small Talk are categorized into groups and assigned hierarchical structure. The <strong>Greetings<\/strong> category are auto-generated by default for all new bots. This group contains various questions related to greetings and pleasantries. You can define additional groups or categories and build interaction flows under each group.<\/p>\n<ul>\n<li>Each group can have one or more top-level questions. A top-level question can have one or more child questions.<\/li>\n<li>A child question can have one or more subsequent child questions up to three levels. Every question can have one or more alternate questions.<\/li>\n<li>Every question can have one or more responses. When multiple responses are present, the platform will pick one at random.<\/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<h2><span class=\"ez-toc-section\" id=\"Terminology\">Terminology<\/span><\/h2>\n<p>Following are various terms associated with Small Talk:<\/p>\n<ol>\n<li><strong>Groups<\/strong> &#8211; Based upon the purpose and content, Small Talk is categorized into groups.<\/li>\n<li><strong>User Queries<\/strong> &#8211; For each group, you can add User Queries, Alternate Queries, and Child Queries. Queries are formed using patterns. <a href=\"\/docs\/bots\/nlp\/fundamental-meaning\/#managing-patterns\" target=\"_blank\" rel=\"noopener noreferrer\">Know more about patterns from here<\/a>.<\/li>\n<li><strong>Bot Responses<\/strong> &#8211; Each User Query must be associated with a bot response. These can be in plain text format or JavaScript. You can specify channel-specific responses. You can also enter multiple responses, one of which will be picked randomly by the platform at runtime.<\/li>\n<\/ol>\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<h2><span class=\"ez-toc-section\" id=\"Creation\">Creation<\/span><\/h2>\n<p>To create Small Talk, follow the below steps:<\/p>\n<ol>\n<li>Open the bot where you want to add Small Talk;<\/li>\n<li>From the top menu <strong>Build<\/strong> access the sub-menu <strong>Conversational Skills -&gt; Small Talk<\/strong><\/li>\n<li>You need to start by adding a <strong>New Group.<\/strong><\/li>\n<li>Next, you need to add User Queries and Bot Responses.<\/li>\n<\/ol>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210615051903\/SmallTalk_create.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-27615\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210615051903\/SmallTalk_create.png\" alt=\"\" width=\"1359\" height=\"315\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210615051903\/SmallTalk_create.png 1359w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210615051903\/SmallTalk_create-300x70.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210615051903\/SmallTalk_create-1024x237.png 1024w\" sizes=\"auto, (max-width: 1359px) 100vw, 1359px\" \/><\/a><\/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<h3><span class=\"ez-toc-section\" id=\"Groups\">Groups<\/span><\/h3>\n<p>You can create a <strong>New Group<\/strong> manually or <strong>Import<\/strong> an existing JSON or TSV file. You can also <strong>modify<\/strong> the default Greeting category.<\/p>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210615052027\/SmallTalk_options.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-27617\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210615052027\/SmallTalk_options.png\" alt=\"\" width=\"1139\" height=\"219\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210615052027\/SmallTalk_options.png 1139w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210615052027\/SmallTalk_options-300x58.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210615052027\/SmallTalk_options-1024x197.png 1024w\" sizes=\"auto, (max-width: 1139px) 100vw, 1139px\" \/><\/a><\/p>\n<ul>\n<li>New Group:\n<ol>\n<li>On the left pane under Build, click <strong>Conversational Skills &gt; Small Talk<\/strong>; then\u00a0click <strong>New Group <\/strong>on top-right.<\/li>\n<li>On the New Group dialog box, enter a name in the <strong>Group Name<\/strong> field<em>.<\/em><\/li>\n<li>Click <strong>Proceed<\/strong>.<\/li>\n<li>From the Small Talk editor that opens you can enter User Utterance &#8211; Bot Response pairs and <strong>Add<\/strong> to the list.<\/li>\n<\/ol>\n<\/li>\n<li>Import: If you have already had Small Talk for your company, you can import the same. The file must be in JSON or TSV format. You can download a sample file for the formatting details.\n<ol>\n<li>On the left pane under Build, click <strong>Conversational Skills &gt; Small Talk<\/strong>.<\/li>\n<li>Click the <strong>more <\/strong>(ellipses) icon and select the <strong>Import<\/strong> option.<\/li>\n<li>Select the file containing the Small Talk and <strong>Next.<\/strong><\/li>\n<li>The import starts. Note that the existing Small Talk will be replaced with the imported file.<\/li>\n<\/ol>\n<\/li>\n<li>Modify:\n<ol>\n<li>You can click the existing group and make changes to the same.<\/li>\n<li>From the Small Talk editor that opens you can enter User Utterance &#8211; Bot Response pairs and <strong>Add<\/strong> to the list.<\/li>\n<\/ol>\n<\/li>\n<\/ul>\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=\"Query_Response\">Query &#8211; Response<\/span><\/h3>\n<p>Once you create\/import a group, you can add\/modify the query-response pairs.<\/p>\n<ol>\n<li>Enter the User Query in the <strong>User<\/strong> column and the corresponding Bot Response in the <strong>Bot<\/strong> column.<\/li>\n<li>Press <strong>Enter<\/strong> or <strong>Add<\/strong> to add the query-response pair to the list.<\/li>\n<li>Queries are designed using patterns. <a href=\"\/docs\/bots\/nlp\/fundamental-meaning\/#managing-patterns\" target=\"_blank\" rel=\"noopener noreferrer\">Know more about patterns from here<\/a>.<\/li>\n<li>For each User Query, you can enter <strong>alternate questions<\/strong> that depict a different way the user might ask the same query.<\/li>\n<li>For each bot response, you can enter <strong>alternate responses<\/strong>. The platform picks one response at random during runtime.<\/li>\n<li>Using the handlebar icon that appears in front of the question on hover, you can re-arrange the order of the questions.<\/li>\n<li>Each User Query can have a <strong>child query<\/strong>. The child-questions can be asked only when the parent-question is asked and responded to. To add Child Query, use the <strong>+<\/strong> icon that appears next to the question when you hover over it.<br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210615052557\/SmallTalk_queries.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-27619\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210615052557\/SmallTalk_queries.png\" alt=\"\" width=\"1347\" height=\"501\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210615052557\/SmallTalk_queries.png 1347w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210615052557\/SmallTalk_queries-300x112.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210615052557\/SmallTalk_queries-1024x381.png 1024w\" sizes=\"auto, (max-width: 1347px) 100vw, 1347px\" \/><\/a><\/li>\n<li>Responses are <strong>Channel-specific<\/strong> and <strong>Java Script<\/strong> formatted. By clicking the <strong>settings (gear icon)<\/strong> that appear next to the response, when you hover over it opens the Manage Response window. Here:\n<ul>\n<li>Give a default message to be displayed on all channels.<\/li>\n<li>For channel-specific response:\n<ol>\n<li>Click <strong>+ Add Response<\/strong>.<\/li>\n<li>Click the <strong>New Prompt Message<\/strong>.<\/li>\n<li>Select the <strong>Channel<\/strong>.<\/li>\n<li>Enter the response in standard text or in Java Script using the Advanced Mode. If applicable Select a Template. (<a href=\"\/docs\/bots\/sdks\/message-templates\/\" target=\"_blank\" rel=\"noopener noreferrer\">see here<\/a> for more on message formatting)<br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210615052743\/SmallTalk_response.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-27621\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210615052743\/SmallTalk_response.png\" alt=\"\" width=\"699\" height=\"579\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210615052743\/SmallTalk_response.png 699w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210615052743\/SmallTalk_response-300x248.png 300w\" sizes=\"auto, (max-width: 699px) 100vw, 699px\" \/><\/a><\/li>\n<li>Click <strong>Save.<\/strong><\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<\/li>\n<\/ol>\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<h2><span class=\"ez-toc-section\" id=\"Settings\">Settings<\/span><\/h2>\n<p>On the hover over any Small Talk group, you have the option to:<\/p>\n<ul>\n<li><strong>Delete<\/strong> the group.<\/li>\n<li><strong>Settings<\/strong> option will allow you to:\n<ul>\n<li>Manage Variable Namespaces by associating a variable namespace to use with this Small Talk group. This option is visible only when the variable namespace is enabled for the bot. For more information, refer to <a href=\"\/docs\/bots\/bot-settings\/bot-management\/managing-namespace\/\" target=\"_blank\" rel=\"noopener noreferrer\">Managing Namespace.<\/a><\/li>\n<\/ul>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210615053110\/SmallTalk_namespace.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-27623\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210615053110\/SmallTalk_namespace.png\" alt=\"\" width=\"1141\" height=\"263\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210615053110\/SmallTalk_namespace.png 1141w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210615053110\/SmallTalk_namespace-300x69.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210615053110\/SmallTalk_namespace-1024x236.png 1024w\" sizes=\"auto, (max-width: 1141px) 100vw, 1141px\" \/><\/a><\/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<h2><span class=\"ez-toc-section\" id=\"Small_Talk_Context\">Small Talk Context<\/span><\/h2>\n<p>You can mark desired information in the user utterance pattern definition and it will be available in the context. A new section called <strong>Small Talk<\/strong> is introduced under<strong> NL Analysis<\/strong> which stores the contextual information from the ongoing small talk. You can use this information to personalize the Small Talk messages.<\/p>\n<ul>\n<li>Marking a section in the user input pattern by including an underscore \u2018_\u2019 symbol you can indicate the required information. For example, <em>I am from _~location Where are you from?<\/em>\u00a0will allow you to capture the location from the user utterance.<\/li>\n<li>This information is stored in the Small Talk context and can be accessed using: <code>context.smallTalk.matchData._0<\/code> The following is the JSON structure:\n<pre>{\r\n  \"pattern\": \"I am from _~location Where are you from?\",\r\n  \"matchData\": {\r\n    \"_0\": \"chicago\"\r\n  },\r\n  \"previousMatchData\": []\r\n}<\/pre>\n<\/li>\n<li>You can define and store multiple pattern tokens in the same user input and they can be accessed using the positional count variables &#8211; <em>_0<\/em>, <em>_1<\/em>, <em>_2<\/em> so on, and so forth. Since they capture the positional content, they are not continuous in case the optional token is missing from the user utterance.<br \/>\nFor example, consider the pattern: <em>how is the _[ climate temperature ]\u00a0 { at _~location } ~time<\/em><\/p>\n<ul>\n<li>Case1:\n<ul>\n<li>user utterance: &#8220;<em>how is the temperature in London today<\/em>&#8220;<\/li>\n<li>context:\n<pre>{\r\n  \"pattern\": \"how is the _[ climate temperature ]\u00a0 { at _~location } ~time\",\r\n  \"matchData\": {\r\n    \"_0\": \"temperature\"\r\n    \"_1\": \"London\"\r\n    \"_2\": \"today\"\r\n  },\r\n  \"previousMatchData\": []\r\n}<\/pre>\n<\/li>\n<\/ul>\n<\/li>\n<li>Case2:\n<ul>\n<li>user utterance: &#8220;<em>how is the climate today<\/em>&#8220;<\/li>\n<li>context:\n<pre>{\r\n  \"pattern\": \"how is the _[ climate temperature ]\u00a0 { at _~location } ~time\",\r\n  \"matchData\": {\r\n    \"_0\": \"climate\"\r\n    \"_2\": \"today\"\r\n  },\r\n  \"previousMatchData\": []\r\n}<\/pre>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>The context can be accessed from the child nodes under <em>previousMatchedData<\/em> array using: <code>context.smallTalk.previousMatchData[i].matchData._0<\/code> with the variable <em>i<\/em> taking the index value of 0, 1, and 2 based on the parent level.<br \/>\nThe JSON structure for the parent Small Talk context would be:<\/p>\n<pre>{\r\n  \"pattern\": \"That is nice\",\r\n  \"matchData\": {},\r\n  \"previousMatchData\": [\r\n    {\r\n      \"pattern\": \"I am from _~location Where are you from?\",\r\n      \"matchData\": {\r\n        \"_0\": \"chicago\"\r\n      }\r\n    },\r\n    {\r\n      \"pattern\": \"That is far.\",\r\n      \"matchData\": {}\r\n    }\r\n  ]\r\n}<\/pre>\n<\/li>\n<li>The context persists until one of the below scenarios occurs:\n<ul>\n<li>End of the session.<\/li>\n<li>A new primary Small Talk intent is detected.<\/li>\n<li>Any other intent which is not Small Talk is triggered.<\/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<h2><span class=\"ez-toc-section\" id=\"Train\">Train<\/span><\/h2>\n<p>Once you have made changes to the Small Talk, it needs to be trained for the bot to pick up the Small Talk. Click\u00a0 <strong>Train<\/strong> on the Small Talk editor screen to train the bot.<\/p>\n<p>NOTE: Importing a Small Talk file triggers the training automatically.<\/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<h2><span class=\"ez-toc-section\" id=\"Points_to_Note\">Points to Note<\/span><\/h2>\n<ul>\n<li>Only three levels of child nodes are allowed in Small talk.\u00a0The child questions are identified only if the corresponding parent level question was answered in the previous volley.<\/li>\n<li>The questions are evaluated in the order in which they are added in a group. It is advisable to add generic small talk at the end and specific small talk at the beginning (For example, <em>how is your day today<\/em> must be added first and then followed by <em>how are you<\/em>). You can re-order the primary questions after adding them.<\/li>\n<li>Groups are also evaluated in the order in which are added.<\/li>\n<li>Duplicate top-level questions, across all categories, are not allowed.<\/li>\n<li>Intents and Knowledge Collection will take precedence over Small Talk i.e. when Intents (or FAQs) and Small Talk are detected, preference is given to Intents (or FAQs).<\/li>\n<li>Any Small Talk identified is displayed after <strong>Ranking &amp; Resolver<\/strong>.<\/li>\n<li>Universal Bot:\n<ul>\n<li>If a user is in the context of a Universal bot, then the Universal bot\u2019s Small Talk is considered.<\/li>\n<li>If the user is in the context of a child bot, then the child bot\u2019s Small Talk is considered. However, if Small Talk from the corresponding child bot is not found, then the Universal bot\u2019s Small Talk is considered.<\/li>\n<\/ul>\n<\/li>\n<li>Small talk is <strong>language-specific.<\/strong> If your bot is multi-lingual, then you can design Small Talk in each of the enabled languages.<\/li>\n<li>Interruption Behavior for Small Talk is handled using the following options from <strong>Build &gt; Intelligence &gt; Manage Interruptions<\/strong>:\n<ul>\n<li><em>Respond to Small Talk and resume the on-hold task<\/em> &#8211; this is the default setting.<\/li>\n<li><em>Execute the Small Talk using Hold &amp; Resume settings<\/em>.<br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210617051752\/SmallTalk_interruptions-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-27737\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210617051752\/SmallTalk_interruptions-1.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210617051752\/SmallTalk_interruptions-1.png 1366w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210617051752\/SmallTalk_interruptions-1-300x169.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-2\/wp-content\/uploads\/sites\/26\/20210617051752\/SmallTalk_interruptions-1-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/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><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"Small Talk refers to the casual conversations that a bot can have with the end-users. The ability to engage end-users in casual conversations helps socialize your bot and improves the recall rates. The Small Talk conversation is designed as a series of interaction volleys between the bot and the user. Bots that can answer social...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[],"class_list":["post-22652","post","type-post","status-publish","format-standard","hentry","category-bot-builder-tool"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v9-2\/wp-json\/wp\/v2\/posts\/22652","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v9-2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v9-2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-2\/wp-json\/wp\/v2\/comments?post=22652"}],"version-history":[{"count":10,"href":"https:\/\/developer.kore.ai\/v9-2\/wp-json\/wp\/v2\/posts\/22652\/revisions"}],"predecessor-version":[{"id":30890,"href":"https:\/\/developer.kore.ai\/v9-2\/wp-json\/wp\/v2\/posts\/22652\/revisions\/30890"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v9-2\/wp-json\/wp\/v2\/media?parent=22652"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-2\/wp-json\/wp\/v2\/categories?post=22652"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-2\/wp-json\/wp\/v2\/tags?post=22652"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}