{"id":18007,"date":"2017-12-14T06:00:18","date_gmt":"2017-12-14T06:00:18","guid":{"rendered":"http:\/\/developer.kore.ai\/v9-3\/?post_type=docs&#038;p=12107"},"modified":"2022-09-23T12:49:02","modified_gmt":"2022-09-23T11:49:02","slug":"creating-a-knowledge-graph","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v9-3\/docs\/bots\/bot-builder-tool\/knowledge-task\/creating-a-knowledge-graph\/","title":{"rendered":"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><span style=\"font-weight: 400\">The XO Platform&rsquo;s&nbsp; Knowledge Graph (KG) helps you turn your static FAQ text into an intelligent, personalized conversational experience. It goes beyond the usual practice of capturing FAQs in the form of flat question-answer pairs. Instead, the Knowledge Graph enables you to create a hierarchical structure of key domain terms and associate them with context-specific questions and their alternatives, synonyms, and Machine learning-enabled classes. This structure, when trained by the Platform, generates a Knowledge Graph that enables an intelligent FAQ experience.<\/span><\/p>\n<p><a href=\"https:\/\/developer.kore.ai\/v9-3\/docs\/bots\/bot-builder-tool\/knowledge-task\/knowledge-ontology\/\"><span style=\"font-weight: 400\">See here for more on KG Terminology<\/span><\/a><span style=\"font-weight: 400\">.<\/span><\/p>\n<p><span style=\"font-weight: 400\">To generate a Knowledge Graph, you need to add FAQs to an existing or new VA. If you have not created a VA, refer to <\/span><a href=\"https:\/\/developer.kore.ai\/v9-3\/docs\/bots\/chatbot-overview\/getting-started-bots\/\"><span style=\"font-weight: 400\">Building a Virtual Assistant.<\/span><\/a><span style=\"font-weight: 400\">.<\/span><\/p>\n<p><span style=\"font-weight: 400\">To open the Knowledge Graph builder, follow the below steps:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Log in to the XO Platform and open the VA to which you want to add the Knowledge Graph.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Select the <\/span><strong>Build<\/strong><span style=\"font-weight: 400\"> tab from the top menu.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">On the left menu, select <\/span><strong>Conversation Skills <\/strong><span style=\"font-weight: 400\">and click <\/span><strong>Knowledge Graph<\/strong><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">You will notice that there is already a Knowledge Graph with the name of your assistant.<\/span><\/li>\n<\/ol>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923093417\/access-kg.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923093417\/access-kg-1024x474.png\" alt=\"\" width=\"640\" height=\"296\" class=\"alignnone size-large wp-image-45304\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923093417\/access-kg-1024x474.png 1024w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923093417\/access-kg-300x139.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923093417\/access-kg.png 1966w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><br \/>\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>\n<h1><span class=\"ez-toc-section\" id=\"Create_the_Knowledge_Graph_Node_Structure\"><span style=\"font-weight: 400\">Create the Knowledge Graph Node Structure<\/span><\/span><\/h1>\n<p><span style=\"font-weight: 400\">By default, the name of the VA becomes the root node of the hierarchy and you can edit this. Create the rest of the nodes below the root node.<\/span><\/p>\n<p><span style=\"font-weight: 400\">To create nodes, follow the below steps:<\/span><\/p>\n<ol>\n<li style=\"list-style-type: none\">\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Open the Knowledge Graph.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">On the top left of the Knowledge Graph window, hover over the root node.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Click the <\/span><strong>+<\/strong><span style=\"font-weight: 400\"> icon. A text box appears below to <\/span><strong>Add Node<\/strong><span style=\"font-weight: 400\">. For better performance, there is a restriction of 50k FAQs spread across 20k maximum allowed number of nodes.<\/span><\/li>\n<li style=\"font-weight: 400\"><em>Type the name of the node in the text box and press <\/em><strong><em>Enter<\/em><\/strong><em>. A warning would be displayed in case you enter a duplicate node name, i.e. if a child node with the same name already exists under the parent node.<br \/><span style=\"background-color: #fffbea\"><strong>Note<\/strong>: This node becomes a child for the root node and can be referred to as a First-level node.<\/span><\/em><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Repeat steps 1 to 3 to create other First-level nodes.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">After you create First-level nodes, create child nodes as follows:<\/span>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Hover over any First-level node, and click the plus icon to create its child node.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">You can create a child node for any level node by hovering over it and clicking the <\/span><strong>+<\/strong><span style=\"font-weight: 400\"> icon.<\/span><\/li>\n<\/ol>\n<\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Follow the same process to create multiple node levels.&nbsp;<\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p><span style=\"font-weight: 400\">The demo below shows you how to create nodes.<\/span><\/p>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923092741\/add-node.gif\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923092741\/add-node.gif\" alt=\"\" width=\"432\" height=\"420\" class=\"alignnone size-full wp-image-45301\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400\">You can delete nodes by clicking the bin icon on the right.<\/span><\/p>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923093522\/delete-node.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923093522\/delete-node.png\" alt=\"\" width=\"415\" height=\"137\" class=\"alignnone size-full wp-image-45307\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923093522\/delete-node.png 415w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923093522\/delete-node-300x99.png 300w\" sizes=\"auto, (max-width: 415px) 100vw, 415px\" \/><\/a><br \/>\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>\n<h1><span class=\"ez-toc-section\" id=\"Build_the_Knowledge_Graph\"><span style=\"font-weight: 400\">Build the Knowledge Graph<\/span><\/span><\/h1>\n<p><span style=\"font-weight: 400\">The next step is to add Knowledge Graph Intents which can be either:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">FAQ &ndash; to answer user queries<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Task &ndash; to execute a dialog task.<\/span><\/li>\n<\/ul>\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>\n<h2><span class=\"ez-toc-section\" id=\"Add_FAQs\"><span style=\"font-weight: 400\">Add FAQs<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400\">Using this option, you can add relevant question-answer sets to the nodes in the hierarchy. Note that there is a limit&nbsp; of FAQs to 50k over 20k nodes to avoid performance issues. As you enter these questions, pay attention to terms that you can further add to your FAQ hierarchy.<\/span><\/p>\n<p><span style=\"font-weight: 400\">To enter the question and answer for a selected node, follow the below steps:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">On the left pane of the Knowledge Graph window, click the node to which you want to add questions.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Click <\/span><strong>Add Intent <\/strong><span style=\"font-weight: 400\">on the top-right.<\/span><\/li>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923093740\/add-intent-1-1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923093740\/add-intent-1-1-1024x456.png\" alt=\"\" width=\"640\" height=\"285\" class=\"alignnone size-large wp-image-45310\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923093740\/add-intent-1-1-1024x456.png 1024w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923093740\/add-intent-1-1-300x134.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923093740\/add-intent-1-1.png 1922w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">On the Intent window, under the <\/span><strong>Intent<\/strong><span style=\"font-weight: 400\"> section, select <\/span><strong>FAQ<\/strong><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Optionally, enter a <\/span><strong>Display Name.<\/strong><span style=\"font-weight: 400\"> This name will be used for presenting the FAQ to the end-users.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">In the <\/span><strong>Add Question<\/strong><span style=\"font-weight: 400\"> field, enter the question that describes the user&rsquo;s query.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Optionally, if there are alternatives to the same question, add them in the <\/span><strong>Add Alternate FAQ <\/strong><span style=\"font-weight: 400\">field. Repeat the step for all the alternative questions you want to add.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">You can use patterns to define the FAQs. This can be done by preceding the pattern with || (two vertical bars) in the alternate question field. The Platform marks these as patterns and evaluates them accordingly (<\/span><a href=\"https:\/\/developer.kore.ai\/v9-3\/docs\/bots\/how-tos\/how-to-use-patterns-for-intents-entities\/\"><span style=\"font-weight: 400\">see here for more on patterns<\/span><\/a><span style=\"font-weight: 400\">).<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">For each question, you can <\/span><strong>add terms<\/strong><span style=\"font-weight: 400\"> that will serve as tags in better identifying the question by the Knowledge Graph Engine.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">You can set the <\/span><strong>Intent Status<\/strong><span style=\"font-weight: 400\"> as enabled or disabled for the FAQ intents. The Knowledge Graph will not use the FAQs intents that are in the enabled state. These intents will not participate in the intent recognition process during testing and end-user interaction.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">You can also set <\/span><strong>Term Status<\/strong><span style=\"font-weight: 400\"> as enabled or disabled. The Knowledge Graph will only use the terms that are in the enabled state. The terms marked as disabled and all their FAQ intents do not participate in the intent recognition process during testing and end-user interaction.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">You can also add a <\/span><strong>Reference Id<\/strong><span style=\"font-weight: 400\">. This field can be used to add a reference to any external content used as a source for this FAQ.<\/span><\/li>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923093903\/add-faq.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923093903\/add-faq-841x1024.png\" alt=\"\" width=\"440\" height=\"579\" class=\"alignnone size-large wp-image-45313\" \/><\/a>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Manage_Bot_Responses\"><strong>Manage Bot Responses<\/strong><\/span><\/h3>\n<p><span style=\"font-weight: 400\">For the Response, you can compose a simple or complex channel-specific reply.<\/span><\/p>\n<p><span style=\"font-weight: 400\">You can use the editor like any other prompt editor in the Platform i.e. messages for dialog nodes, etc, <\/span><a href=\"https:\/\/developer.kore.ai\/v9-3\/docs\/bots\/bot-builder-tool\/dialog-task\/prompt-editor\/\"><span style=\"font-weight: 400\">refer here for more<\/span><\/a><span style=\"font-weight: 400\">.<\/span><\/p>\n<p><span style=\"font-weight: 400\">You can add channel-specific responses to questions in your Knowledge Graph. By varying the responses, you can make the language and formatting leverage the strengths of the selected channels. To add a channel-specific response, select the channel from the channels list before typing the response.<\/span><\/p>\n<table style=\"background-color: #fffbea;width: 100%\" width=\"100%\">\n<tbody>\n<tr>\n<td width=\"100%\">\n<p><strong><em>Note:<\/em><\/strong><em><span style=\"font-weight: 400\"> We recommend you add one response for All Channels so that it can be used in the absence of a channel-specific response for a channel.<\/span><\/em><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400\">Sometimes the responses to the FAQ are quite lengthy or may include nice-to-have information along with the primary response. To improve the readability of such responses, you can split information into multiple responses that go as separate messages one after another by clicking <\/span><strong>Add Extended Response<\/strong><span style=\"font-weight: 400\"> on the top-right of the <\/span><strong>Bot Response<\/strong><span style=\"font-weight: 400\"> window.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Optionally, there is an option <\/span><strong>Add Alternate Response<\/strong><span style=\"font-weight: 400\"> if your question can have more than one answer. Repeat the step for all the alternative responses you want to add. At runtime, the platform will pick one response at random.<\/span><\/p>\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>\n<h2><span class=\"ez-toc-section\" id=\"Run_a_Task\"><span style=\"font-weight: 400\">Run a Task<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400\">You can link a dialog task to a Knowledge Graph Intent. It helps you to leverage the capabilities of the Knowledge Graph and dialog tasks to handle FAQs that involve complex conversations.<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">On the Intent window, under the <\/span><strong>Intent<\/strong><span style=\"font-weight: 400\"> section, select <\/span><strong>Task<\/strong><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Optionally, enter a <\/span><strong>Display Name.<\/strong><span style=\"font-weight: 400\"> This name will be used for presenting the FAQ to the end-users in case of ambiguity.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Select a task from the drop-down list. You can <\/span><strong>Add Utterance<\/strong><span style=\"font-weight: 400\"> that triggers this task.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">If multiple utterances mean the same, <\/span><strong>Add Alternate Utterance<\/strong><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">You can also add a <\/span><strong>Reference Id<\/strong><span style=\"font-weight: 400\">. This field can be used to add a reference to any external content used as a source for this FAQ.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Click <\/span><strong>Save<\/strong><span style=\"font-weight: 400\">.<\/span><\/li>\n<\/ol>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923094119\/add-task.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923094119\/add-task-300x283.png\" alt=\"\" width=\"400\" height=\"383\" class=\"alignnone size-medium wp-image-45316\" \/><\/a><br \/>\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>\n<h2><span class=\"ez-toc-section\" id=\"Add_FAQs_from_an_Existing_Source\"><span style=\"font-weight: 400\">Add FAQs from an Existing Source<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400\">Chances are the Knowledge Graph you are trying to build is large and complex. If you have all the FAQs in one place you can use the Import or Extract process.<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">You can use the Knowledge Graph Generator to generate Knowledge Graph from a FAQ list and import the same to your VA. <\/span><a href=\"https:\/\/developer.kore.ai\/v9-3\/docs\/bots\/bot-builder-tool\/knowledge-task\/generation-of-ontology\/\"><span style=\"font-weight: 400\">See here for the steps<\/span><\/a><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">You can use the <\/span><strong>Import<\/strong><span style=\"font-weight: 400\"> option to import a Knowledge Graph exported from another VA. <\/span><a href=\"https:\/\/developer.kore.ai\/v9-3\/docs\/bots\/bot-builder-tool\/knowledge-task\/importing-the-bot-ontology-from-csv-or-json\/\"><span style=\"font-weight: 400\">See here for more<\/span><\/a><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">You can use an existing list of Q&amp;As from <\/span><strong>Knowledge Extraction<\/strong><span style=\"font-weight: 400\"> to populate the Questions and Responses. <\/span><a href=\"https:\/\/developer.kore.ai\/v9-3\/docs\/bots\/bot-builder-tool\/knowledge-task\/knowledge-extraction-service\/\"><span style=\"font-weight: 400\">See here for more<\/span><\/a><span style=\"font-weight: 400\">.<\/span><\/li>\n<\/ul>\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>\n<h1><span class=\"ez-toc-section\" id=\"Manage_Traits_Synonyms_and_Stop_Words\"><span style=\"font-weight: 400\"> Manage Traits, Synonyms, and Stop Words<\/span><\/span><\/h1>\n<p><span style=\"font-weight: 400\">You can improve the performance of your Knowledge Graph by adding tags, synonyms, traits, and more. <\/span><a href=\"https:\/\/developer.kore.ai\/v9-3\/docs\/bots\/nlp\/knowledge-graph\/\"><span style=\"font-weight: 400\">Refer here<\/span><\/a><span style=\"font-weight: 400\"> to know more.<\/span><\/p>\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>\n<h1><span class=\"ez-toc-section\" id=\"Manage_Variable_Namespaces\"><span style=\"font-weight: 400\">Manage Variable Namespaces<\/span><\/span><\/h1>\n<p><strong>Manage Variable Namespaces<\/strong><span style=\"font-weight: 400\"> section (introduced in v8.0) allows you to associate the Variable Namespaces to use with this Knowledge Graph. This option is visible only when the Variable Namespace is enabled for the VA. For more information, refer to <\/span><a href=\"https:\/\/developer.kore.ai\/v9-3\/docs\/bots\/bot-settings\/bot-management\/managing-namespace\/\"><span style=\"font-weight: 400\">Managing Namespace<\/span><\/a><span style=\"font-weight: 400\">.<\/span><\/p>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923094234\/namespaces.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923094234\/namespaces-1024x456.png\" alt=\"\" width=\"640\" height=\"285\" class=\"alignnone size-large wp-image-45319\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923094234\/namespaces-1024x456.png 1024w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923094234\/namespaces-300x134.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923094234\/namespaces.png 1922w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><br \/>\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>\n<h1><span class=\"ez-toc-section\" id=\"Update_a_Knowledge_Graph\"><span style=\"font-weight: 400\">Update a Knowledge Graph<\/span><\/span><\/h1>\n<p><span style=\"font-weight: 400\">Once created, there will be times when you want to make changes to the Knowledge Graph for better organization and presentation.<\/span><\/p>\n<table style=\"background-color: #fffbea;width: 100%\" width=\"100%\">\n<tbody>\n<tr>\n<td width=\"100%\">\n<p><strong><em>Note<\/em><\/strong><em><span style=\"font-weight: 400\">: Once you make any changes to the Knowledge Graph, make sure to click <\/span><\/em><strong><em>Train <\/em><\/strong><em><span style=\"font-weight: 400\">on the top-right to send the updates to the Knowledge Graph engine. If you do not train the VA, the changes are not reflected in its responses.<\/span><\/em><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400\">By default, questions added to a child node are visible for all its parent nodes in the path, up to the root node. If you do not want the questions from child nodes to be seen beyond a certain parent node, click the following icon on the <\/span><strong>Questions<\/strong><span style=\"font-weight: 400\"> pane of the selected parent.<\/span><\/p>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923094347\/exclude-child-terms.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923094347\/exclude-child-terms-1024x539.png\" alt=\"\" width=\"640\" height=\"337\" class=\"alignnone size-large wp-image-45322\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923094347\/exclude-child-terms-1024x539.png 1024w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923094347\/exclude-child-terms-300x158.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923094347\/exclude-child-terms.png 1624w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400\">The questions from all its child nodes are visible to the selected parent node and not to all its parent nodes.<\/span><\/p>\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>\n<h2><span class=\"ez-toc-section\" id=\"Move_Question_and_Answers_Between_Nodes\"><span style=\"font-weight: 400\">Move Question and Answers Between Nodes<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400\">You can move one or more question-answer sets between nodes in your Knowledge Graph, as follows.<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">On the Knowledge Graph, click the name of the node from which you want to move the question-answer sets. The FAQs appear on the right pane.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Identify the set of questions that you want to move to, and select the checkboxes next to them.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Drag the questions and drop them on the relevant node. The node is highlighted and the questions appear on the right pane of the node.<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400\">The demo below shows you how this works.<\/span><\/p>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923094428\/move-to-new-node.gif\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923094428\/move-to-new-node.gif\" alt=\"\" width=\"1906\" height=\"848\" class=\"alignnone size-full wp-image-45325\" \/><\/a><\/p>\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>\n<h2><span class=\"ez-toc-section\" id=\"Edit_and_Delete_Terms\"><span style=\"font-weight: 400\">Edit and Delete Terms<\/span><\/span><\/h2>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">On the nodes hierarchy from the left pane, hover over the term\/node you want to edit.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Click the <\/span><strong>Settings <\/strong><span style=\"font-weight: 400\">(gear) icon. The settings window opens.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">You can change the name of the term, set the term types, set the term status, add traits, add or remove synonyms, and manage context from here (<\/span><a href=\"https:\/\/developer.kore.ai\/v9-3\/docs\/bots\/nlp\/knowledge-graph\/\"><span style=\"font-weight: 400\">see here for more<\/span><\/a><span style=\"font-weight: 400\">).<\/span><\/li>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923094526\/term-settings.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923094526\/term-settings.png\" alt=\"\" width=\"372\" height=\"550\" class=\"alignnone size-full wp-image-45328\" \/><\/a><\/p>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">To <\/span><strong>delete<\/strong><span style=\"font-weight: 400\"> a term:<\/span>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">On the nodes hierarchy, hover over the term you want to delete.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Click the <\/span><strong>bin<\/strong><span style=\"font-weight: 400\"> icon.<\/span><\/li>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923094857\/delete-node-1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923094857\/delete-node-1.png\" alt=\"\" width=\"415\" height=\"137\" class=\"alignnone size-full wp-image-45331\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923094857\/delete-node-1.png 415w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923094857\/delete-node-1-300x99.png 300w\" sizes=\"auto, (max-width: 415px) 100vw, 415px\" \/><\/a>\n<\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">On the confirmation dialog box, you can find the following options:<\/span>\n<ol>\n<li style=\"font-weight: 400\"><strong>Delete the FAQs along with the term<\/strong><span style=\"font-weight: 400\"> &ndash; Choosing this option deletes the term and FAQs under it.<\/span><\/li>\n<li style=\"font-weight: 400\"><strong>Delete the term and move FAQs to root term<\/strong><span style=\"font-weight: 400\"> &ndash;<\/span><span style=\"font-weight: 400\"><br \/><\/span><span style=\"font-weight: 400\">Choosing this option deletes the term and moves the FAQs under it to the root term.<\/span><span style=\"font-weight: 400\"><br \/><\/span><strong>Note<\/strong><span style=\"font-weight: 400\">: If the term has child nodes, all those nodes will be deleted.<\/span><\/li>\n<\/ol>\n<\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">If your VA is already published, you must train it&nbsp; for the deletions to be effective.<\/span>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">If you have deleted the first level term you can selectively train to remove the deleted terms from the published copy.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">If you have deleted, say, the nth level child term, then you need to select the entire parent term for training.<\/span><\/li>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923094941\/delete-node-faq.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923094941\/delete-node-faq.png\" alt=\"\" width=\"491\" height=\"210\" class=\"alignnone size-full wp-image-45334\" \/><\/a>\n<\/ol>\n<\/li>\n<\/ol>\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>\n<h2><span class=\"ez-toc-section\" id=\"Edit_Questions_and_Responses\"><span style=\"font-weight: 400\">Edit Questions and Responses<\/span><\/span><\/h2>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">From the nodes hierarchy, select the relevant term.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Questions associated with the term appear on the right pane.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Hover over the question to edit and click the <\/span><strong>edit<\/strong><span style=\"font-weight: 400\"> icon.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Make changes to the question or response and click <\/span><strong>Save<\/strong><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">You can delete the question using the <\/span><strong>bin<\/strong><span style=\"font-weight: 400\"> icon.<\/span><\/li>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923095239\/edit-delete-faq.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923095239\/edit-delete-faq-1024x419.png\" alt=\"\" width=\"640\" height=\"262\" class=\"alignnone size-large wp-image-45337\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923095239\/edit-delete-faq-1024x419.png 1024w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923095239\/edit-delete-faq-300x123.png 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p><\/a><\/p>\n<li style=\"font-weight: 400\">Selecting multiple questions enables you to delete them in bulk.<\/li>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923095301\/delete-selected.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923095301\/delete-selected-1024x279.png\" alt=\"\" width=\"640\" height=\"174\" class=\"alignnone size-large wp-image-45340\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923095301\/delete-selected-1024x279.png 1024w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923095301\/delete-selected-300x82.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-3\/wp-content\/uploads\/sites\/29\/20220923095301\/delete-selected.png 1279w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/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>[vc_raw_html]JTNDZGl2JTIwY2xhc3MlM0QlMjJ3LXBvc3QtZWxtJTIwcG9zdF9uYXZpZ2F0aW9uJTIwbGF5b3V0X3NpbXBsZSUyMGludl9mYWxzZSUyMiUzRSUwQSUzQ2ElMjBjbGFzcyUzRCUyMnBvc3RfbmF2aWdhdGlvbi1pdGVtJTIwb3JkZXJfZmlyc3QlMjB0b19wcmV2JTIyJTIwaHJlZiUzRCUyMiUyRmRvY3MlMkZib3RzJTJGYm90LWJ1aWxkZXItdG9vbCUyRmtub3dsZWRnZS10YXNrJTJGa25vd2xlZGdlLW9udG9sb2d5JTJGJTIyJTNFJTNDJTJGcCUzRSUwQSUzQ2RpdiUyMGNsYXNzJTNEJTIycG9zdF9uYXZpZ2F0aW9uLWl0ZW0tYXJyb3clMjIlM0UlM0MlMkZkaXYlM0UlMEElM0NkaXYlMjBjbGFzcyUzRCUyMnBvc3RfbmF2aWdhdGlvbi1pdGVtLW1ldGElMjIlM0VQcmV2aW91cyUyMFBvc3QlM0MlMkZkaXYlM0UlMEElM0NkaXYlMjBjbGFzcyUzRCUyMnBvc3RfbmF2aWdhdGlvbi1pdGVtLXRpdGxlJTIyJTNFJTNDc3BhbiUzRUtHJTIwLSUyME92ZXJ2aWV3JTNDJTJGc3BhbiUzRSUzQyUyRmRpdiUzRSUwQSUzQ3AlM0UlM0MlMkZhJTNFJTNDYnIlMjAlMkYlM0UlMEElM0NhJTIwY2xhc3MlM0QlMjJwb3N0X25hdmlnYXRpb24taXRlbSUyMG9yZGVyX3NlY29uZCUyMHRvX25leHQlMjIlMjBocmVmJTNEJTIyJTJGZG9jcyUyRmJvdHMlMkZib3QtYnVpbGRlci10b29sJTJGa25vd2xlZGdlLXRhc2slMkZnZW5lcmF0aW9uLW9mLW9udG9sb2d5JTJGJTIyJTNFJTNDJTJGcCUzRSUwQSUzQ2RpdiUyMGNsYXNzJTNEJTIycG9zdF9uYXZpZ2F0aW9uLWl0ZW0tYXJyb3clMjIlM0UlM0MlMkZkaXYlM0UlMEElM0NkaXYlMjBjbGFzcyUzRCUyMnBvc3RfbmF2aWdhdGlvbi1pdGVtLW1ldGElMjIlM0VOZXh0JTIwUG9zdCUzQyUyRmRpdiUzRSUwQSUzQ2RpdiUyMGNsYXNzJTNEJTIycG9zdF9uYXZpZ2F0aW9uLWl0ZW0tdGl0bGUlMjIlM0UlM0NzcGFuJTNFS0clMjAtJTIwR2VuZXJhdGlvbiUzQyUyRnNwYW4lM0UlM0MlMkZkaXYlM0UlMEElM0NwJTNFJTNDJTJGYSUzRSUzQyUyRmRpdiUzRQ==[\/vc_raw_html]<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":"The XO Platform&rsquo;s&nbsp; Knowledge Graph (KG) helps you turn your static FAQ text into an intelligent, personalized conversational experience. It goes beyond the usual practice of capturing FAQs in the form of flat question-answer pairs. Instead, the Knowledge Graph enables you to create a hierarchical structure of key domain terms and associate them with context-specific...","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[],"class_list":["post-18007","post","type-post","status-publish","format-standard","hentry","category-knowledge-task"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v9-3\/wp-json\/wp\/v2\/posts\/18007","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v9-3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v9-3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-3\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-3\/wp-json\/wp\/v2\/comments?post=18007"}],"version-history":[{"count":53,"href":"https:\/\/developer.kore.ai\/v9-3\/wp-json\/wp\/v2\/posts\/18007\/revisions"}],"predecessor-version":[{"id":45432,"href":"https:\/\/developer.kore.ai\/v9-3\/wp-json\/wp\/v2\/posts\/18007\/revisions\/45432"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v9-3\/wp-json\/wp\/v2\/media?parent=18007"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-3\/wp-json\/wp\/v2\/categories?post=18007"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-3\/wp-json\/wp\/v2\/tags?post=18007"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}