{"id":18010,"date":"2017-12-14T06:04:39","date_gmt":"2017-12-14T06:04:39","guid":{"rendered":"http:\/\/developer.kore.ai\/v8-1\/?post_type=docs&#038;p=12173"},"modified":"2021-05-03T08:08:58","modified_gmt":"2021-05-03T07:08:58","slug":"importing-the-bot-ontology-from-csv-or-json","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v8-1\/docs\/bots\/bot-builder-tool\/knowledge-task\/importing-the-bot-ontology-from-csv-or-json\/","title":{"rendered":"Importing and Exporting Bot Ontology"},"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>You can build a Knowledge Graph in a CSV or JSON file and upload it to a bot. Similarly, you can export the existing Knowledge Graph to CSV or JSON. Exporting a Knowledge Graph helps you edit it in a spreadsheet or import it to another Bot.<\/p>\n<p>There is a platform restriction of a maximum of 50k FAQs spread across a maximum of 20k nodes. Import of files exceeding these numbers is rejected.<\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h2><span class=\"ez-toc-section\" id=\"Importing_Knowledge_Graph\">Importing Knowledge Graph<\/span><\/h2>\n<ol>\n<li>On the left pane, click <strong>Bot Tasks <\/strong>&gt; <strong>Knowledge Graph<\/strong>.<\/li>\n<li>You can find the <strong>Import<\/strong> option on the respective Knowledge Graph.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/18\/KC-import-export.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-21699\" src=\"\/wp-content\/uploads\/sites\/18\/KC-import-export.png\" alt=\"\" width=\"820\" height=\"461\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101825\/KC-import-export.png 1366w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101825\/KC-import-export-300x169.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101825\/KC-import-export-1024x576.png 1024w\" sizes=\"auto, (max-width: 820px) 100vw, 820px\" \/><\/a><\/li>\n<li>Click <b>Import<\/b>.<\/li>\n<li>On the Import dialog box, do one of the following:\n<ul>\n<li>If you are creating the Knowledge Graph from scratch, click <b>Proceed<\/b>.<br \/>\n(or)<\/li>\n<li>If you have an existing Knowledge Graph, make sure to take a backup of the same to a CSV or JSON file, and then <strong>Proceed<\/strong>.\n<div class=\"alert alert-info\"><b>Note<\/b>: Importing a Knowledge Graph does not update it but replaces the entire existing Knowledge Graph.<\/div>\n<\/li>\n<\/ul>\n<\/li>\n<li>Drag and drop the file in the Import window or click <b>Browse <\/b>to locate the file.<\/li>\n<li>Click <b>Next <\/b>to begin the import.<\/li>\n<li>After the import is complete, the success message appears in a dialog box. Click <strong>Done.<\/strong><\/li>\n<li>The hierarchy is displayed in the Knowledge Graph and you can edit and train the same.<\/li>\n<\/ol>\n<h2><span class=\"ez-toc-section\" id=\"Exporting_Knowledge_Graph\">Exporting Knowledge Graph<\/span><\/h2>\n<p>To export a Knowledge Graph, follow the below steps:<\/p>\n<ol>\n<li>On the left pane, click <strong>Bot Tasks <\/strong>&gt; <strong>Knowledge Graph<\/strong>.<\/li>\n<li>You can find the <strong>Export<\/strong> option on the respective Knowledge Graph.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/18\/KC-import-export.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-21699\" src=\"\/wp-content\/uploads\/sites\/18\/KC-import-export.png\" alt=\"\" width=\"820\" height=\"461\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101825\/KC-import-export.png 1366w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101825\/KC-import-export-300x169.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101825\/KC-import-export-1024x576.png 1024w\" sizes=\"auto, (max-width: 820px) 100vw, 820px\" \/><\/a><\/li>\n<li>Based on the preferred format: click <strong>Export JSON<\/strong> or <strong>Export CSV<\/strong>.<\/li>\n<li>The Knowledge Graph file is downloaded to your machine.<\/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=\"Creating_a_Knowledge_Graph\">Creating a Knowledge Graph<\/span><\/h2>\n<p>Instead of creating the Knowledge Graph from the platform UI, you can work in your preferred editor like Spreadsheet or as a JSON file. The platform gives you the option to create a Knowledge Graph in a spreadsheet or JSON and use the same to import it into the bot.<\/p>\n<p>To import, follow the below steps:<\/p>\n<ol>\n<li>Download <strong>sample CSV or a JSON file<\/strong>. You can download these sample files from a blank Knowledge Graph too.<\/li>\n<li>Edit the file by adding rows corresponding to the questions, responses, synonyms, etc.<\/li>\n<li>Import the file to your bot.<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"From_a_CSV_File\">From a CSV File<\/span><\/h3>\n<p>You can create the Knowledge Graph using a sample spreadsheet that you can download from the bot. If you anticipate frequent changes to the Knowledge Graph, we recommend you to create it in a spreadsheet as it is easier to perform bulk updates compared to the application UI.<\/p>\n<p>Follow the instructions below to build your Knowledge Graph in a spreadsheet.<\/p>\n<h4>Download the Sample CSV file<\/h4>\n<ol>\n<li>On the left pane, click <strong>Bot Tasks <\/strong>&gt; <strong>Knowledge Graph<\/strong>.<\/li>\n<li>You can find the <strong>Import<\/strong> option on the respective Knowledge Graph.<\/li>\n<li>You are prompted to <b>back up<\/b> the Knowledge Graph before proceeding. Choose the CSV or JSON format for the backup.<\/li>\n<li>After backup, click <b>Proceed<\/b>.<\/li>\n<li>On the corresponding dialog box, click <b>Sample CSV<\/b>. The CSV file is downloaded to your local computer.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/18\/KC-import2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-21560\" src=\"\/wp-content\/uploads\/sites\/18\/KC-import2.png\" alt=\"\" width=\"550\" height=\"421\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101827\/KC-import2.png 550w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101827\/KC-import2-300x230.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><\/li>\n<\/ol>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h4 id=\"csv_rel73\">Build the Knowledge Graph in a CSV (post v7.3)<\/h4>\n<p>The format for the CSV file is modified in v7.3 of the bots platform to cater for details regarding alternate answers, extended responses, and advanced responses. <a href=\"#csv_rel7x\">See below for the older format<\/a>.\u00a0 You are strongly recommended to use the new format since the older format will be deprecated in the upcoming releases.<\/p>\n<ul>\n<li>The following types of entries are supported:\n<ul>\n<li><strong>Faq<\/strong> &#8211; The leaf level nodes with questions and answers.<\/li>\n<li><strong>Node<\/strong> &#8211; For node\/tags, traits, preconditions, and output context.<\/li>\n<li><strong>Synonyms<\/strong><\/li>\n<li><strong>KG Params<\/strong><\/li>\n<li><strong>Traits<\/strong><\/li>\n<\/ul>\n<\/li>\n<li>Each of the above categories needs to be preceded by the appropriate header.<\/li>\n<li>The header helps identify the new vs old versions of the JSON file by the platform.<\/li>\n<\/ul>\n<p>The following is the detailed information for each section and the content expected for each.<\/p>\n<p><strong>FAQ<\/strong><\/p>\n<p>This contains the actual questions and answers along with the alternate questions, answers, and extended answers.<\/p>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/18\/FAQ-JSON.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23041\" src=\"\/wp-content\/uploads\/sites\/18\/FAQ-JSON.png\" alt=\"\" width=\"1331\" height=\"167\" \/><\/a><\/p>\n<p>Following are the column-wise details that can be given:<\/p>\n<ul>\n<li>Faq &#8211; Mandatory entry in the header, must be left blank in the following rows.<\/li>\n<li>Que ID &#8211; The question ID generated by the platform for each question.<\/li>\n<li>Path &#8211; To which the FAQ belongs\n<ul>\n<li>Mandatory node names must be prefixed with ** and organizer nodes with !!<\/li>\n<\/ul>\n<\/li>\n<li>Primary Question &#8211; The actual question user might ask: When left blank, the entry in the <em>Answer<\/em> column is considered as the alternative answer to the previous primary question.<\/li>\n<li>Alternate Question &#8211; Optional: Alternate question to the primary question if there are multiple alternate questions, they must be given in multiple rows.<\/li>\n<li>Tags &#8211; For each question or alternate question.<\/li>\n<li>Answer &#8211; Answer to the question serves as an alternate answer when the primary question field is left blank. Answer format can be:\n<ul>\n<li>Plain text<\/li>\n<li>Script with SYS_SCRIPT prefix i.e. <code>SYS_SCRIPT &lt;answer in javascript format&gt;<\/code><\/li>\n<li>Channel-specific formatted response when prefixed with SYS_CHANNEL_&lt;channel-name&gt;, the answer can be simple or in script format:\n<ul>\n<li><code>SYS_CHANNEL_&lt;channel-name&gt; SYS_TEXT &lt;answer&gt;<\/code><\/li>\n<li><code>SYS_CHANNEL_&lt;channel-name&gt; SYS_SCRIPT &lt;answer in javascript format&gt;<\/code><\/li>\n<\/ul>\n<\/li>\n<li>Trigger a dialog then prefix with SYS_INTENT i.e. <code>SYS_INTENT &lt;dialog ref id&gt;<\/code><\/li>\n<\/ul>\n<\/li>\n<li>Extended Answer-1: Optional to be used in case the response is lengthy.<\/li>\n<li>Extended Answer-2: Optional to be used in case the response is lengthy.<\/li>\n<li>ReferenceId &#8211; reference to any external content used as a source for this FAQ<\/li>\n<li>Display Name &#8211; the name that would be used for presenting the FAQ to the end-users in case of ambiguity.<\/li>\n<\/ul>\n<p><strong>Nodes<\/strong><\/p>\n<p>This section includes settings for both nodes and tags.<\/p>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/18\/FAQ-JSON-node.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23042\" src=\"\/wp-content\/uploads\/sites\/18\/FAQ-JSON-node.png\" alt=\"\" width=\"1057\" height=\"62\" \/><\/a><\/p>\n<ul>\n<li>Node &#8211; Mandatory entry in the header must be blank in the following rows.<\/li>\n<li>Que ID &#8211; Mandatory when specifying settings for tags, leave blank for nodes.<\/li>\n<li>Nodepath &#8211; Path for reaching the node\/tag.<\/li>\n<li>Tag &#8211; Mandatory for tag settings, leave blank for node.<\/li>\n<li>Precondition &#8211; For qualifying this node\/tag.<\/li>\n<li>outputcontext &#8211; Context to be populated by this node\/tag.<\/li>\n<li>Traits &#8211; for this node\/tag.<\/li>\n<\/ul>\n<p><strong>Synonyms<\/strong><\/p>\n<p>Use this section to enter the synonyms as key-value pairs.<\/p>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/18\/FAQ-JSON-synonym.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23043\" src=\"\/wp-content\/uploads\/sites\/18\/FAQ-JSON-synonym.png\" alt=\"\" width=\"555\" height=\"52\" \/><\/a><\/p>\n<ul>\n<li>Synonyms &#8211; Mandatory entry in the header, must be blank in the following rows.<\/li>\n<li>Phrase &#8211; for which the synonym needs to be entered.<\/li>\n<li>Synonyms &#8211; Comma-separated values.<\/li>\n<\/ul>\n<p>Use of bot synonyms in KG term identification can be enabled using the following:<\/p>\n<ul>\n<li>confidenceConfigs &#8211; Mandatory entry in the header, must be blank in the following rows.<\/li>\n<li>parameter &#8211; <em>useBotSynonyms<\/em> in this case<\/li>\n<li>value &#8211; true or false<\/li>\n<\/ul>\n<p><strong>KG Params<\/strong><\/p>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/18\/FAQ-JSON-params.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23044\" src=\"\/wp-content\/uploads\/sites\/18\/FAQ-JSON-params.png\" alt=\"\" width=\"553\" height=\"31\" \/><\/a><\/p>\n<ul>\n<li>KG Params &#8211; mandatory entry in the header, must be blank in the following rows.<\/li>\n<li>lang &#8211; Bot language code. For example, en for English.<\/li>\n<li>stopwords &#8211; Comma-separated values.<\/li>\n<\/ul>\n<p><strong>Traits<\/strong><\/p>\n<p>Trait related information can be specified as follows:<\/p>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/18\/FAQ-JSON-trait.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23045\" src=\"\/wp-content\/uploads\/sites\/18\/FAQ-JSON-trait.png\" alt=\"\" width=\"1227\" height=\"207\" \/><\/a><\/p>\n<ul>\n<li>Traits &#8211; Mandatory entry in the header, must be blank in the following rows.<\/li>\n<li>lang &#8211; Bot language code. For example, en for English.<\/li>\n<li>GroupName &#8211; Trait group name.<\/li>\n<li>matchStrategy &#8211; Pattern or probability (for ML-based).<\/li>\n<li>scoreThreshold &#8211; Threshold value (between 0 and 1) when the matchStrategy above is set to ML-based.<\/li>\n<li>TraitName &#8211; The name of the trait.<\/li>\n<li>Training data &#8211; Utterances for the trait.<\/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<h3><span class=\"ez-toc-section\" id=\"From_a_JSON_file\">From a JSON file<\/span><\/h3>\n<p>Kore.ai allows you to create the Knowledge Graph in JSON and upload it. You can download a sample JSON from the bot to understand its structure.<\/p>\n<p>Follow the instructions below to build your Knowledge Graph using JSON:<\/p>\n<h4>Downloading the JSON sample<\/h4>\n<ol>\n<li>On the left pane, click <strong>Bot Tasks <\/strong>&gt; <strong>Knowledge Graph<\/strong>.<\/li>\n<li>You can find the <strong>Import<\/strong> option on the respective Knowledge Graph.<\/li>\n<li>You are prompted to <b>back up<\/b> the Knowledge Graph before proceeding. Choose the CSV or JSON format for the backup.<\/li>\n<li>After backup, click <b>Proceed<\/b>.<\/li>\n<li>On the corresponding dialog box, click <b>Sample JSON<\/b>. The JSON file is downloaded to your local computer.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/18\/KC-import2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-21560\" src=\"\/wp-content\/uploads\/sites\/18\/KC-import2.png\" alt=\"\" width=\"550\" height=\"421\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101827\/KC-import2.png 550w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/18\/20221201101827\/KC-import2-300x230.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><\/li>\n<\/ol>\n<h4>JSON Reference<\/h4>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/18\/FAQ-Json.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12167 size-full\" src=\"\/wp-content\/uploads\/sites\/18\/FAQ-Json.jpg\" alt=\"\" width=\"1031\" height=\"864\" \/><\/a><\/p>\n<table>\n<tbody>\n<tr>\n<td style=\"text-align: center;\"><strong>Property Name<\/strong><\/td>\n<td style=\"text-align: center;\"><strong>Type<\/strong><\/td>\n<td style=\"text-align: center;\"><strong>Description<\/strong><\/td>\n<\/tr>\n<tr>\n<td>FAQ<\/td>\n<td>Array<\/td>\n<td>Consists of the following:<\/p>\n<ul>\n<li>Question<\/li>\n<li>Answer<\/li>\n<li>Leaf and parent terms up to the First-level node in the path<\/li>\n<li>Alternative question<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td>Question<\/td>\n<td>String<\/td>\n<td>Primary question; included in the FAQ array.<\/td>\n<\/tr>\n<tr>\n<td>Answer<\/td>\n<td>String<\/td>\n<td>Bot response; included in the FAQ array.<\/td>\n<\/tr>\n<tr>\n<td>Terms<\/td>\n<td>Array<\/td>\n<td>Includes the leaf node to which the question is added, and its parents up to the First-level node.<\/td>\n<\/tr>\n<tr>\n<td>refId<\/td>\n<td>String<\/td>\n<td>Optional reference to any external content used as a source for this FAQ<\/td>\n<\/tr>\n<tr>\n<td>Alternate Questions<\/td>\n<td>Array<\/td>\n<td>Consists of alternative question and terms. Include terms from leaf to the First-level node.<\/td>\n<\/tr>\n<tr>\n<td>Synonyms<\/td>\n<td>Object<\/td>\n<td>Consists of arrays of terms and their synonyms.<\/td>\n<\/tr>\n<tr>\n<td>Unmappedpath<\/td>\n<td>Array<\/td>\n<td>Consists of arrays of nodes that do not have any questions, and all their parents up to the First-level node.<\/td>\n<\/tr>\n<tr>\n<td>Traits<\/td>\n<td>Object<\/td>\n<td>Consists of trait names as keys and an array of utterances as values.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\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<h4 id=\"csv_rel7x\">Building the Knowledge Graph in a CSV (before v7.3)<\/h4>\n<p>NOTE: This format will be deprecated in upcoming releases.<\/p>\n<p>Open the downloaded Sample CSV file.<\/p>\n<p>The details that you need to enter in each row of the CSV file differ based on the type of information. For example, the details you need to enter for an FAQ (Question, Answer, Nodes, Alternate Questions) differ from the details you need to enter for Synonyms (Term, Synonyms).<\/p>\n<p>The bot interprets the data present in each row of the CSV file, depending on the information type specified in Column # 1 of the row. Below are the valid entries for Column#1 of the CSV file, which represent the different information types:<\/p>\n<ul>\n<li><strong>faq<\/strong>: Represents a primary or alternate question in the Knowlege Graph.<\/li>\n<li><strong>unmappedpath<\/strong>: Represents nodes with no questions associated with them.<\/li>\n<li><strong>synonyms<\/strong>: Represents global synonyms for terms.<\/li>\n<li><strong>classes<\/strong>: Represents the trait names and their associated utterances.<\/li>\n<\/ul>\n<div class=\"alert alert-info\">\n<p><strong>Important Notes<\/strong><br \/>\nYou cannot import or export the following bot elements using a CSV or spreadsheet.<\/p>\n<ul>\n<li>Alternative Responses: While the spreadsheet support entering alternative questions for an FAQ, you cannot enter alternative responses in the spreadsheet and import them into the bot.<\/li>\n<li>Split Responses: You cannot enter or import FAQ responses that are split into multiple consecutive messages.<\/li>\n<li>Advanced Responses: The CSV import does not support responses written in the advanced mode using JavaScript.<\/li>\n<\/ul>\n<\/div>\n<p>The following sections provide the remaining details that you must fill in for each information type:<\/p>\n<h4>FAQ<\/h4>\n<h5>Primary Question<\/h5>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/18\/primary.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15145\" src=\"\/wp-content\/uploads\/sites\/18\/primary.png\" alt=\"\" width=\"648\" height=\"344\" \/><\/a><br \/>\n<b><br \/>\nNote<\/b>: Enter the names of all the parent nodes in separate columns until you reach the First-level node in the path.<\/p>\n<h5>Alternate Questions<\/h5>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/18\/alternate.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15146\" src=\"\/wp-content\/uploads\/sites\/18\/alternate.png\" alt=\"\" width=\"711\" height=\"257\" \/><\/a><\/p>\n<div class=\"alert alert-info\"><strong>Note<\/strong>: You need to enter each alternative question in a separate row below the primary question.<\/div>\n<p>&nbsp;<\/p>\n<h4>Terms\/Tags<\/h4>\n<ul>\n<li>Mandatory tags and terms can be prefixed with **<\/li>\n<li>Organizer tags and terms can be prefixed with !!<\/li>\n<\/ul>\n<h4>Unmappedpath<\/h4>\n<p>Unmappedpath refers to nodes for which no question is added.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/18\/Unmapped.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15147 size-full\" src=\"\/wp-content\/uploads\/sites\/18\/Unmapped.png\" alt=\"\" width=\"679\" height=\"176\" \/><\/a><\/p>\n<div class=\"alert alert-info\"><b>Note<\/b>: Enter the names of all parent nodes in the hierarchy up to the First-level node. Do not enter the name of the root node as it creates a duplicate node below the root node.<\/div>\n<h4>Global Synonyms<\/h4>\n<div class=\"alert alert-info\"><b>Note<\/b>: Enter each synonym in a separate column.<\/div>\n<p>&nbsp;<\/p>\n<h3><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/18\/Global-synonyms-ss.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15148 size-large\" src=\"\/wp-content\/uploads\/sites\/18\/Global-synonyms-ss-1024x155.png\" alt=\"\" width=\"835\" height=\"126\" \/><\/a><\/h3>\n<h4>Path Synonyms<\/h4>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/18\/path-synonyms.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15151 size-full\" src=\"\/wp-content\/uploads\/sites\/18\/path-synonyms.png\" alt=\"\" width=\"995\" height=\"177\" \/><\/a><\/p>\n<h4>Traits<\/h4>\n<div>To associate a term or tag with a trait use the entry as: <code>&lt;tag\/term-name&gt;:&lt;class-name&gt;&gt;<\/code><\/div>\n<div class=\"alert alert-info\"><b>Note<\/b>: Enter each utterance in a separate column.<\/div>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/18\/Classes-import.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12155 size-full\" src=\"\/wp-content\/uploads\/sites\/18\/Classes-import.jpg\" alt=\"\" width=\"882\" height=\"214\" \/><\/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><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"You can build a Knowledge Graph in a CSV or JSON file and upload it to a bot. Similarly, you can export the existing Knowledge Graph to CSV or JSON. Exporting a Knowledge Graph helps you edit it in a spreadsheet or import it to another Bot. There is a platform restriction of a maximum...","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-18010","post","type-post","status-publish","format-standard","hentry","category-knowledge-task"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/posts\/18010","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/comments?post=18010"}],"version-history":[{"count":16,"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/posts\/18010\/revisions"}],"predecessor-version":[{"id":27317,"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/posts\/18010\/revisions\/27317"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/media?parent=18010"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/categories?post=18010"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/tags?post=18010"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}