{"id":18007,"date":"2017-12-14T06:00:18","date_gmt":"2017-12-14T06:00:18","guid":{"rendered":"http:\/\/developer.kore.ai\/v10-1\/?post_type=docs&#038;p=12107"},"modified":"2023-04-19T11:46:45","modified_gmt":"2023-04-19T10:46:45","slug":"creating-a-knowledge-graph","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-builder-tool\/knowledge-task\/creating-a-knowledge-graph\/","title":{"rendered":"Build a 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&#8217;s 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 as 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, traits, and more. Additionally, you can opt for the LLM-based Few-Shot Knowledge Graph, which requires no ontology and reduces maintenance and training requirements.<\/span><\/p>\n<p><a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-builder-tool\/knowledge-task\/knowledge-graph-terminology\/\"><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\/v10-1\/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\/v10-1\/wp-content\/uploads\/sites\/35\/20220923093417\/access-kg.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-45304\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220923093417\/access-kg-1024x474.png\" alt=\"\" width=\"640\" height=\"296\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220923093417\/access-kg-1024x474.png 1024w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220923093417\/access-kg-300x139.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220923093417\/access-kg.png 1966w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a> <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<table style=\"width: 100%;border-collapse: collapse;background-color: #dffbea\">\n<tbody>\n<tr>\n<td style=\"width: 100%\">\n<h2><span class=\"ez-toc-section\" id=\"Notes_on_the_Few-Shot_Knowledge_Graph\"><em><span style=\"font-weight: 400\">Notes on the Few-Shot Knowledge Graph<\/span><\/em><\/span><\/h2>\n<p><em><span style=\"font-weight: 400\">All features explained here are supported by the Few-Shot Knowledge Graph, except for the following:<\/span><\/em><\/p>\n<ol>\n<li style=\"font-weight: 400\"><em><span style=\"font-weight: 400\">Few-Shot Knowledge Graphs do not require an ontology structure, but you can create one to\u00a0 improve intent detection.\u00a0<\/span><\/em><\/li>\n<li style=\"font-weight: 400\"><em><span style=\"font-weight: 400\">Default <\/span><span style=\"font-weight: 400\">terms are not available in Few-Shot Knowledge Graphs. The only exception is when you switch from an Ontology Graph, in which case existing <\/span><span style=\"font-weight: 400\">Default <\/span><span style=\"font-weight: 400\">terms are stored as such until updated. Afterward, <\/span><span style=\"font-weight: 400\">Default <\/span><span style=\"font-weight: 400\">terms become <\/span><span style=\"font-weight: 400\">Organizer <\/span><span style=\"font-weight: 400\">terms and can be set as <\/span><span style=\"font-weight: 400\">Mandatory<\/span><span style=\"font-weight: 400\">.<\/span><\/em><\/li>\n<li style=\"font-weight: 400\"><em><span style=\"font-weight: 400\">Lemmatization using Parts of Speech<\/span><span style=\"font-weight: 400\">, <\/span><span style=\"font-weight: 400\">Search in Answer,<\/span><span style=\"font-weight: 400\"> and <\/span><span style=\"font-weight: 400\">Contextual Paths Qualification<\/span><span style=\"font-weight: 400\"> are not supported by Few-Shot Graphs. Please see the <\/span><span style=\"font-weight: 400\"><a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-builder-tool\/knowledge-task\/knowledge-ontology\/#Compare_Knowledge_Graph_Types\" rel=\"noopener noreferrer\" target=\"_blank\">Knowledge Graph Types Comparison<\/a><\/span> <span style=\"font-weight: 400\">Table <\/span><span style=\"font-weight: 400\">for a detailed list of supported features.<\/span><\/em><\/li>\n<li style=\"font-weight: 400\"><em><span style=\"font-weight: 400\">Path Level and Knowledge Graph Synonyms <\/span><span style=\"font-weight: 400\">are only supported for <\/span><span style=\"font-weight: 400\">Mandatory <\/span><span style=\"font-weight: 400\">Terms and for Tags.<\/span><\/em><\/li>\n<\/ol>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\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>Open the Knowledge Graph.<\/li>\n<li>On the top left of the Knowledge Graph window, hover over the root node.<\/li>\n<li>Click the <strong>+<\/strong> icon. A text box appears below to <strong>Add Node<\/strong>. For better performance, there is a restriction of 50k FAQs spread across 20k maximum allowed number of nodes.<\/li>\n<li>Type the name of the node in the text box and press <strong><em>Enter<\/em><\/strong><em><em>. <\/em><\/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.<em><em><br \/>\n<\/em><\/em><\/p>\n<table style=\"width: 100%;border-collapse: collapse;background-color: #fffbea;height: 36px\" border=\"0\">\n<tbody>\n<tr style=\"height: 36px\">\n<td style=\"width: 100%;height: 36px\"><em><strong>Note<\/strong>: This node becomes a child for the root node and can be referred to as a First-level node.<\/em><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<li><span style=\"font-weight: 400\">Repeat steps 1 to 3 to create other First-level nodes.<\/span><\/li>\n<li><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<\/ol>\n<p><span style=\"font-weight: 400\">Follow the same process to create multiple node levels.\u00a0<\/span><\/p>\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\/v10-1\/wp-content\/uploads\/sites\/35\/20220923092741\/add-node.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-45301\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220923092741\/add-node.gif\" alt=\"\" width=\"432\" height=\"420\" \/><\/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\/v10-1\/wp-content\/uploads\/sites\/35\/20220923093522\/delete-node.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-45307\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220923093522\/delete-node.png\" alt=\"\" width=\"415\" height=\"137\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220923093522\/delete-node.png 415w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/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 \u2013 to answer user queries<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Task \u2013 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\u00a0 of 50k FAQs over 20k nodes to avoid performance issues. <a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-builder-tool\/knowledge-task\/managing-faqs\/\">Learn more about FAQs<\/a>.<\/span><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=\"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\/v10-1\/wp-content\/uploads\/sites\/35\/20220923094119\/add-task.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-45316\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220923094119\/add-task-300x283.png\" alt=\"\" width=\"400\" height=\"383\" \/><\/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=\"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\/v10-1\/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\/v10-1\/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\/v10-1\/wp-content\/uploads\/sites\/35\/20220923094234\/namespaces.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-45319\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220923094234\/namespaces-1024x456.png\" alt=\"\" width=\"640\" height=\"285\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220923094234\/namespaces-1024x456.png 1024w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220923094234\/namespaces-300x134.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/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=\"width: 100%;border-collapse: collapse;background-color: #fffbea;height: 36px\" border=\"0\">\n<tbody>\n<tr style=\"height: 36px\">\n<td style=\"width: 100%;height: 36px\"><em><strong>Note<\/strong>: Once you make any changes to the Knowledge Graph, make sure to click\u00a0<\/em><strong><em>Train\u00a0<\/em><\/strong><em>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.<\/em><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400\">By default, intents 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 intents 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\/v10-1\/wp-content\/uploads\/sites\/35\/20220923094347\/exclude-child-terms.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-45322\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220923094347\/exclude-child-terms-1024x539.png\" alt=\"\" width=\"640\" height=\"337\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220923094347\/exclude-child-terms-1024x539.png 1024w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220923094347\/exclude-child-terms-300x158.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220923094347\/exclude-child-terms.png 1624w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400\">The intents 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_Intents_Between_Nodes\"><span style=\"font-weight: 400\">Move Intents Between Nodes<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400\">You can move one or more Intent and Response 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 intent. The intents associated to the node display on the right pane.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Identify the intent that you want to move, and select the checkbox next to it. You can select multiple items.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Drag the intent and drop it on the relevant node. The node is highlighted and the intent displays 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\/v10-1\/wp-content\/uploads\/sites\/35\/20220923094428\/move-to-new-node.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-45325\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220923094428\/move-to-new-node.gif\" alt=\"\" width=\"1906\" height=\"848\" \/><\/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=\"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\/v10-1\/docs\/bots\/nlp\/knowledge-graph\/\"><span style=\"font-weight: 400\">see here for more<\/span><\/a><span style=\"font-weight: 400\">).<br \/>\n<\/span><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220923094526\/term-settings.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-45328\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220923094526\/term-settings.png\" alt=\"\" width=\"372\" height=\"550\" \/><\/a><\/li>\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<ol>\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><br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220923094857\/delete-node-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-45331\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220923094857\/delete-node-1.png\" alt=\"\" width=\"415\" height=\"137\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220923094857\/delete-node-1.png 415w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220923094857\/delete-node-1-300x99.png 300w\" sizes=\"auto, (max-width: 415px) 100vw, 415px\" \/><\/a><\/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\"> \u2013 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\"> \u2013<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">Choosing this option deletes the term and moves the FAQs under it to the root term.<\/span>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<table style=\"width: 100%;border-collapse: collapse;background-color: #fffbea\">\n<tbody>\n<tr>\n<td style=\"width: 100%\">\n<strong>Notes on deleting KG nodes<\/strong>:<\/p>\n<ol>\n<li>If the term has child nodes, all those nodes will be deleted.<\/li>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220923094941\/delete-node-faq.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-45334\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220923094941\/delete-node-faq.png\" alt=\"\" width=\"491\" height=\"210\" \/><\/a><\/li>\n<li>If your VA is already published, you must train it&nbsp; for the deletions to be effective.<\/li>\n<li>If you have deleted the first level term you can selectively train to remove the d bio eleted terms from the published copy.<\/li>\n<li>If you have deleted, say, the nth level child term, then you need to select the entire parent term for training.<\/li>\n<\/ol>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\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_Intents_and_Responses\"><span style=\"font-weight: 400\">Edit Intents 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\">Intents 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 intent or response to edit it 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 intent 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 intent using the <\/span><strong>bin<\/strong><span style=\"font-weight: 400\"> icon.<\/span><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220923095239\/edit-delete-faq.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-45337\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220923095239\/edit-delete-faq-1024x419.png\" alt=\"\" width=\"640\" height=\"262\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220923095239\/edit-delete-faq-1024x419.png 1024w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220923095239\/edit-delete-faq-300x123.png 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/li>\n<li style=\"font-weight: 400\">Selecting multiple intents lets you delete them in bulk.<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220923095301\/delete-selected.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-45340\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220923095301\/delete-selected-1024x279.png\" alt=\"\" width=\"640\" height=\"174\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220923095301\/delete-selected-1024x279.png 1024w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220923095301\/delete-selected-300x82.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220923095301\/delete-selected.png 1279w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/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<h1><span class=\"ez-toc-section\" id=\"Improve_Performance\"><span style=\"font-weight: 400\">Improve Performance<\/span><\/span><\/h1>\n<p><span style=\"font-weight: 400\">The Knowledge Graph engine works well with the default settings, but you can fine-tune the KG engine performance. Here are a few guidelines:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400\"><b>Configure the Knowledge Graph by defining terms, synonyms, primary and alternative questions, or user utterances.<\/b><span style=\"font-weight: 400\"> Though hierarchy does not affect the KG engine performance, it does help organize and guide your knowledge implementation.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Set the following parameters:<\/span>\n<ol>\n<li style=\"font-weight: 400\"><b>Path Coverage<\/b><span style=\"font-weight: 400\"> \u2013 For Ontology-based graphs, you can define the minimum percentage of terms in the user\u2019s utterance to be present in a path to qualify it for further scoring.<\/span><\/li>\n<li style=\"font-weight: 400\"><b>Definite Score for KG<\/b><span style=\"font-weight: 400\"> \u2013 Define the minimum score for a KG intent match to consider as a definite match and discard any other intent matches found.<\/span><\/li>\n<li style=\"font-weight: 400\"><b>Minimum and Definitive Level for Knowledge Tasks<\/b><span style=\"font-weight: 400\"> \u2013 Define minimum and definitive threshold to identify and respond in case of a knowledge task.<\/span><\/li>\n<li style=\"font-weight: 400\"><b>KG Suggestions Count<\/b><span style=\"font-weight: 400\"> \u2013 Define the maximum number of KG\/FAQ suggestions to present when a definite KG intent match is unavailable.<\/span><\/li>\n<li style=\"font-weight: 400\"><b>The proximity of Suggested Matches<\/b><span style=\"font-weight: 400\"> \u2013 Define the maximum difference to allow between top-scoring and immediate next suggested questions to consider as equally important.<\/span><\/li>\n<li style=\"font-weight: 400\"><b>Qualify Contextual Paths<\/b><span style=\"font-weight: 400\"> \u2013 This ensures that the bot context is populated and retained with the terms\/nodes of the matched intent. This further enhances the user experience.<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><\/p>\n<table style=\"width: 100%;border-collapse: collapse;background-color: #fffbea\">\n<tbody>\n<tr>\n<td style=\"width: 100%\"><strong>Note<\/strong><span style=\"font-weight: 400\">: You can customize these settings in <\/span><strong>Natural Language &gt; Thresholds &amp; Configurations<\/strong><span style=\"font-weight: 400\">. See <\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/nlp\/knowledge-graph\/#Thresholds_Configurations\"><span style=\"font-weight: 400\">Knowledge Graph Training<\/span><\/a><span style=\"font-weight: 400\"> for details.<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<\/ol>\n<\/li>\n<li style=\"font-weight: 400\"><b>Traits<\/b><span style=\"font-weight: 400\"> \u2013 Traits qualify nodes\/terms even if the user utterance does not contain the term\/node. Traits are also helpful in filtering the suggested intent list.<\/span><\/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>[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's 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 as 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...","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\/v10-1\/wp-json\/wp\/v2\/posts\/18007","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/comments?post=18007"}],"version-history":[{"count":63,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/18007\/revisions"}],"predecessor-version":[{"id":56773,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/18007\/revisions\/56773"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/media?parent=18007"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/categories?post=18007"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/tags?post=18007"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}