{"id":23019,"date":"2019-12-18T06:41:01","date_gmt":"2019-12-18T06:41:01","guid":{"rendered":"https:\/\/developer.kore.ai\/v8-0\/?p=23019"},"modified":"2021-03-26T06:41:36","modified_gmt":"2021-03-26T06:41:36","slug":"how-to-build-knowledge-graph","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v8-0\/docs\/bots\/how-tos\/how-to-build-knowledge-graph\/","title":{"rendered":"How to build Knowledge Graph"},"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>This How To helps to quickly build and understand the working of a Knowledge Graph for your bot. It shows how to convert an FAQ into ontology, add tags, use terms, add alternate questions, synonyms, tags, and traits.<\/p>\n<p>For the implementation details, <a href=\"\/docs\/bots\/bot-builder-tool\/knowledge-task\/knowledge-ontology\/\" target=\"_blank\" rel=\"noopener noreferrer\">refer here<\/a>.<\/p>\n<p>Throughout this example we will be dealing with the following FAQs related to a banking bot:<\/p>\n<ul>\n<li>How do I apply for a debit card?<\/li>\n<li>How do I apply for a checkbook?<\/li>\n<li>How do I open a Joint account?<\/li>\n<li>Can I add a joint account holder?<\/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=\"Static_FAQ\"><b>Static FAQ<\/b><\/span><\/h2>\n<p>Let us start by creating a static FAQ one without an ontology.<\/p>\n<p><strong>Steps in adding a static FAQ<\/strong>:<\/p>\n<ol>\n<li>Open the Bot and go the <b>Bot Tasks -&gt; Knowledge Graph<\/b><span style=\"font-weight: 400\"> section.<\/span><\/li>\n<li>Click <b>Create<\/b> to create a Knowledge Graph.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/KGTut-KG.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23024\" src=\"\/wp-content\/uploads\/sites\/16\/KGTut-KG.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095853\/KGTut-KG.png 1366w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095853\/KGTut-KG-300x169.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095853\/KGTut-KG-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/li>\n<li>A Knowledge Graph with the name set to the Bot Name will be created.<\/li>\n<li>Use the <b>Add Q&amp;A<\/b> button to start entering your FAQs<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/KGTut-KGcreate.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23025\" src=\"\/wp-content\/uploads\/sites\/16\/KGTut-KGcreate.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095852\/KGTut-KGcreate.png 1366w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095852\/KGTut-KGcreate-300x169.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095852\/KGTut-KGcreate-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/li>\n<li><b>Add Question<\/b> and <b>Bot Response<\/b> and <b>Save<\/b><br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/KGTut-faqaddnsave.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23026\" src=\"\/wp-content\/uploads\/sites\/16\/KGTut-faqaddnsave.png\" alt=\"\" width=\"915\" height=\"703\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095852\/KGTut-faqaddnsave.png 915w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095852\/KGTut-faqaddnsave-300x230.png 300w\" sizes=\"auto, (max-width: 915px) 100vw, 915px\" \/><\/a><\/li>\n<li>Use the <strong>Add Intent<\/strong> button to add more Q&amp;As.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/KGTut-faqaddmore.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23027\" src=\"\/wp-content\/uploads\/sites\/16\/KGTut-faqaddmore.png\" alt=\"\" width=\"909\" height=\"265\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095852\/KGTut-faqaddmore.png 909w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095852\/KGTut-faqaddmore-300x87.png 300w\" sizes=\"auto, (max-width: 909px) 100vw, 909px\" \/><\/a><\/li>\n<li>Once you have entered all the Q&amp;As, <b>Train <\/b>the Knowledge Graph.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/KGTut-faqtrain.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23028\" src=\"\/wp-content\/uploads\/sites\/16\/KGTut-faqtrain.png\" alt=\"\" width=\"915\" height=\"583\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095851\/KGTut-faqtrain.png 915w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095851\/KGTut-faqtrain-300x191.png 300w\" sizes=\"auto, (max-width: 915px) 100vw, 915px\" \/><\/a><\/li>\n<li>Use the <b>Talk to Bot<\/b> to check the Bot response for the added Q&amp;As.<\/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=\"Tags\"><b>Tags<\/b><\/span><\/h2>\n<ul>\n<li><span style=\"text-decoration: underline\">Issue<\/span>: Try the utterance \u201chow do i apply for a credit card?\u201d<br \/>\nWe will get did you mean dialog with reference to a question pertaining to Debit Card, which is not appropriate in this scenario. Ideally, we should see an \u201cI don\u2019t know\u201d response as you get for a totally unrelated query regarding weather.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/KGTut-faqTalk.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23029\" src=\"\/wp-content\/uploads\/sites\/16\/KGTut-faqTalk.png\" alt=\"\" width=\"501\" height=\"687\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095851\/KGTut-faqTalk.png 501w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095851\/KGTut-faqTalk-219x300.png 219w\" sizes=\"auto, (max-width: 501px) 100vw, 501px\" \/><\/a><\/li>\n<\/ul>\n<p>Solution:<\/p>\n<p>To overcome the above situation, we can add <strong>tags<\/strong> to each question. Tags will help filter the FAQs based upon the presence of some key phrases in the user utterance.<\/p>\n<p><strong>Steps in adding Tags<\/strong>:<\/p>\n<ol>\n<li>Hover over the Question to find the <strong>edit<\/strong> icon.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/KGTut-faqedit.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23030\" src=\"\/wp-content\/uploads\/sites\/16\/KGTut-faqedit.png\" alt=\"\" width=\"913\" height=\"527\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095851\/KGTut-faqedit.png 913w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095851\/KGTut-faqedit-300x173.png 300w\" sizes=\"auto, (max-width: 913px) 100vw, 913px\" \/><\/a><\/li>\n<li>Click the edit icon to add a tag to the question.<\/li>\n<li>In the <b>add tag<\/b><span style=\"font-weight: 400\"> text box, you will find some suggestions by the platform based on the phrases present in the question. You can pick one from the list or type your own custom tag.<\/span><\/li>\n<li>For this use case, we will pick the \u201cdebit card\u201d tag as suggested by the platform and <b>Save<\/b><span style=\"font-weight: 400\"> the changes.<\/span><br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/KGTut-tags.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23031\" src=\"\/wp-content\/uploads\/sites\/16\/KGTut-tags.png\" alt=\"\" width=\"911\" height=\"291\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095850\/KGTut-tags.png 911w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095850\/KGTut-tags-300x96.png 300w\" sizes=\"auto, (max-width: 911px) 100vw, 911px\" \/><\/a><\/li>\n<li>Similarly, add \u201ccheckbook\u201d for the \u201cHow to apply for checkbook\u201d question.<\/li>\n<li><b>Train<\/b> the bot.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/KGTut-tagsTrain.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23032\" src=\"\/wp-content\/uploads\/sites\/16\/KGTut-tagsTrain.png\" alt=\"\" width=\"915\" height=\"573\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095850\/KGTut-tagsTrain.png 915w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095850\/KGTut-tagsTrain-300x188.png 300w\" sizes=\"auto, (max-width: 915px) 100vw, 915px\" \/><\/a><\/li>\n<li><b>Talk to the Bot<\/b>, use the same utterance \u201chow do i apply for a credit card?\u201d<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/KGTut-tagsTAlk.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23033\" src=\"\/wp-content\/uploads\/sites\/16\/KGTut-tagsTAlk.png\" alt=\"\" width=\"501\" height=\"629\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095850\/KGTut-tagsTAlk.png 501w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095850\/KGTut-tagsTAlk-239x300.png 239w\" sizes=\"auto, (max-width: 501px) 100vw, 501px\" \/><\/a><\/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=\"Ontology\"><b>Ontology<\/b><\/span><\/h2>\n<p>As seen above tags do improve Bot response, but we need to add tags for each and every question.  This solution may not be feasible in case we have a big list of FAQs. Also, more than one question can have a tag(s) in common.<\/p>\n<p><span style=\"text-decoration: underline\">Solution<\/span>: Ontology. Based on crucial words and frequently occurring words\/phrases, FAQs can be organized into groups and subgroups.<\/p>\n<p><strong>Example of Ontology<\/strong>: Continuing with the Banking bot FAQ example, we can organize the questions thus:<\/p>\n<ul>\n<li>Apply\n<ul>\n<li>Debit Card\n<ul>\n<li>How do I apply for a debit card?<\/li>\n<\/ul>\n<\/li>\n<li>Checkbook\n<ul>\n<li>How do I apply for a credit card?<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>Joint account\n<ul>\n<li>How do I open a Joint account?<\/li>\n<li>Can I add a joint account holder?<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>Each group can be a node in the ontology. You can have multiple levels of the nodes forming a hierarchical structure. Moving the relevant FAQs (intents) to the nodes will associate that FAQ with the corresponding node name set as a tag.<\/p>\n<p><strong>Steps in creating ontology<\/strong><\/p>\n<ol>\n<li>Hover over the Knowledge Graph name on the left panel and click <b>+<\/b> icon to <strong>Add Child Node<\/strong>.<\/li>\n<li>Add the Nodes as \u201c<i>Apply<\/i>\u201d and \u201c<i>Joint Account<\/i>\u201d.<br \/><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/KGTut-Nodeadd.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23035\" src=\"\/wp-content\/uploads\/sites\/16\/KGTut-Nodeadd.png\" alt=\"\" width=\"457\" height=\"311\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095849\/KGTut-Nodeadd.png 457w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095849\/KGTut-Nodeadd-300x204.png 300w\" sizes=\"auto, (max-width: 457px) 100vw, 457px\" \/><\/a><\/li>\n<li>To add subgroups, hover over the node and use the corresponding <b>+<\/b><span style=\"font-weight: 400\"> icon to add child nodes.<\/span><\/li>\n<li>Select the questions pertaining to Joint Account and drag and drop them to the Joint Account node.<\/li>\n<li>Repeat the process for questions related to Apply, Debit Card and Checkbook nodes.<br \/><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/KGTut-NodeQDnd.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23036\" src=\"\/wp-content\/uploads\/sites\/16\/KGTut-NodeQDnd.png\" alt=\"\" width=\"1366\" height=\"411\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095849\/KGTut-NodeQDnd.png 1366w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095849\/KGTut-NodeQDnd-300x90.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095849\/KGTut-NodeQDnd-1024x308.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/li>\n<li>You will notice the path gets updated accordingly.<br \/><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/KGTut-Nodepath.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23037\" src=\"\/wp-content\/uploads\/sites\/16\/KGTut-Nodepath.png\" alt=\"\" width=\"911\" height=\"503\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095849\/KGTut-Nodepath.png 911w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095849\/KGTut-Nodepath-300x166.png 300w\" sizes=\"auto, (max-width: 911px) 100vw, 911px\" \/><\/a><\/li>\n<li>Edit a question and see that the node name has been added as a tag.<\/li>\n<li>This will ensure that this question will be qualified for a user utterance containing the term\/node name. Note that the tags you added earlier are retained and you can delete them, whereas the node names cannot be deleted.<br \/><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/KGTut-NodeTag.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23038\" src=\"\/wp-content\/uploads\/sites\/16\/KGTut-NodeTag.png\" alt=\"\" width=\"1360\" height=\"291\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095848\/KGTut-NodeTag.png 1360w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095848\/KGTut-NodeTag-300x64.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095848\/KGTut-NodeTag-1024x219.png 1024w\" sizes=\"auto, (max-width: 1360px) 100vw, 1360px\" \/><\/a><\/li>\n<li><b>Train<\/b> the Knowledge Graph and <b>Talk to Bot.<\/b><\/li>\n<li>There should not be any changes in the Bot responses.<\/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=\"Term_Usage\"><b>Term Usage<\/b><\/span><\/h2>\n<p>By default, the node names or terms are used in evaluating the path and coming up with a set of qualified questions. You can tighten or relax this rule by either making the term mandatory in the utterance or marking the term\/node as organizer respectively.<\/p>\n<p>Before proceeding, let us add a few more nodes questions to our Knowledge Collection:<\/p>\n<ul>\n<li>Account\n<ul>\n<li>How do I open an account?<\/li>\n<li>How do I access my account?<\/li>\n<li>How do I check my account balance?<\/li>\n<li>How do I access my account online?<\/li>\n<\/ul>\n<\/li>\n<li>Contact\n<ul>\n<li>Who do I contact in case of an issue?<\/li>\n<li>What is your help line number?<\/li>\n<\/ul>\n<\/li>\n<li>Complaints\n<ul>\n<li>Where can I register my query\/complaints?<\/li>\n<\/ul>\n<\/li>\n<li>Issues\n<ul>\n<li>How do I report a stolen card?<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><b>Use Case 1<\/b>: We want to ensure that the intents regarding \u201c<em>Joint Account<\/em>\u201d should be considered only when the user asked a direct question regarding the same. Any ambiguous cases should consider the Account node and not the Joint Account node.<\/p>\n<p>To address this case, we would mark the term Joint Account as <b>Mandatory<\/b><span style=\"font-weight: 400\">. This would help improve the bot performance, too.<\/span><\/p>\n<p><strong>Steps<\/strong>:<\/p>\n<ol>\n<li>Hover over the node, in this case Joint Account, and click on the <b>settings icon<\/b><span style=\"font-weight: 400\">.<\/span><\/li>\n<li>From the Settings page, under <strong>Term Usage<\/strong> section select the <b>Mandatory<\/b> radio button.<\/li>\n<li><b>Save<\/b> and <b>Train<\/b> the Knowledge Collection.<\/li>\n<li>Now the questions under this node will be considered only if the user utterance has the node name, Joint Account in this case.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/KGTut-NodeMand.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23041\" src=\"\/wp-content\/uploads\/sites\/16\/KGTut-NodeMand.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095848\/KGTut-NodeMand.png 1366w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095848\/KGTut-NodeMand-300x169.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095848\/KGTut-NodeMand-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/li>\n<\/ol>\n<p><b>Use Case 2<\/b>: Consider the following FAQs.<\/p>\n<ul>\n<li>Contact\n<ul>\n<li>Who do I contact in case of an issue?<\/li>\n<li>What is your help line number?<\/li>\n<\/ul>\n<\/li>\n<li>Complaints\n<ul>\n<li>Where can I register my query\/complaints?<\/li>\n<\/ul>\n<\/li>\n<li>Issues\n<ul>\n<li>How do I report a stolen card?<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>Though they do not have any phrases or terms in common, they are related to \u201c<em>Customer Care<\/em>\u201d. For ease of understanding, we can put them under a node by the same name and mark it as <b>Organizer<\/b> node, ensuring that the intents get qualified without the need to have the term phrase in the user utterance.<\/p>\n<p><strong>Steps<\/strong>:<\/p>\n<ol>\n<li>Create a node <em>&#8220;Customer Care&#8221;<\/em><\/li>\n<li>Drag and drop the above three nodes to this new node.<\/li>\n<li>Hover over the node, in this case Customer Care, and click on the <b>settings icon<\/b><span style=\"font-weight: 400\">.<\/span><\/li>\n<li>From the Settings page, select <b>Organizer<\/b> radio button.<\/li>\n<li><strong>Save<\/strong>and <b>Train<\/b> the Knowledge Collection.<\/li>\n<li>Now the questions under this node will be considered even if the user utterance does not include the node name.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/KGTut-NodeOrg.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23042\" src=\"\/wp-content\/uploads\/sites\/16\/KGTut-NodeOrg.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095848\/KGTut-NodeOrg.png 1366w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095848\/KGTut-NodeOrg-300x169.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095848\/KGTut-NodeOrg-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/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=\"Synonyms\"><b>Synonyms<\/b><\/span><\/h2>\n<p><strong>Use Case<\/strong>: Try \u201cHow do I get a debit card?\u201d you will get suggestive match not definitive. The reason being the Bot does not understand \u201cget\u201d as being the same as \u201capply\u201d.<\/p>\n<p><span style=\"text-decoration: underline\">Solution<\/span>: Synonyms<\/p>\n<p><strong>Steps in adding synonyms<\/strong>:<\/p>\n<ol>\n<li>Hover over the \u201cApply\u201d node and click <b>settings icon<\/b>.<\/li>\n<li>In the <b>Path Level Synonyms<\/b>, add \u201cget\u201d.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/KGTut-NodeSyn.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23044\" src=\"\/wp-content\/uploads\/sites\/16\/KGTut-NodeSyn.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095847\/KGTut-NodeSyn.png 1366w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095847\/KGTut-NodeSyn-300x169.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095847\/KGTut-NodeSyn-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/li>\n<li><b>Save<\/b> and <b>Train<\/b> the Bot.<\/li>\n<li><strong>Talk to Bot<\/strong> and use the same query \u201c<em>How to I get a debit card?<\/em>\u201d<\/li>\n<li>Try \u201c<em>How do I get a checkbook<\/em>\u201d and you will see that the synonym works here also. This is because we added the synonym at path level and it is applicable to all nodes and questions under that path\/node.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/KGTut-NodeSynTalk.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23045\" src=\"\/wp-content\/uploads\/sites\/16\/KGTut-NodeSynTalk.png\" alt=\"\" width=\"499\" height=\"633\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095847\/KGTut-NodeSynTalk.png 499w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095847\/KGTut-NodeSynTalk-236x300.png 236w\" sizes=\"auto, (max-width: 499px) 100vw, 499px\" \/><\/a><\/li>\n<li>Similarly, we can define <b>Knowledge Graph Synonym<\/b> if it is applicable to the entire knowledge graph.<\/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=\"Alternate_Questions\"><b>Alternate Questions<\/b><\/span><\/h2>\n<p>Some questions have multiple ways the user can approach them.<\/p>\n<ul>\n<li>Is there a way to see my account details from my laptop?<\/li>\n<li>Is there a mobile app that I can use to access my account?<\/li>\n<li>Does your bank support internet banking to view account details?<\/li>\n<\/ul>\n<p>All these questions pertain to one intent &#8211; \u201cHow do I access my account online?\u201d. But instead of adding all these Q&amp;As as intents and repeat the response and the settings, if any, you can add these questions as alternate questions.<\/p>\n<p><strong>Steps in adding alternate questions<\/strong>:<\/p>\n<ol>\n<li>Hover over the question, in this case \u201cHow do I access my account online?\u201d, and click the <b>edit icon<\/b>.<\/li>\n<li>In the <b>Add alternate question<\/b> enter the question.<\/li>\n<li>Add all the three queries mentioned above.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/KGTut-altQs.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23046\" src=\"\/wp-content\/uploads\/sites\/16\/KGTut-altQs.png\" alt=\"\" width=\"911\" height=\"587\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095847\/KGTut-altQs.png 911w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095847\/KGTut-altQs-300x193.png 300w\" sizes=\"auto, (max-width: 911px) 100vw, 911px\" \/><\/a><\/li>\n<li><b>Save<\/b>, <b>Train<\/b>, and <b>Talk to the Bot<\/b>.<\/li>\n<li>Entering any of the above three questions will yield the same response as the question \u201cHow do I access my account online?\u201d.<\/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=\"Tasks_Execution\"><b>Tasks Execution<\/b><\/span><\/h2>\n<p>Consider the query \u201cHow do I check my account balance?\u201d. If the Bot has a task which can give the balance, we can direct the user to the same, instead of asking the user to use the utterance to trigger the task.<\/p>\n<p><strong>Steps in triggering a task<\/strong>:<\/p>\n<ol>\n<li>Before proceeding, ensure that you have a Task defined for \u201cCheck Balance\u201d. We have a dummy dialog which displays a message.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/KGTut-DialogTask.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23048\" src=\"\/wp-content\/uploads\/sites\/16\/KGTut-DialogTask.png\" alt=\"\" width=\"627\" height=\"217\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095846\/KGTut-DialogTask.png 627w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095846\/KGTut-DialogTask-300x104.png 300w\" sizes=\"auto, (max-width: 627px) 100vw, 627px\" \/><\/a><\/li>\n<li>Add the <b>Add Intent<\/b><span style=\"font-weight: 400\"> \u201c<em>How do I check my account balance?<\/em>\u201d<\/span><\/li>\n<li>Set <b>Intent<\/b> to \u201c<em>Task<\/em>\u201d<\/li>\n<li>From the drop-down pick the Dialog Task name &#8211; here, Check Balance<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/KGTut-Task.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23049\" src=\"\/wp-content\/uploads\/sites\/16\/KGTut-Task.png\" alt=\"\" width=\"911\" height=\"397\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095846\/KGTut-Task.png 911w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095846\/KGTut-Task-300x131.png 300w\" sizes=\"auto, (max-width: 911px) 100vw, 911px\" \/><\/a><\/li>\n<li><b>Save<\/b> and <b>Train<\/b> the Knowledge Graph.<\/li>\n<li><strong>Talk to bot<\/strong> with the utterance <em>&#8220;How do I check my account balance?&#8221;<\/em> will trigger the &#8220;Check Balance&#8221; task.<\/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=\"Tags_in_Ontology\"><b>Tags in Ontology<\/b><\/span><\/h2>\n<p><span style=\"text-decoration: underline\">Use Case<\/span>: \u201c<em>Does your bank give passbook to view account details?<\/em>\u201d You will get Did you mean \u201cHow do I access my account online?\u201d.<\/p>\n<p>The reason being the alternate question for online account access &#8211; \u201cDoes your bank support internet banking to view account details?\u201d is a very close match to the above query. You can avoid such situations by adding a tag \u201cinternet banking\u201d and marking it as mandatory to the alternate question \u201cDoes your bank support internet banking to view account details?\u201d<\/p>\n<p><span style=\"text-decoration: underline\">Solution<\/span>: Custom Tags<\/p>\n<p><strong>Steps in adding tags<\/strong>:<\/p>\n<ol>\n<li>Edit the question \u201cHow do I access my account online?\u201d<\/li>\n<li>For the alternate question \u201cDoes your bank support internet banking to view account details?\u201d\n<ol>\n<li>Add tag \u201c<i>internet-banking<\/i>\u201d<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/KGTut-altQs-tagsAdd.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23050\" src=\"\/wp-content\/uploads\/sites\/16\/KGTut-altQs-tagsAdd.png\" alt=\"\" width=\"907\" height=\"487\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095846\/KGTut-altQs-tagsAdd.png 907w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095846\/KGTut-altQs-tagsAdd-300x161.png 300w\" sizes=\"auto, (max-width: 907px) 100vw, 907px\" \/><\/a><\/li>\n<li>Click the tag to open Tag Settings dialog and set the <b>Mandatory<\/b> flag.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/KGTut-altQs-tagsSettings.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23051\" src=\"\/wp-content\/uploads\/sites\/16\/KGTut-altQs-tagsSettings.png\" alt=\"\" width=\"899\" height=\"763\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095845\/KGTut-altQs-tagsSettings.png 899w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095845\/KGTut-altQs-tagsSettings-300x255.png 300w\" sizes=\"auto, (max-width: 899px) 100vw, 899px\" \/><\/a><\/li>\n<li>Click <b>Done<\/b><\/li>\n<\/ol>\n<\/li>\n<li>Repeat for the alternate question \u201cIs there a mobile app that I can use to access my account?\u201d with the tag \u201cmobile app\u201d<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/KGTut-altQs-tags.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23052\" src=\"\/wp-content\/uploads\/sites\/16\/KGTut-altQs-tags.png\" alt=\"\" width=\"911\" height=\"485\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095845\/KGTut-altQs-tags.png 911w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095845\/KGTut-altQs-tags-300x160.png 300w\" sizes=\"auto, (max-width: 911px) 100vw, 911px\" \/><\/a><\/li>\n<li><strong>Save<\/strong>and <strong>Train<\/strong> the bot<\/li>\n<li>Now <b>Talk to the Bot<\/b> and see the response.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/KGTut-altQs-tagstalk.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23054\" src=\"\/wp-content\/uploads\/sites\/16\/KGTut-altQs-tagstalk.png\" alt=\"\" width=\"501\" height=\"567\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095845\/KGTut-altQs-tagstalk.png 501w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095845\/KGTut-altQs-tagstalk-265x300.png 265w\" sizes=\"auto, (max-width: 501px) 100vw, 501px\" \/><\/a><\/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=\"Traits\"><b>Traits<\/b><\/span><\/h2>\n<p><strong>Use Case<\/strong>: \u201cI lost my card, how do I apply for another debit card?\u201d<br \/>\nYou will get the response with \u201cHow do I apply for a debit card?\u201d.<\/p>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/KGTut-trait-talk1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23055\" src=\"\/wp-content\/uploads\/sites\/16\/KGTut-trait-talk1.png\" alt=\"\" width=\"501\" height=\"703\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095845\/KGTut-trait-talk1.png 501w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095845\/KGTut-trait-talk1-214x300.png 214w\" sizes=\"auto, (max-width: 501px) 100vw, 501px\" \/><\/a><\/p>\n<p>While this is a valid response it is not the right one. Ideally, since the user said \u201cI lost my card\u201d bot should be directing the user to report a stolen card.<\/p>\n<p><span style=\"text-decoration: underline\">Solution<\/span>: Traits. Traits can be used to get additional information from user utterance and direct the user to a better solution.<\/p>\n<p><strong>Steps in adding traits<\/strong>:<\/p>\n<ol>\n<li>First we will add this question as an alternate question to \u201cHow do I report a stolen card?\u201d.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/KGTut-trait-altq.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23056\" src=\"\/wp-content\/uploads\/sites\/16\/KGTut-trait-altq.png\" alt=\"\" width=\"911\" height=\"399\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095844\/KGTut-trait-altq.png 911w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095844\/KGTut-trait-altq-300x131.png 300w\" sizes=\"auto, (max-width: 911px) 100vw, 911px\" \/><\/a><\/li>\n<li><b>Save and Train the bot.<\/b><\/li>\n<li><strong>Talk to bot<\/strong> and ask the same question. You will get the same response.<\/li>\n<li>Now let us see how to add Trait.<\/li>\n<li>Define Trait:\n<ol>\n<li>From the <b>more<\/b> option next to the <b>Train<\/b> button, select <b>Manage Traits<\/b> option.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/KGTut-trait-managetrait.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23057\" src=\"\/wp-content\/uploads\/sites\/16\/KGTut-trait-managetrait.png\" alt=\"\" width=\"250\" height=\"277\" \/><\/a><\/li>\n<li>Use the <b>New Trait<\/b> button to Create a New Trait.<\/li>\n<li>Give a <b>Trait Type<\/b> and add <b>Traits<\/b> to it. Here we are using \u201c<i>Issues<\/i>\u201d as Trait Type and \u201c<i>lostcard<\/i>\u201d as Trait.<\/li>\n<li>Add \u201c<i>lost my card<\/i>\u201d as the <b>utterance<\/b> that will trigger this trait. (Do not forget to hit enter after you add the utterance).<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/KGTut-traitnew.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23058\" src=\"\/wp-content\/uploads\/sites\/16\/KGTut-traitnew.png\" alt=\"\" width=\"897\" height=\"537\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095844\/KGTut-traitnew.png 897w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095844\/KGTut-traitnew-300x180.png 300w\" sizes=\"auto, (max-width: 897px) 100vw, 897px\" \/><\/a><\/li>\n<li><b>Save and Train the trait.<\/b><\/li>\n<\/ol>\n<\/li>\n<li>Apply Trait\n<ol>\n<li>From the ontology, go to the <b>Issues <\/b>node <b>Settings<\/b> page.<\/li>\n<li>Add \u201c<i>lostcard<\/i>\u201d as <b>Trait <\/b>(pick from the drop down list).<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/KGTut-trait-addtrait.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23059\" src=\"\/wp-content\/uploads\/sites\/16\/KGTut-trait-addtrait.png\" alt=\"\" width=\"911\" height=\"701\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095844\/KGTut-trait-addtrait.png 911w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095844\/KGTut-trait-addtrait-300x231.png 300w\" sizes=\"auto, (max-width: 911px) 100vw, 911px\" \/><\/a><\/li>\n<li><strong>Save <\/strong>and <strong>Train<\/strong> the Knowledge Graph.<\/li>\n<li><strong>Talk to the Bot<\/strong> and try the same question. Now you will get the expected response.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/KGTut-trait-talk.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23060\" src=\"\/wp-content\/uploads\/sites\/16\/KGTut-trait-talk.png\" alt=\"\" width=\"499\" height=\"699\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095843\/KGTut-trait-talk.png 499w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/16\/20221201095843\/KGTut-trait-talk-214x300.png 214w\" sizes=\"auto, (max-width: 499px) 100vw, 499px\" \/><\/a><\/li>\n<\/ol>\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<p><span style=\"font-weight: 400\">In this document you have seen various settings for building and managing Knowledge Graph. For details regarding the implementation and working of Knowledge Graph, <\/span><a href=\"\/docs\/bots\/bot-builder-tool\/knowledge-task\/knowledge-ontology\/\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"font-weight: 400\">refer to this document<\/span><\/a><span style=\"font-weight: 400\">.<\/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><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"This How To helps to quickly build and understand the working of a Knowledge Graph for your bot. It shows how to convert an FAQ into ontology, add tags, use terms, add alternate questions, synonyms, tags, and traits. For the implementation details, refer here. Throughout this example we will be dealing with the following FAQs...","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-23019","post","type-post","status-publish","format-standard","hentry","category-how-tos"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/posts\/23019","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=23019"}],"version-history":[{"count":11,"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/posts\/23019\/revisions"}],"predecessor-version":[{"id":26907,"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/posts\/23019\/revisions\/26907"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/media?parent=23019"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/categories?post=23019"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/tags?post=23019"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}