{"id":22369,"date":"2019-08-27T08:20:08","date_gmt":"2019-08-27T07:20:08","guid":{"rendered":"https:\/\/developer.kore.ai\/v8-1\/?p=22369"},"modified":"2020-04-16T10:04:54","modified_gmt":"2020-04-16T09:04:54","slug":"how-to-use-traits","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v8-1\/docs\/bots\/how-tos\/how-to-use-traits\/","title":{"rendered":"How to Use Traits"},"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>In this How-To, we will explore a scenario in a Banking Bot, where traits can be used to steer the conversation flow in a more natural and predictable direction. For details on what Trait is and how it is implemented in the Kore.ai Bots platform, <a href=\"\/v8-1\/docs\/bots\/nlp\/traits\/\" target=\"_blank\" rel=\"noopener noreferrer\">refer here<\/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=\"Problem_Statement\">Problem Statement<\/span><\/h2>\n<p>Consider the cases where the user is trying to report an issue or ask a question pertaining to <em>&#8220;Transfer Funds&#8221;.<\/em> The Bot will trigger the <em>&#8220;Transfer Amount&#8221;<\/em> intent as opposed to <em>&#8220;Issue Resolution&#8221;<\/em> or <em>&#8220;FAQ regarding Funds Transfer&#8221;<\/em><\/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><div class=\"g-cols wpb_row  type_default valign_top vc_inner \"><div class=\"vc_col-sm-6 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>Without Traits Knowledge<\/strong>:<\/p>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/18\/trait-uc.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22372\" src=\"\/wp-content\/uploads\/sites\/18\/trait-uc.png\" alt=\"\" width=\"503\" height=\"277\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101758\/trait-uc.png 503w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101758\/trait-uc-300x165.png 300w\" sizes=\"auto, (max-width: 503px) 100vw, 503px\" \/><\/a><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<\/div><\/div><\/div><div class=\"vc_col-sm-6 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>Using Traits<\/strong>:<\/p>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/18\/trait-uc-final.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22373\" src=\"\/wp-content\/uploads\/sites\/18\/trait-uc-final.png\" alt=\"\" width=\"499\" height=\"297\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101758\/trait-uc-final.png 499w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101758\/trait-uc-final-300x179.png 300w\" sizes=\"auto, (max-width: 499px) 100vw, 499px\" \/><\/a><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<\/div><\/div><\/div><\/div><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 class=\"g-cols wpb_row  type_default valign_top vc_inner \"><div class=\"vc_col-sm-6 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>Without Traits Knowledge<\/strong>:<\/p>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/18\/trait-faq-uc.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22383\" src=\"\/wp-content\/uploads\/sites\/18\/trait-faq-uc.png\" alt=\"\" width=\"495\" height=\"347\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101756\/trait-faq-uc.png 495w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101756\/trait-faq-uc-300x210.png 300w\" sizes=\"auto, (max-width: 495px) 100vw, 495px\" \/><\/a><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<\/div><\/div><\/div><div class=\"vc_col-sm-6 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>Using Traits<\/strong>:<\/p>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/18\/trait-faq-uc-final.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22384\" src=\"\/wp-content\/uploads\/sites\/18\/trait-faq-uc-final.png\" alt=\"\" width=\"494\" height=\"506\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101756\/trait-faq-uc-final.png 494w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101756\/trait-faq-uc-final-293x300.png 293w\" sizes=\"auto, (max-width: 494px) 100vw, 494px\" \/><\/a><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<\/div><\/div><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<p>In this document, we will show how Traits can be used to identify such situations and take appropriate action.<\/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=\"Pre-requisites\">Pre-requisites<\/span><\/h2>\n<ul>\n<li>Bot building knowledge<\/li>\n<li>A <a href=\"\/v8-1\/docs\/bots\/how-tos\/creating-a-banking-bot\/\" target=\"_blank\" rel=\"noopener noreferrer\">Banking Bot<\/a> with the dialogs as mentioned below:\n<ul>\n<li><a href=\"\/v8-1\/docs\/bots\/how-tos\/banking-bot-transfer-funds\/\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>Transfer Funds<\/strong><\/a>\u00a0&#8211; Dialog task prompting the user for Payer and Payee account numbers and the amount to be transferred and transferring the specified amount from the payer account to the payee account.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/18\/transferAmount1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22350\" src=\"\/wp-content\/uploads\/sites\/18\/transferAmount1.png\" alt=\"\" width=\"1058\" height=\"292\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101802\/transferAmount1.png 1058w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101802\/transferAmount1-300x83.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101802\/transferAmount1-1024x283.png 1024w\" sizes=\"auto, (max-width: 1058px) 100vw, 1058px\" \/><\/a><\/li>\n<li><strong>Issue Resolution\u00a0<\/strong>&#8211; Dialog task to assist in any issues faced by the user. It would display a regret message and transfer to a Live Agent.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/18\/trait-intent.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22374\" src=\"\/wp-content\/uploads\/sites\/18\/trait-intent.png\" alt=\"\" width=\"856\" height=\"167\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101758\/trait-intent.png 856w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101758\/trait-intent-300x59.png 300w\" sizes=\"auto, (max-width: 856px) 100vw, 856px\" \/><\/a><\/li>\n<li><strong>Knowledge Collection<\/strong> &#8211; A node &#8220;transfer funds&#8221; with an FAQ\u00a0 <em>&#8220;How do I transfer funds&#8221;<\/em><br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/18\/trait-faq.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22392\" src=\"\/wp-content\/uploads\/sites\/18\/trait-faq.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101754\/trait-faq.png 1366w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101754\/trait-faq-300x169.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101754\/trait-faq-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>\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=\"Implementation\">Implementation<\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"Intent_Detection_using_Traits\">Intent Detection using Traits<\/span><\/h3>\n<p>We will be using Trait to steer the conversation to &#8220;Issue Resolution&#8221; when the word &#8220;issue&#8221; is present in the User Utterance.<\/p>\n<p><strong>Steps<\/strong>:<\/p>\n<ol>\n<li>From\u00a0<strong>Natural Language -&gt; Training<\/strong> open the\u00a0<strong>Traits\u00a0<\/strong>page.<\/li>\n<li>Click\u00a0<strong>Add New Trait.<\/strong> We will be using a trait to identify the existence of issue in the user utterance.\n<ol>\n<li>Add a\u00a0<strong>Trait Type<\/strong> as\u00a0<em>Problem Statement,\u00a0<\/em>and <strong>Traits<\/strong> as <em>issue<\/em>. A given Trait Type can have multiple Traits grouped together logically.<\/li>\n<li>Optionally you can add utterances for Issues as <em>&#8216;problem&#8217;, &#8216;unable to&#8217;<\/em>, and <em>&#8216;not working&#8217;.\u00a0<\/em>These are the alternate words that user might use to indicate an issue.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/18\/trait-creation.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22378\" src=\"\/wp-content\/uploads\/sites\/18\/trait-creation.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101757\/trait-creation.png 1366w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101757\/trait-creation-300x169.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101757\/trait-creation-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/li>\n<li><strong>Save\u00a0<\/strong> the Trait.<\/li>\n<\/ol>\n<\/li>\n<li>Click\u00a0<strong>Add New Rule<\/strong>. We will be defining the intent that needs to be triggered in the presence of this Issue trait.\n<ol>\n<li><strong>Select Intent<\/strong> &#8211; <em>Issue Resolution<\/em> to be triggered in presence of the trait.<\/li>\n<li>Add the\u00a0<strong>Trait Rules<\/strong> &#8211; <em>issue <\/em>as the trait that should trigger the above selected intent.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/18\/trait-rule-map.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22379\" src=\"\/wp-content\/uploads\/sites\/18\/trait-rule-map.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101757\/trait-rule-map.png 1366w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101757\/trait-rule-map-300x169.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101757\/trait-rule-map-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/li>\n<li><strong>Save<\/strong> the Trait Mapping<\/li>\n<\/ol>\n<\/li>\n<li><strong>Train<\/strong> the Traits.<\/li>\n<li>Open the Issue Resolution Intent to see the Trait\u00a0<strong>Rules<\/strong> under the\u00a0<strong>NLP<\/strong> properties panel updated with the\u00a0<em>issue<\/em> trait.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/18\/trait-rule-intent.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22380\" src=\"\/wp-content\/uploads\/sites\/18\/trait-rule-intent.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101757\/trait-rule-intent.png 1366w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101757\/trait-rule-intent-300x169.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101757\/trait-rule-intent-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/li>\n<li>Run the Bot and see the changed flow.<\/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<h3><span class=\"ez-toc-section\" id=\"Knowledge_Intent_using_Traits\">Knowledge Intent using Traits<\/span><\/h3>\n<p>Here we will see how to drive the query from user to appropriate FAQ instead of the dialog task.<\/p>\n<p><strong>Steps<\/strong><\/p>\n<ol>\n<li>From\u00a0<strong>Natural Language -&gt; Training<\/strong> open\u00a0<strong>Traits<\/strong> dialog.<\/li>\n<li>Click\u00a0<strong>Add New Trait.<\/strong> We will be using a trait to identify the existence of question in the user utterance.\n<ol>\n<li>Add a\u00a0<strong>Trait Type<\/strong> as\u00a0<em>Enquiry, <\/em>and <strong>Traits<\/strong> as <em>ask<\/em>. A given Trait Type can have multiple Traits grouped together logically.<\/li>\n<li>Optionally you can add utterances for Issues as <em>&#8216;wondering&#8217;,\u00a0 <\/em>and <em>&#8216;want to know&#8217;<\/em><em>.\u00a0<\/em>These are the alternate words that user might use to indicate an enquiry.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/18\/trait-faq-creation.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22385\" src=\"\/wp-content\/uploads\/sites\/18\/trait-faq-creation.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101756\/trait-faq-creation.png 1366w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101756\/trait-faq-creation-300x169.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101756\/trait-faq-creation-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/li>\n<li><strong>Save\u00a0<\/strong> the Trait.<\/li>\n<li><strong>Train<\/strong> the Traits.<\/li>\n<\/ol>\n<\/li>\n<li>Associate the Trait to the FAQ\n<ol>\n<li>Open the <strong>Knowledge Collection<\/strong> and hover over the node with the question pertaining to Transfer Funds.<\/li>\n<li>Click the Settings or gear icon<\/li>\n<li>Under <strong>Traits<\/strong> type and select <em>ask<\/em> trait.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/18\/trait-faq-mapping.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22386\" src=\"\/wp-content\/uploads\/sites\/18\/trait-faq-mapping.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101755\/trait-faq-mapping.png 1366w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101755\/trait-faq-mapping-300x169.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101755\/trait-faq-mapping-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/li>\n<\/ol>\n<\/li>\n<li>Run the Bot. You will see that the Bot is still going to the <em>&#8220;Transfer Funds&#8221;\u00a0<\/em>intent.<\/li>\n<li>To understand the reason behind this:\n<ol>\n<li>Open\u00a0<strong>Traning -&gt; Utterance Testing.<\/strong><\/li>\n<li>Type the utterance, you will see that the\u00a0<strong>Trait<\/strong> has been identified.<\/li>\n<li>Select the <strong>Ranking and Resolver<\/strong>. You will see that both the intent and FAQ were identified but the intent got a higher score.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/18\/trait-faq-rr.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22390\" src=\"\/wp-content\/uploads\/sites\/18\/trait-faq-rr.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101754\/trait-faq-rr.png 1366w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101754\/trait-faq-rr-300x169.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101754\/trait-faq-rr-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/li>\n<\/ol>\n<\/li>\n<li>To ensure that the intent is not selected, we will add a\u00a0<strong>Negative Pattern<\/strong> to the <em>&#8220;Transfer Funds&#8221;<\/em> intent.\n<ol>\n<li>Under\u00a0<strong>Natural Language -&gt; Training<\/strong> open\u00a0<strong>Advanced Settings<\/strong>.<\/li>\n<li><em>Enable<\/em><strong> Negative Patterns<\/strong>. This will add\u00a0<em>Negative Patterns\u00a0<\/em>tab.<\/li>\n<li>Select\u00a0<strong>Negative Patterns.<\/strong><\/li>\n<li>Search for <em>&#8220;Transfer Funds&#8221;<\/em> intent and add <em>&#8220;know more&#8221;<\/em> as the negative pattern. This will ensure that the &#8216;Transfer Funds&#8217; intent is not identified when &#8216;<em>know more<\/em>&#8216; is present in the user utterance.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/18\/trait-faq-negpattern.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22388\" src=\"\/wp-content\/uploads\/sites\/18\/trait-faq-negpattern.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101755\/trait-faq-negpattern.png 1366w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101755\/trait-faq-negpattern-300x169.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101755\/trait-faq-negpattern-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/li>\n<li>Check the Utterance Training.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/18\/trait-faq-rr2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22387\" src=\"\/wp-content\/uploads\/sites\/18\/trait-faq-rr2.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101755\/trait-faq-rr2.png 1366w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101755\/trait-faq-rr2-300x169.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101755\/trait-faq-rr2-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/li>\n<\/ol>\n<\/li>\n<li>Run the Bot and see the change.<\/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><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"In this How-To, we will explore a scenario in a Banking Bot, where traits can be used to steer the conversation flow in a more natural and predictable direction. For details on what Trait is and how it is implemented in the Kore.ai Bots platform, refer here. Problem Statement Consider the cases where the user...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[74],"tags":[],"class_list":["post-22369","post","type-post","status-publish","format-standard","hentry","category-how-tos"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/posts\/22369","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/comments?post=22369"}],"version-history":[{"count":9,"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/posts\/22369\/revisions"}],"predecessor-version":[{"id":27178,"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/posts\/22369\/revisions\/27178"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/media?parent=22369"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/categories?post=22369"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/tags?post=22369"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}