{"id":18103,"date":"2019-01-30T11:11:24","date_gmt":"2019-01-30T11:11:24","guid":{"rendered":"\/docs\/bots\/bot-builder\/train\/"},"modified":"2024-01-22T07:11:32","modified_gmt":"2024-01-22T07:11:32","slug":"optimizing-bots","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/nlp\/optimizing-bots\/","title":{"rendered":"Improving VA Performance &#8211; NLP Optimization"},"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>A chatbot\u2019s ability to consistently understand and interact with a user is dictated by the robustness of the Natural Language Processing (NLP) that powers the conversation.<\/p>\n<p>Kore.ai\u2019s platform uses a unique Natural Language Processing strategy, combining Fundamental Meaning and Machine Learning engines for maximum conversation accuracy with little upfront training. Bots built on Kore.ai\u2019s platform can understand and process multi-sentence messages, multiple intents, contextual references made by the user, patterns and idiomatic sentences, and more. <a href=\"\/docs\/bots\/chatbot-overview\/nlp-guide\/\" target=\"_blank\" rel=\"noopener noreferrer\">See here for an overview<\/a>.<\/p>\n<p>The NL engine includes recognition support for a wide range of entities and provides the tools needed to further customize your bot\u2019s language understanding using additional patterns.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Optimizing_your_Virtual_Assistant\">Optimizing your Virtual Assistant<\/span><\/h2>\n<p>To make sure your VA is NLP-optimized, you can define, and refine names and terms used for your assistant to enhance the NLP interpreter accuracy and performance to recognize the right bot task for the user.<br \/>\nYou begin by defining synonyms at the task level, and then manage and refine synonyms, and test at the bot level.<\/p>\n<p>To get started optimizing your Virtual Assistant and tasks, you need to access the <strong>Natural Language<\/strong>\u00a0options. These options are categorized\u00a0under various headings for your convenience:<\/p>\n<ul>\n<li><strong>Training<\/strong> &#8211; In the Training section, you can define how the NLP interpreter recognizes and responds to the user input for a VA, and then train the interpreter to recognize the correct user intent.\n<ul>\n<li><strong>Machine Learning Utterances<\/strong> &#8211; With Machine Learning, you can enhance recognition of user utterances for better recognition and system performance for the user intent which is the intended task that the user wants to access.<\/li>\n<li><strong>Synonyms &amp; Concepts<\/strong> &#8211; You can use the Synonyms section to optimize the NLP interpreter accuracy in recognizing the correct intent and entity provided by the user.<\/li>\n<li><strong>Patterns &amp; Rules<\/strong> &#8211; In the Patterns section, you can define slang, metaphors, or other idiomatic expressions for intent and entities.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Thresholds &amp; Configurations<\/strong> &#8211; In this section, you can define the recognition confidence levels required for minimum recognition actions, the confidence range for asking a user to choose from a list of possible matches, and a recognition confidence level for a positive match for the knowledge graph.<\/li>\n<li>Modify <strong>Advanced Settings<\/strong> like auto training setting for user utterances and negative intent patterns.<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\/20230302143925\/build-naturalLanguage-inNavigation.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-55243\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230302143925\/build-naturalLanguage-inNavigation-120x300.png\" alt=\"Natural Language options\" width=\"250\" height=\"625\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230302143925\/build-naturalLanguage-inNavigation-120x300.png 120w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230302143925\/build-naturalLanguage-inNavigation.png 326w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><br \/>\n<\/a><\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"NLP_Version_3\">NLP Version 3<\/span><\/h2>\n<p>Version 10.0 of the XO Platform includes a new version of the NLP Engine (Version 3) that comes with many advantages:<\/p>\n<ul>\n<li>Improved performance and accuracy of Traits Engine.<\/li>\n<li>Improved accuracy using network types like Transformer and KAEN models for the English Language.<\/li>\n<li>Improved accuracy using the Transformer model for other languages.<\/li>\n<li>Improved the security of NLP by addressing several security vulnerabilities.<\/li>\n<li><span style=\"font-weight: 400;\">Improved performance by enabling LLM &amp; Generative AI.<\/span><\/li>\n<\/ul>\n<p>In addition, it allows you to explore the latest features like <a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/nlp\/user-utterances\/#Zero-Shot_Learning_Model_with_OpenAI\" target=\"_blank\" rel=\"noopener noreferrer\">Zero-shot Model<\/a>, <a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/nlp\/user-utterances\/#Few-Shot_Model_Koreai_Hosted_Embeddings\" target=\"_blank\" rel=\"noopener noreferrer\">Few-shot Model<\/a>, and <a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/intent-discovery\/\" target=\"_blank\" rel=\"noopener noreferrer\">Intent Discovery<\/a>.<\/p>\n<p>The new VAs will automatically use the new version by default. As of January 21, 2024, existing VAs are already migrated to Version 3, and the Platform no longer supports Version 2.<\/p>\n<p><span style=\"font-weight: 400;\">On-Premise customers can run both versions in parallel or switch directly to Version 3. <\/span><\/p>\n<p>You can start optimizing your Virtual Assistant, by:<\/p>\n<ul>\n<li>Customizing the ML engine, <a href=\"\/docs\/bots\/nlp\/user-utterances\/\">see here for more<\/a>.<\/li>\n<li>Customizing the KG engine, <a href=\"\/docs\/bots\/nlp\/knowledge-graph\/\">see here for more<\/a>.<\/li>\n<li>Customizing the FM engine, <a href=\"\/docs\/bots\/nlp\/fundamental-meaning\/\">see here for more<\/a>.<\/li>\n<li>Customizing the Traits engine, <a href=\"\/docs\/bots\/nlp\/traits\/\">see here for more<\/a>.<\/li>\n<li>Customizing the R&amp;R engine, <a href=\"\/docs\/bots\/nlp\/nlp-detection\/\">see here for more<\/a>.<\/li>\n<\/ul>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"ult-spacer spacer-6ae8707d34a2b\" data-id=\"6ae8707d34a2b\" data-height=\"10\" data-height-mobile=\"10\" data-height-tab=\"10\" data-height-tab-portrait=\"\" data-height-mobile-landscape=\"\" style=\"clear:both;display:block;\"><\/div><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"A chatbot\u2019s ability to consistently understand and interact with a user is dictated by the robustness of the Natural Language Processing (NLP) that powers the conversation. Kore.ai\u2019s platform uses a unique Natural Language Processing strategy, combining Fundamental Meaning and Machine Learning engines for maximum conversation accuracy with little upfront training. Bots built on Kore.ai\u2019s platform...","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-18103","post","type-post","status-publish","format-standard","hentry","category-nlp"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/18103","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=18103"}],"version-history":[{"count":32,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/18103\/revisions"}],"predecessor-version":[{"id":61070,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/18103\/revisions\/61070"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/media?parent=18103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/categories?post=18103"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/tags?post=18103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}