{"id":17680,"date":"2016-06-01T19:11:50","date_gmt":"2016-06-01T19:11:50","guid":{"rendered":"http:\/\/apidocs.kore.com\/?post_type=docs&#038;p=1776"},"modified":"2021-03-30T11:54:03","modified_gmt":"2021-03-30T10:54:03","slug":"about-bots","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v7-1\/docs\/bots\/chatbot-overview\/about-bots\/","title":{"rendered":"Bot Concepts and Terminology"},"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>This article lists the key terms and concepts related to the Kore.ai Bots Platform.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Bot\">Bot<\/span><\/h3>\n<p>A bot is a form of virtual assistant that acts as an intelligent intermediary between people, digital systems, and Internet-enabled things. Bots are intelligent with machine learning, natural language processing, and other forms of advanced software allowing them to handle complex human conversations and learn from past interactions, improving responses over time.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Utterance\">Utterance<\/span><\/h3>\n<p>Anything that a user says to the chatbot is an utterance. For example, if the user types <em>Book me a flight to Orlando for next Sunday<\/em>, the entire sentence is considered as the user utterance.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Intent\">Intent<\/span><\/h3>\n<p>The few essential words in the utterance that describe what the user wants the chatbot to do. It is usually a combination of a verb and a noun. For example, in the above user utterance <em>Book me a flight to Orlando for next Sunday<\/em>, the intent is <em>Book me a flight<\/em>.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Entities\">Entities<\/span><\/h3>\n<p>To fulfill user intent, the Bot may require additional information or parameters. For example, to book a flight, it needs the source and destination city along with the travel date. In the above example, user utterance <em>Book me a flight to Orlando for next Sunday, Orlando<\/em> and <em>next Sunday<\/em> are entities<em>.<\/em><\/p>\n<p>Entities are the necessary fields, data, or words for a chatbot to complete the user\u2019s request. With the required entities in hand, the Bots Platform can reach out to the web service and get the specific data or perform the action as per the user intent.<\/p>\n<p>For more information about parameters and user input, see the particular task type parameters and fields at Defining Bot Tasks.<\/p>\n<table>\n<thead>\n<tr>\n<th>Sample Utterance<\/th>\n<th>Intent<\/th>\n<th>Entity<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Book me a flight to Orlando<\/td>\n<td>Book flight<\/td>\n<td>City: Orlando<\/td>\n<\/tr>\n<tr>\n<td>Schedule a meeting with Bill this Sunday<\/td>\n<td>Schedule a meeting<\/td>\n<td>Person name: Bill<br \/>\nDate: April 22, 2018<\/td>\n<\/tr>\n<tr>\n<td>Add two bottles of red wine to the cart<\/td>\n<td>Add to cart<\/td>\n<td>Item: Red Wine<br \/>\nCount: Two<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_medium 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=\"Natural_Language_Processing\">Natural Language Processing<\/span><\/h3>\n<p>The process by which a bot identifies the intent of the user extracts useful information from their utterance and maps that data (entities) to the relevant task. This allows bots to process requests in text form, rather than complicated menus or programming language.<br \/>\nKore.ai\u2019s Platform uses a unique NLProcessing strategy. It combines Fundamental Meaning and Machine Learning Engines for optimal conversation accuracy. Bots built on Kore.ai\u2019s Platform can understand and process the following:<\/p>\n<ul>\n<li>Multi-sentence messages<\/li>\n<li>Multiple intents<\/li>\n<li>Contextual references<\/li>\n<li>Patterns and idiomatic sentences, and more.<\/li>\n<\/ul>\n<h4>Artificial Intelligence<\/h4>\n<p>A machine\u2019s ability to simulate human behavior and decision-making and perform tasks that normally require human-like intelligence, such as speech recognition and understanding, language translation, and more.<\/p>\n<h4>Machine Learning<\/h4>\n<p>A machine\u2019s ability to use algorithms, patterns, and training data to learn and find hidden insights, without being explicitly programmed.<\/p>\n<h4>Entity Extraction<\/h4>\n<p>The extraction of relevant and valuable data from a user\u2019s utterance to complete a task. Bots can ensure they have all the data they need to complete the user tasks and, if not, can prompt the user for the missing information.<\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_medium 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=\"Bot_Tasks\">Bot Tasks<\/span><\/h3>\n<p>Tasks refer to different types of simple and complex \u201cjobs\u201d that are designated to the chatbot by the developer. These tasks are performed by the chatbot to fulfill the user intents.<\/p>\n<p>For a Travel bot, task names might be to Book tickets, Find hotels, Provide weather forecast, and so forth, which cater to different user intents.<\/p>\n<p>Once the bot understands a user intent, it is ready to perform a task, such as reaching out to a web service, extracting the current weather conditions report, parsing that response, and then delivering the data to the user.<\/p>\n<p><span style=\"font-weight: 400\">Kore.ai provides 5 pre-defined task types that cover virtually all bot scenarios.<\/span><\/p>\n<h4>Action Tasks<\/h4>\n<p>Bots can collect, modify, and post information in systems of record, like scheduling an appointment, searching for a product, or updating critical information.<\/p>\n<h4>Alert Tasks<\/h4>\n<p>Bots can deliver timely, relevant, and personalized notifications to customers and employees directly from the enterprise system by polling backend systems or by pulling information at regular intervals. Alerts can be configured by users or bot developers.<\/p>\n<h4>Knowledge Graph<\/h4>\n<p>Bots can provide your users with answers to their most commonly asked questions by querying a predefined set of information. For example, a bot could answer customer questions regarding hours of operation while also answering questions about return policies.<\/p>\n<h4>Information Tasks<\/h4>\n<p>Bots can provide users with data from back-end systems in the form of reports. These reports are formatted and organized based on user preferences and applicable filters, and they can be downloaded for later use. For example, a bot could provide a sales manager with a report detailing the top 10 sales reps last year by region, organized from most to least sales.<\/p>\n<h4>Dialog Tasks<\/h4>\n<p>Bots can handle complex multi-turn conversational experiences that replicate the natural back and forth exchanges people have every day.<\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_medium 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=\"Learning\">Learning<\/span><\/h3>\n<p>How chatbots come to recognize new intents and entities, how to answer questions correctly, and how to identify the important aspects of a user utterance. Learning can be manual or automatic. And, just like humans, bots need to know when they are wrong and what the right action, response, or answer should be.<\/p>\n<h4>Supervised Learning<\/h4>\n<p>A form of learning in which you have input variables (X) and an output variable (Y), and you use an algorithm to learn the mapping function from the input to the output. Here, the bot developer acts as a teacher and has virtually full control over what the bot learns. This means that the algorithm makes predictions based on the training data provided. The bot creator developer can manually correct these predictions by flagging the findings as correct or incorrect. Since the bot developer already knows what the bot should understand, learning can be stopped as soon as he or she decides or when the model reaches an acceptable level of performance.<\/p>\n<h4>Unsupervised Learning<\/h4>\n<p>A form of learning that doesn\u2019t require bot developer oversight. Here, the bot learns from all successful utterances, meaning those utterances that were successfully recognized by the bot and the tasks that were completed, and uses these findings to automatically expand the model and retrain the bot, including user-provided confirmations of intents in case of conflicts. This form of training allows bots to expand their language capabilities and improve their accuracy &#8211; while excluding failed utterances &#8211; all without human intervention.<\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_medium 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=\"Messaging_Channels\">Messaging Channels<\/span><\/h3>\n<p>Channels refer to various communication platforms where a bot can live such as SMS, email, mobile apps, websites, messaging apps and more. With the Bot Builder, you can design chatbot tasks once, and deploy across channels by merely checking a box.<\/p>\n<p>You can also differentiate cross-channel experiences by altering message responses or leveraging channel-specific UI elements like date selectors, carousels and more.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Variables_Context_and_Session_Data\">Variables, Context, and Session Data<\/span><\/h3>\n<p>When developers create and define tasks, they can access the following:<\/p>\n<ul>\n<li>Session variables provided by the Bots Platform<\/li>\n<li>Custom variables that they define<\/li>\n<li>The context that defines the scope of the variable<\/li>\n<\/ul>\n<p>For example, some API requests may require you to set session variables before executing the task, or a Dialog task component may need to access a session variable to transition to the next node. Dialog tasks can also access the context object with additional system variables. These session and context variables allow you to persist data and store, for example, a user\u2019s home address for commerce, transportation, and home delivery-focused services to be used by the bot when executing a task.<\/p>\n<p>The Bots Platform supports session variables that can be used when defining tasks in sections using JavaScript. Session variables depend on the context or scope in which they get used, for example, enterprise-level, bot-level, user-level, and session level.<\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_medium 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":"This article lists the key terms and concepts related to the Kore.ai Bots Platform. Bot A bot is a form of virtual assistant that acts as an intelligent intermediary between people, digital systems, and Internet-enabled things. Bots are intelligent with machine learning, natural language processing, and other forms of advanced software allowing them to handle...","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-17680","post","type-post","status-publish","format-standard","hentry","category-chatbot-overview"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/posts\/17680","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/comments?post=17680"}],"version-history":[{"count":6,"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/posts\/17680\/revisions"}],"predecessor-version":[{"id":22927,"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/posts\/17680\/revisions\/22927"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/media?parent=17680"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/categories?post=17680"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/tags?post=17680"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}