{"id":28502,"date":"2021-06-14T04:38:59","date_gmt":"2021-06-14T03:38:59","guid":{"rendered":"https:\/\/multisite.korebots.com\/v9-0\/?p=28502"},"modified":"2021-08-05T09:04:42","modified_gmt":"2021-08-05T08:04:42","slug":"taxonomy-based-kg","status":"publish","type":"post","link":"https:\/\/multisite.korebots.com\/v9-0\/docs\/bots\/bot-builder-tool\/knowledge-task\/taxonomy-based-kg\/","title":{"rendered":"Taxonomy-based KG"},"content":{"rendered":"<section class=\"l-section wpb_row height_auto\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_grid cols_1 laptops-cols_inherit tablets-cols_inherit mobiles-cols_1 valign_top type_default stacking_default\"><div class=\"wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p>The Kore.ai platform provides a Taxonomy-based model in the Knowledge Graph to enhance the path qualification.<\/p>\n<p>The default Knowledge Graph model works on a two-step model i.e. path qualification and followed by question matching. The path need not be fully qualified at all times. Even a partial path match (above a threshold) is considered as a qualification and the questions in these paths are used for matching the user input.<\/p>\n<p>In the \u2018taxonomy\u2019 based approach, the \u2018path&#8217; should fully match at all times. The idea here is that every term in the path is equally important and only a full match of all the terms in the path should be considered as a qualification. Once a path is qualified, the questions in that path or paths will be considered for intent identification against user input. This is useful when you want to ensure that FAQs are answered from a given path only when the complete path is either present in the user\u2019s input or disambiguated from the user to answer the most confident questions.<\/p>\n<p>To achieve this, the platform allows a custom configuration settings Taxonomy-based Knowledge Graph under the Advanced NLP Configurations. By default, this setting is disabled. When enabled, the Knowledge Graph evaluates FAQs using the taxonomy-based approach.<\/p>\n<\/div><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p class=\"note\">This feature was released with v9.0 of the platform and is in <img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/sites\/22\/beta.png\" alt=\"\" width=\"18\" height=\"18\" \/> (beta) state.<\/p>\n<\/div><\/div><div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h2><span class=\"ez-toc-section\" id=\"Use_Case\"><\/span>Use Case<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Consider the following Knowledge Graph:<\/p>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/s3-us-east-2.amazonaws.com\/kore-wordpress\/developer.kore.ai\/wp-content\/uploads\/sites\/22\/20210719115556\/taxonomy_KG.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28673\" src=\"https:\/\/s3-us-east-2.amazonaws.com\/kore-wordpress\/developer.kore.ai\/wp-content\/uploads\/sites\/22\/20210719115556\/taxonomy_KG.png\" alt=\"\" width=\"1361\" height=\"587\" \/><\/a><\/p>\n<p>Any query related to accounts &#8211; opening or closing would yield in the following:<\/p>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/s3-us-east-2.amazonaws.com\/kore-wordpress\/developer.kore.ai\/wp-content\/uploads\/sites\/22\/20210719115726\/taxonomy_uc1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28676\" src=\"https:\/\/s3-us-east-2.amazonaws.com\/kore-wordpress\/developer.kore.ai\/wp-content\/uploads\/sites\/22\/20210719115726\/taxonomy_uc1.png\" alt=\"\" width=\"501\" height=\"717\" \/><\/a><\/p>\n<p>With Taxonomy enabled KG, even partial match of the node\/terms will yield in a response that is useful:<\/p>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/s3-us-east-2.amazonaws.com\/kore-wordpress\/developer.kore.ai\/wp-content\/uploads\/sites\/22\/20210719115855\/taxonomy_uc2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28679\" src=\"https:\/\/s3-us-east-2.amazonaws.com\/kore-wordpress\/developer.kore.ai\/wp-content\/uploads\/sites\/22\/20210719115855\/taxonomy_uc2.png\" alt=\"\" width=\"497\" height=\"715\" \/><\/a><\/p>\n<\/div><\/div><div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h2><span class=\"ez-toc-section\" id=\"Advantages\"><\/span>Advantages<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ol>\n<li>Taxonomy-based KG helps disambiguate at the parent level. Nodes\/terms are considered more important in the KG qualification.<\/li>\n<li>It allows for multiple questions within one leaf by allowing you to link existing questions to new intents.<\/li>\n<li>Allows you to give display names for nodes for presenting to the user.<\/li>\n<\/ol>\n<\/div><\/div><div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h2><span class=\"ez-toc-section\" id=\"Enabling\"><\/span>Enabling<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">To enable the Taxonomy-based custom configuration settings, follow the below steps:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Log in to the Kore.ai platform with valid credentials.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">By default, the <\/span><b>Bot Summary<\/b><span style=\"font-weight: 400;\"> page is displayed.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">On the left pane, click <\/span><b>Natural Language<\/b><span style=\"font-weight: 400;\"> -&gt; <\/span><b>Thresholds &amp; Configurations<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">On the Thresholds &amp; Configurations page, click <\/span><b>Advanced NLP Configurations<\/b><span style=\"font-weight: 400;\">. You can configure the thresholds and configurations associated with the advanced NLP settings.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">In the <\/span><b>Select a Configuration<\/b><span style=\"font-weight: 400;\"> drop-down field, select <\/span><b>Add Custom<\/b><span style=\"font-weight: 400;\"> from the list.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">In the <\/span><b>Custom Configuration<\/b><span style=\"font-weight: 400;\"> field, type <\/span><b>KG_Taxonomy_Based <\/b><span style=\"font-weight: 400;\">and click <\/span><b>Enter<\/b><span style=\"font-weight: 400;\">. <\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">In the <b>Configuration Value<\/b> field, type <b>enable <\/b>and click <b>Enter<\/b> to save the configuration.<br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/s3-us-east-2.amazonaws.com\/kore-wordpress\/developer.kore.ai\/wp-content\/uploads\/sites\/22\/20210719120410\/taxonomy_TC.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28682\" src=\"https:\/\/s3-us-east-2.amazonaws.com\/kore-wordpress\/developer.kore.ai\/wp-content\/uploads\/sites\/22\/20210719120410\/taxonomy_TC.png\" alt=\"\" width=\"1365\" height=\"675\" \/><\/a><\/li>\n<\/ol>\n<\/div><\/div><div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h2><span class=\"ez-toc-section\" id=\"Features\"><\/span>Features<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Once you enable the Taxonomy-based KG, the following options are enabled:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">For each node\/term, you can:<\/span>\n<ul>\n<li aria-level=\"1\">enter the\u00a0<strong>Term Display Name<\/strong> &#8211; this is presented to the user for disambiguation<\/li>\n<li aria-level=\"1\">enable the\u00a0<strong>Auto Qualify Path<\/strong> &#8211; this will ensure that the term is auto-qualified if any of its immediate child terms are qualified.<br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/s3-us-east-2.amazonaws.com\/kore-wordpress\/developer.kore.ai\/wp-content\/uploads\/sites\/22\/20210719121049\/taxonomy_KG_settings.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28685\" src=\"https:\/\/s3-us-east-2.amazonaws.com\/kore-wordpress\/developer.kore.ai\/wp-content\/uploads\/sites\/22\/20210719121049\/taxonomy_KG_settings.png\" alt=\"\" width=\"909\" height=\"413\" \/><\/a><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">When adding a new intent, you have the option to\u00a0<strong>Link an Existing Question\u00a0<\/strong>&#8211; this might\u00a0 prove useful since the user might provide a partial input that contains one or more terms<br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/s3-us-east-2.amazonaws.com\/kore-wordpress\/developer.kore.ai\/wp-content\/uploads\/sites\/22\/20210719121717\/taxonomy_KG_link.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28688\" src=\"https:\/\/s3-us-east-2.amazonaws.com\/kore-wordpress\/developer.kore.ai\/wp-content\/uploads\/sites\/22\/20210719121717\/taxonomy_KG_link.png\" alt=\"\" width=\"905\" height=\"355\" \/><\/a><\/li>\n<\/ol>\n<\/div><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h2><span class=\"ez-toc-section\" id=\"Notes\"><\/span>Notes<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Once you enable the Taxonomy-based KG, keep in mind the following:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\">For the Ranking and Resolver engine the following settings would be disabled:\n<ul>\n<li aria-level=\"1\">Prefer Definitive Matches, and<\/li>\n<li aria-level=\"1\">Rescoring of Intents<\/li>\n<\/ul>\n<\/li>\n<li aria-level=\"1\">The following settings of the Knowledge Graph engine would be ignored:\n<ul>\n<li aria-level=\"1\">Path Coverage,<\/li>\n<li aria-level=\"1\">KG Suggestions Count, and<\/li>\n<li aria-level=\"1\">Proximity of Suggested Matches.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<\/div><\/div><div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"The Kore.ai platform provides a Taxonomy-based model in the Knowledge Graph to enhance the path qualification. The default Knowledge Graph model works on a two-step model i.e. path qualification and followed by question matching. The path need not be fully qualified at all times. Even a partial path match (above a threshold) is considered as...","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/posts\/28502"}],"collection":[{"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/comments?post=28502"}],"version-history":[{"count":9,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/posts\/28502\/revisions"}],"predecessor-version":[{"id":29443,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/posts\/28502\/revisions\/29443"}],"wp:attachment":[{"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/media?parent=28502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/categories?post=28502"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/tags?post=28502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}