{"id":22652,"date":"2019-11-01T09:48:47","date_gmt":"2019-11-01T09:48:47","guid":{"rendered":"https:\/\/developer.kore.ai\/v7-3\/?p=22652"},"modified":"2020-01-24T07:07:08","modified_gmt":"2020-01-24T07:07:08","slug":"small-talk","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v7-3\/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. Ability to engage end-users in casual conversations helps socialize your bot and improves the recall rates.<\/p>\n<p>The Small Talk conversation can be designed as a series of interaction volleys between the Bot and the user. Bots that can answer social inputs like \u2018How Are You?\u2019 are more likely to create a positive impression for your bot and help build an invaluable connection with the user. Using Custom Small Talk feature build a personality and train the bot to conduct casual conversations around your areas of interest. You can also build nested conversations to answer follow-ups during a conversation and make the bot more engaging.<\/p>\n<p>This feature was introduced in ver 7.1 of Kore.ai Bot Builder platform. 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><\/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=\"Default_Small_Talk\">Default Small Talk<\/span><\/h2>\n<p>Small Talk is a Bot level task that can be configured as per your Bot needs. When you create a new Bot, the Small Talk of group <strong>greetings<\/strong> is generated by default.<\/p>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/15\/smallTalk-landing.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22287\" src=\"\/wp-content\/uploads\/sites\/15\/smallTalk-landing.png\" alt=\"\" width=\"1366\" height=\"768\" \/><\/a><\/p>\n<p>Note that when you open the Small Talk Task in an <span style=\"text-decoration: underline\">existing Bot<\/span>, 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 Standard Responses.<\/p>\n<p>NOTE that if you proceed with the migration, the Greetings will be permanently deleted from the Standard Responses section and cannot be retrieved.<\/p>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/15\/smallTalk-existingBot.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22288\" src=\"\/wp-content\/uploads\/sites\/15\/smallTalk-existingBot.png\" alt=\"\" width=\"1366\" height=\"768\" \/><\/a><\/p>\n<p>The following are the messages under Greetings group (these are the Standard Responses of Greeting and other categories that will be migrated to Small Talk once you choose to <strong>Proceed<\/strong>)<\/p>\n<table>\n<tbody>\n<tr>\n<th 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>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 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=\"\/wp-content\/uploads\/sites\/15\/smallTalk-greetings.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22607\" src=\"\/wp-content\/uploads\/sites\/15\/smallTalk-greetings.png\" alt=\"\" width=\"1366\" height=\"768\" \/><\/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 can be categorized into groups and assigned hierarchical structure. Greetings category will be 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 can be categorised into Groups.<\/li>\n<li><strong>User Queries<\/strong> &#8211; For each group you can add User Queries, Alternate Queries and Child Queries. Queries can be formed using patterns. <a href=\"\/v7-3\/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 should be associated with a Bot Response. These can be in plain text format, or in 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 a Small Talk, you need to start by adding a <strong>New Group.<\/strong><\/p>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/15\/smallTalk-create0.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22303\" src=\"\/wp-content\/uploads\/sites\/15\/smallTalk-create0.png\" alt=\"\" width=\"1366\" height=\"768\" \/><\/a><\/p>\n<p>Next, you need to add User Queries and Bot Responses.<\/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=\"\/wp-content\/uploads\/sites\/15\/smallTalk-landingMore.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22296\" src=\"\/wp-content\/uploads\/sites\/15\/smallTalk-landingMore.png\" alt=\"\" width=\"1366\" height=\"768\" \/><\/a><\/p>\n<ul>\n<li><strong>New Group<\/strong>:\n<ol>\n<li>From <strong>Bot Tasks -&gt; Small Talk<\/strong>, click the <strong>New Group<\/strong> button.<\/li>\n<li>Enter a <em>Name<\/em> and <strong>Proceed<\/strong>.<\/li>\n<\/ol>\n<\/li>\n<li><strong>Import<\/strong>: If you have already have Small Talk for your company, you can import the same. The file needs to be in a JSON or TSV format. You can download a sample file for the formatting details.\n<ol>\n<li>From <strong>Bot Tasks -&gt; Small Talk<\/strong>, click the <strong>more (ellipses)<\/strong> button.<\/li>\n<li>Select <strong>Import<\/strong> option<\/li>\n<li>Select the file containing the Small Talk and <strong>Next.<\/strong><\/li>\n<li>The import will start. Note that the existing Small Talk will be replaced with the Imported file.<\/li>\n<\/ol>\n<\/li>\n<li><strong>Modify<\/strong>:\n<ol>\n<li>You can click the existing Group and make changes to the same.<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<p>From the Small Talk editor that opens you can enter User Utterance &#8211; Bot Response pairs and <strong>Add<\/strong> to the list.<\/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=\"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 User Query in the <strong>User<\/strong> column and corresponding Bot Response in the <strong>Bot<\/strong> column.<\/li>\n<li>Hit <strong>Enter<\/strong> or <strong>Add<\/strong> to add the query-response pair to the list.<\/li>\n<li>Queries can be designed using patterns. <a href=\"\/v7-3\/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 will pick 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 <strong>child query<\/strong>. The child questions can be asked only when the parent question has been 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=\"\/wp-content\/uploads\/sites\/15\/smallTalk-create.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22297\" src=\"\/wp-content\/uploads\/sites\/15\/smallTalk-create.png\" alt=\"\" width=\"1366\" height=\"768\" \/><\/a><\/li>\n<li>Responses can be <strong>Channel specific<\/strong> and can be <strong>Java Script<\/strong> formatted. By clicking the <strong>settings (gear icon)<\/strong>, that appears next to the response when you hover over it opens the Manage Response window. Here:\n<ul>\n<li>Give a default message do 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 <em>New prompt message<\/em><\/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=\"\/v7-3\/docs\/bots\/sdks\/message-templates\/\" target=\"_blank\" rel=\"noopener noreferrer\">see here<\/a> for more on message formatting)<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/15\/smallTalk-manageResponse.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22291\" src=\"\/wp-content\/uploads\/sites\/15\/smallTalk-manageResponse.png\" alt=\"\" width=\"1366\" height=\"768\" \/><\/a><\/li>\n<li><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<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. Use the <strong>Train<\/strong> button on the Small Talk editor screen for training the Bot.<\/p>\n<p>NOTE: Importing a Small Talk file will trigger 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=\"Things_to_Note\">Things 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 (e.g. &#8216;how is your day today&#8217; should be added first and then followed by &#8216;how are you&#8217;). You can reorder 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 will be displayed after <strong>Ranking &amp; Resolver<\/strong>.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/15\/smallTalk-rnr.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22301\" src=\"\/wp-content\/uploads\/sites\/15\/smallTalk-rnr.png\" alt=\"\" width=\"1366\" height=\"768\" \/><\/a><\/li>\n<li><strong>Universal Bot<\/strong>:\n<ul>\n<li>If a user is in the context of Universal bot, then the Universal bot\u2019s Small Talk will be considered<\/li>\n<li>If the user is in the context of a child bot, then the child bot\u2019s Small Talk will be considered. However, if Small Talk from the corresponding child bot is not found, then the Universal Bot\u2019s Small Talk will be 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><strong>Interruption Behavior<\/strong> for Small Talk can be handled using the following options from <strong>Natural Language -&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=\"\/wp-content\/uploads\/sites\/15\/smallTalk-manageInterruption.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22300\" src=\"\/wp-content\/uploads\/sites\/15\/smallTalk-manageInterruption.png\" alt=\"\" width=\"1366\" height=\"768\" \/><\/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. Ability to engage end-users in casual conversations helps socialize your bot and improves the recall rates. The Small Talk conversation can be designed as a series of interaction volleys between the Bot and the user. Bots that can answer...","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\/v7-3\/wp-json\/wp\/v2\/posts\/22652","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v7-3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v7-3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-3\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-3\/wp-json\/wp\/v2\/comments?post=22652"}],"version-history":[{"count":4,"href":"https:\/\/developer.kore.ai\/v7-3\/wp-json\/wp\/v2\/posts\/22652\/revisions"}],"predecessor-version":[{"id":23104,"href":"https:\/\/developer.kore.ai\/v7-3\/wp-json\/wp\/v2\/posts\/22652\/revisions\/23104"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v7-3\/wp-json\/wp\/v2\/media?parent=22652"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-3\/wp-json\/wp\/v2\/categories?post=22652"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-3\/wp-json\/wp\/v2\/tags?post=22652"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}