{"id":19934,"date":"2019-05-03T04:30:17","date_gmt":"2019-05-03T04:30:17","guid":{"rendered":"https:\/\/developer.kore.ai\/v8-0\/?p=19934"},"modified":"2021-03-26T05:46:53","modified_gmt":"2021-03-26T05:46:53","slug":"chatbot-overview","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v8-0\/docs\/bots\/chatbot-overview\/chatbot-overview\/","title":{"rendered":"Chatbot Overview"},"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>Communication has been the essence of life from the beginning of times. With the evolution of technology, mode, and style of communication have also evolved.<\/p>\n<p>In the early days, conversations were restricted to verbal and textual interaction between humans. These interactions are usually guided by emotions, context, and awareness of the previous conversation. With the advent of computers, interactions have now expanded to include machines i.e. human-machine interactions. The transition from a command-based interface to a Graphical User Interface (GUI) to a Conversational User Interface (CUI) was natural, need-based and this transition made the communication easier.<\/p>\n<p>With CUI, came chatbots that interact with users in a natural language. Further enhancements using Artificial Intelligence and NLP capabilities enabled a chatbot to understand user utterance in the natural language; derive the task from the user utterance as well as extract the information required to successfully execute the task.<\/p>\n<p>AI-driven, NLP-based chatbots and voice assistants are the latest in technology and a must for all businesses these days.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/ConversationalBot0.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19938\" src=\"\/wp-content\/uploads\/sites\/16\/ConversationalBot0.png\" alt=\"\" width=\"820\" height=\"332\" \/><\/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>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h2 id=\"conversational-bots\"><span class=\"ez-toc-section\" id=\"What_are_Conversational_Bots\">What are Conversational Bots?<\/span><\/h2>\n<p>A Conversational Bot or Chatbot is a virtual assistant that acts as an intelligent intermediary between people, digital systems, and internet-enabled things. It replaces the traditional Graphical User Interfaces (GUIs) of an application or website with a Conversational User Interface. It is a paradigm shift from the earlier communications achieved either by entering syntax-specific commands or clicking icons.<\/p>\n<p>Chatbots are designed to chat with users through a combination of natural language-based conversations. Responses come in the form of buttons, calendars, or other widgets that accelerate the speed with which a user can respond.<\/p>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/ConversationalBot1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19937\" src=\"\/wp-content\/uploads\/sites\/16\/ConversationalBot1.png\" alt=\"\" width=\"820\" height=\"458\" \/><\/a><\/p>\n<p>AI-powered messaging solutions or Conversational Bots serves as the stepping stone to the future. A Conversational Bot is an automated computer program skilled in digital media communication. It communicates through intelligent virtual agents, organizations\u2019 apps and websites, social media platforms, and messenger platforms. Users can interact with such bots using voice or text to access information, complete tasks, and execute transactions.<\/p>\n<p>So what makes the Conversational Bot so special? This in a nutshell:<\/p>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/ConversationalBot2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19939\" src=\"\/wp-content\/uploads\/sites\/16\/ConversationalBot2.png\" alt=\"\" width=\"820\" height=\"342\" \/><\/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>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h2 id=\"entities-intents\"><span class=\"ez-toc-section\" id=\"What_are_Intents_Entities\">What are Intents &amp; Entities?<\/span><\/h2>\n<p>A Conversational Bot faces three challenges:<\/p>\n<ol>\n<li><strong>Intent<\/strong> Detection &#8211; Understanding what the user wants.<\/li>\n<li><strong>Entity<\/strong> Extraction &#8211; Extracting the required information from the user to accomplish what the user wants.<\/li>\n<li><strong>Dialog Flow<\/strong>\/Conversation\u00a0&#8211; Accomplishing the user wants.<\/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<p>Whatever the user says is considered as an <strong>Utterance<\/strong>. It is the task of the Conversational Bot to extract from this user utterance, the intent, and entities essential to carry a conversation. For example, let us consider the following user utterance: <em>I want to fly to London this weekend.<\/em><\/p>\n<p>An\u00a0<strong>Intent<\/strong> is the user&#8217;s intention. It usually comes in the form of a verb or noun within the user utterance. From the above user utterance, a Conversational Bot understands the user intent as <em>want to fly<\/em> and triggers the corresponding dialog task.<\/p>\n<p><strong>Entities<\/strong> are a collection of data or information that the Bot requires to complete the task as identified in the user intent. There can be multiple entities in various formats that are required by the Bot. These can be a part of user utterance or the Bot needs to prompt the user for the entity values. For example, in the above user utterance, <em>London,<\/em> and <em>this weekend<\/em>\u00a0form the values for the entities <strong>Destination<\/strong> and <strong>Travel Date<\/strong> respectively. As you can notice, the <em>Source <\/em>entity value is missing and the Bot needs to prompt the user for the same.<\/p>\n<p>As seen, an Entity can be of any type like location, date, time, person, etc,.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/ConversationalBot3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19944\" src=\"\/wp-content\/uploads\/sites\/16\/ConversationalBot3.png\" alt=\"\" width=\"820\" height=\"374\" \/><\/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>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h2 id=\"intelligent-bots\"><span class=\"ez-toc-section\" id=\"How_to_Build_Intelligent_Bots\">How to Build Intelligent Bots?<\/span><\/h2>\n<p>Bots are not smart by default. They are made capable of showing some level of artificial intelligence by leveraging technologies like machine learning, big data, natural language processing, etc. A chatbot is intelligent when it is aware of user needs, understands the user&#8217;s perspective or context, and responds according to the user&#8217;s mood or emotion. Its intelligence gives the chatbot the ability to handle any scenario of a conversation with ease.<\/p>\n<p>The key for a Conversational Bot to understand humans is; its ability to identify the human intentions, extract relevant information from the user utterance and map the relevant action\/task against that utterance. <strong>NLP <\/strong>(Natural Language Processing) is the science of extracting the intention (Intent) of text and relevant information (Entity) from the text.<\/p>\n<p>Managing dialogs to keep track of multiple conversation threads, remembering the context, and responding to the user tone or sentiment provides the much-needed humane touch to the conversation and at the same time serving the user with accurate and appropriate responses.<\/p>\n<p>Another aspect that helps build an intelligent Bot is having a <strong>Knowledge Base<\/strong>. This gives the Bot an ability to respond to frequently asked questions that return static responses. Building <strong>Knowledge Collection <\/strong>is an attempt to represent entities, ideas, and events with all their interdependent properties and relations according to a system of categories. This structured categorization of data helps the Bot to answer user queries effectively and with ease.<\/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<div class=\"w-post-elm post_navigation layout_simple inv_false\">\n\t<a class=\"post_navigation-item order_first to_prev\" href=\"#\"><\/p>\n<div class=\"post_navigation-item-meta\"><\/div>\n<div class=\"post_navigation-item-title\"><\/div>\n<p>\t<\/a><br \/><a class=\"post_navigation-item order_second to_next\" href=\"\/docs\/bots\/chatbot-overview\/koreai-platform\/\"><\/p>\n<div class=\"post_navigation-item-arrow\"><\/div>\n<div class=\"post_navigation-item-meta\">Next Post<\/div>\n<div class=\"post_navigation-item-title\"><span>Kore.ai Conversational Platform<\/span><\/div>\n<p>\t<\/a><\/div>\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":"Communication has been the essence of life from the beginning of times. With the evolution of technology, mode, and style of communication have also evolved. In the early days, conversations were restricted to verbal and textual interaction between humans. These interactions are usually guided by emotions, context, and awareness of the previous conversation. With the...","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[68],"tags":[],"class_list":["post-19934","post","type-post","status-publish","format-standard","hentry","category-chatbot-overview"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/posts\/19934","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/comments?post=19934"}],"version-history":[{"count":13,"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/posts\/19934\/revisions"}],"predecessor-version":[{"id":26756,"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/posts\/19934\/revisions\/26756"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/media?parent=19934"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/categories?post=19934"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/tags?post=19934"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}