{"id":32974,"date":"2018-05-10T19:10:46","date_gmt":"2018-05-10T16:10:46","guid":{"rendered":"https:\/\/www.altoros.com\/blog\/?p=32974"},"modified":"2018-07-17T17:22:08","modified_gmt":"2018-07-17T14:22:08","slug":"things-that-matter-when-building-a-natural-language-chatbot","status":"publish","type":"post","link":"https:\/\/www.altoros.com\/blog\/things-that-matter-when-building-a-natural-language-chatbot\/","title":{"rendered":"Things That Matter When Building a Natural Language Chatbot"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_79_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.altoros.com\/blog\/things-that-matter-when-building-a-natural-language-chatbot\/#Its_the_messenger_era\" >It&#8217;s the messenger era<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.altoros.com\/blog\/things-that-matter-when-building-a-natural-language-chatbot\/#Where_applied\" >Where applied?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.altoros.com\/blog\/things-that-matter-when-building-a-natural-language-chatbot\/#Functionality_driven_by_AIML\" >Functionality driven by AI\/ML<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.altoros.com\/blog\/things-that-matter-when-building-a-natural-language-chatbot\/#Powered_by_natural_language_processing\" >Powered by natural language processing<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.altoros.com\/blog\/things-that-matter-when-building-a-natural-language-chatbot\/#Want_details_Watch_the_videos\" >Want details? Watch the videos!<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.altoros.com\/blog\/things-that-matter-when-building-a-natural-language-chatbot\/#Related_slides\" >Related slides<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.altoros.com\/blog\/things-that-matter-when-building-a-natural-language-chatbot\/#Further_reading\" >Further reading<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.altoros.com\/blog\/things-that-matter-when-building-a-natural-language-chatbot\/#About_the_experts\" >About the experts<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"Its_the_messenger_era\"><\/span>It&#8217;s the messenger era<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>In 2015, Business Insider released a <a href=\"https:\/\/www.businessinsider.com\/messaging-apps-have-completely-overtaken-social-networks-to-become-the-dominant-platforms-on-phones-2015-4\" rel=\"noopener\" target=\"_blank\">report<\/a> showing messaging apps equal social networks in monthly active users. In the succeeding years, messengers <a href=\"https:\/\/www.businessinsider.com\/the-messaging-app-report-2015-11\" rel=\"noopener\" target=\"_blank\">would surpass<\/a> social networks as they evolve beyond simple chat interfaces.<\/p>\n<p>With this growth, companies are now investing in expanding messaging apps with chatbots, especially with users beginning to favor automated systems. According to Forrester, <a href=\"https:\/\/cpacan.com\/wp-content\/uploads\/2017\/08\/Forresters-Customer-Service-Trends-2017.pdf\" rel=\"noopener\" target=\"_blank\">two-fifths of adults<\/a> in the U.S. prefer using digital systems over speaking with a live person on the phone.<\/p>\n<p><center><a href=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2018\/05\/machine-learning-tensorflow-natural-language-processing-artificial-intelligence-chatbot-top-bots-for-brands.png\"><img decoding=\"async\" src=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2018\/05\/machine-learning-tensorflow-natural-language-processing-artificial-intelligence-chatbot-top-bots-for-brands.png\" alt=\"\" width=\"640\" class=\"aligncenter size-full wp-image-33288\" \/><\/a><small>Chatbots in various industries (<a href=\"https:\/\/www.topbots.com\/100-best-bots-brands-businesses\/\" rel=\"noopener\" target=\"_blank\">Image credit<\/a>)<\/small><\/center><\/p>\n<p>At a recent <a href=\"https:\/\/www.meetup.com\/ru-RU\/Artificial-Intelligence-Experience-New-York\/events\/249158773\/\" rel=\"noopener\" target=\"_blank\">TensorFlow meetup<\/a> in New York, a data scientist <a href=\"https:\/\/www.linkedin.com\/in\/ruzerichards\/\" rel=\"noopener\" target=\"_blank\">Ruze Richards<\/a> spoke about how chatbots are currently being employed and how <a href=\"https:\/\/www.altoros.com\/blog\/approaches-and-models-for-applying-natural-language-processing\/\">natural language processing<\/a> (NLP) can help to improve.<\/p>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Where_applied\"><\/span>Where applied?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Many companies, including Amazon, Facebook, Google, and Microsoft, already have chatbots for <b>scheduling<\/b> appointments, voice <b>search<\/b>, <b>shopping<\/b>, automating <b>payments<\/b>, etc. Additionally, chatbots are enabling companies to improve across several business lines:<\/p>\n<ul>\n<li style=\"margin-bottom: 6px;\"><strong>Online sales<\/strong>. Chatbots are also gaining popularity in online retail. 1-800-Flowers was one of the first businesses to integrate its chatbot with Facebook Messenger in 2016. In the first two months, <a href=\"https:\/\/digiday.com\/marketing\/two-months-1-800-flowers-facebook-bot-working\/\" rel=\"noopener\" target=\"_blank\">70% of sales<\/a> going through the chatbot were from new customers.<\/p>\n<\/li>\n<li style=\"margin-bottom: 6px;\"><strong>Customer feedback<\/strong>. Customers expect quick replies. 53% of customers expect companies to respond to tweets <a href=\"https:\/\/khoros.com\/about\/newsroom\" rel=\"noopener\" target=\"_blank\">within an hour<\/a>. <\/li>\n<li><strong>Upselling<\/strong>. The <a href=\"https:\/\/venturebeat.com\/2013\/05\/08\/five-reasons-you-should-be-using-sms-based-marketing\/\" rel=\"noopener\" target=\"_blank\">open rate<\/a> for mobile messages is at an astounding 98%. 90% of those messages are read <a href=\"https:\/\/www.salesforce.com\/blog\/2016\/11\/sms-marketing.html\" rel=\"noopener\" target=\"_blank\">in the first three minutes<\/a> when received. In this case, companies can employ SMS chatbots to quickly promote new products and services, saving on contact centers and customer service teams.<\/li>\n<\/ul>\n<p><center><a href=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2018\/05\/machine-learning-tensorflow-natural-language-processing-artificial-intelligence-chatbot-expected-benefits.png\"><img decoding=\"async\" src=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2018\/05\/machine-learning-tensorflow-natural-language-processing-artificial-intelligence-chatbot-expected-benefits.png\" alt=\"\" width=\"640\" class=\"aligncenter size-full wp-image-33289\" \/><\/a><small>Most chatbots serve as autoresponders, providing 24\/7 service (<a href=\"https:\/\/www.liveworld.com\/the-role-of-chatbots-and-automation-in-customer-service\/\" rel=\"noopener\" target=\"_blank\">Image credit<\/a>)<\/small><\/center><\/p>\n<blockquote><p><em>&#8220;Businesses have seen an increase in sales just by creating chatbot systems. There&#8217;s an underserved market of people who would like to be using a text-based or voice-based interface rather than web-based.&#8221; \u2014Ruze Richards<\/em><\/p><\/blockquote>\n<ul>\n<li>Chatbots are also used to optimize <b>back-office operations<\/b>. In 2016, JPMorgan Chase launched <a href=\"https:\/\/www.jpmorganchase.com\/corporate\/investor-relations\/document\/ar2016-lettertoshareholders.pdf\" rel=\"noopener\" target=\"_blank\">COiN<\/a>\u2014a contract intelligence platform that uses unsupervised machine learning to analyze legal documents and to extract important data points and clauses. Since then, it has saved the bank over 360,000 hours of manpower. COiN is also able to parse employee e-mails to provide common IT requests, such as resetting passwords and granting access to software.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Functionality_driven_by_AIML\"><\/span>Functionality driven by AI\/ML<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<div id=\"attachment_33124\" style=\"width: 140px\" class=\"wp-caption alignright\"><a href=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2018\/05\/slater-victoroff.jpg\"><img decoding=\"async\" aria-describedby=\"caption-attachment-33124\" src=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2018\/05\/slater-victoroff.jpg\" alt=\"\" width=\"130\" class=\"size-full wp-image-33124\" \/><\/a><p id=\"caption-attachment-33124\" class=\"wp-caption-text\"><small>Slater Victoroff<\/small><\/p><\/div>\n<p>The first step, naturally, is choosing what kind of a chatbot is needed. In another <a href=\"https:\/\/www.meetup.com\/ru-RU\/Artificial-Intelligence-Experience-Boston\/events\/249225897\/\" rel=\"noopener\" target=\"_blank\">TensorFlow meetup<\/a> in Boston, <a href=\"https:\/\/www.linkedin.com\/in\/slatervictoroff\/\" rel=\"noopener\" target=\"_blank\">Slater Victoroff<\/a> of Indico Data Solutions, categorized chatbots under the following groups:<\/p>\n<ul>\n<li><strong>Rule-based<\/strong> chatbots follow a set of the if\/else statements.<\/li>\n<li><strong>Keyword-based<\/strong> chatbots grab keywords from the input to load pre-configured responses.<\/li>\n<li>Chatbots using <strong>machine learning<\/strong> to adapt the responses over time through <a href=\"https:\/\/www.altoros.com\/blog\/building-a-keras-based-image-classifier-using-tensorflow-for-a-back-end\/\">classification<\/a> and <a href=\"https:\/\/www.altoros.com\/blog\/using-logistic-and-softmax-regression-with-tensorflow\/\">regression<\/a>, search and extraction, unsupervised discovery, or comparison.<\/li>\n<li><strong>Sequence generation<\/strong> chatbots are more complex versions of machine learning chatbots that can take any sequence of text and then generate the correct response.<\/li>\n<\/ul>\n<p>With sequence generation chatbots is still a ways off in terms of development, modern chatbots are likely to be based on machine learning to allow more flexibility in user input and its responses.<\/p>\n<blockquote><p><em>&#8220;Machine learning\u2013based chatbots are non-trivial to implement, but they&#8217;re really effective. You end up getting a lot of nuance that you can&#8217;t capture with a rule-based or keyword-based system. You have something that&#8217;s going to learn with time and adapt, as you keep feeding it data.&#8221; \u2014Slater Victoroff, Indico Data Solutions<\/em><\/p><\/blockquote>\n<p><center><a href=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2018\/05\/machine-learning-tensorflow-natural-language-processing-artificial-intelligence-chatbot-food-ordering.png\"><img decoding=\"async\" src=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2018\/05\/machine-learning-tensorflow-natural-language-processing-artificial-intelligence-chatbot-food-ordering.png\" alt=\"\" width=\"640\" class=\"aligncenter size-full wp-image-33290\" \/><\/a><small>An example of a pizza delivery chatbot (<a href=\"https:\/\/www.loyalty-apps.com\/chatbots\/\" rel=\"noopener\" target=\"_blank\">Image credit<\/a>)<\/small><\/center><\/p>\n<p>The second step is determining what functions the chatbot will have. Will it be performing as a customer service representative, data hub, concierge, etc.?<\/p>\n<p><center><a href=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2018\/05\/machine-learning-tensorflow-natural-language-processing-artificial-intelligence-chatbot-development-keypoints.png\"><img decoding=\"async\" src=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2018\/05\/machine-learning-tensorflow-natural-language-processing-artificial-intelligence-chatbot-development-keypoints.png\" alt=\"\" width=\"640\" class=\"aligncenter size-full wp-image-33291\" \/><\/a><small>Chatbot development key points (<a href=\"https:\/\/www.cleveroad.com\/blog\/how-to-make-a-chatbot\" rel=\"noopener\" target=\"_blank\">Image credit<\/a>)<\/small><\/center><\/p>\n<p>Next is figuring out how the conversations with the chatbot should flow given certain responses.<\/p>\n<p><center><a href=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2018\/05\/machine-learning-tensorflow-natural-language-processing-artificial-intelligence-chatbot-conversation-flow.png\"><img decoding=\"async\" src=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2018\/05\/machine-learning-tensorflow-natural-language-processing-artificial-intelligence-chatbot-conversation-flow.png\" alt=\"\" width=\"640\" class=\"aligncenter size-full wp-image-33294\" \/><\/a><small>An example of a conversation flowchart for a sales chatbot (<a href=\"https:\/\/chatbotsmagazine.com\/design-framework-for-chatbots-aa27060c4ea3\" rel=\"noopener\" target=\"_blank\">Image credit<\/a>)<\/small><\/center><\/p>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Powered_by_natural_language_processing\"><\/span>Powered by natural language processing<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Chatbots with <a href=\"https:\/\/www.altoros.com\/blog\/approaches-and-models-for-applying-natural-language-processing\/\">natural language processing<\/a> under the hood are more intelligent in that they are able to:<\/p>\n<ul>\n<li>Decompose input sentences into constituent parts<\/li>\n<li>Translate parsed sentences into valid queries<\/li>\n<li>Remember the results of previous queries to adjust future answers<\/li>\n<\/ul>\n<p><center><a href=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2018\/05\/machine-learning-tensorflow-natural-language-processing-artificial-intelligence-chatbot-response-machine.png\"><img decoding=\"async\" src=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2018\/05\/machine-learning-tensorflow-natural-language-processing-artificial-intelligence-chatbot-response-machine.png\" alt=\"\" width=\"640\" class=\"aligncenter size-full wp-image-33295\" \/><\/a><small>A sample workflow of an intelligent chatbot (<a href=\"https:\/\/www.slideshare.net\/secret\/HGVlNn3LWgwBWG\" rel=\"noopener\" target=\"_blank\">Image credit<\/a>)<\/small><\/center><\/p>\n<p>Ruze listed several elements, which in his view, are vital for creating chatbots:<\/p>\n<ul>\n<div id=\"attachment_33127\" style=\"width: 140px\" class=\"wp-caption alignright\"><a href=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2018\/05\/ruze-richards.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-33127\" src=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2018\/05\/ruze-richards.jpg\" alt=\"\" width=\"130\" height=\"130\" class=\"size-full wp-image-33127\" \/><\/a><p id=\"caption-attachment-33127\" class=\"wp-caption-text\"><small>Ruze Richards<\/small><\/p><\/div>\n<li><em>Chatbot response machine<\/em> to serve as a central engine<\/li>\n<li><em>Natural language processing<\/em> for distinguishing the intent of a sentence, as well as recognizing mood and entities<\/li>\n<li><em>Context recognition<\/em> to understand how a single line fits into an entire conversation<\/li>\n<li><em>CRM<\/em> and <em>history analysis<\/em> for building context from the previous conversations<\/li>\n<li><em>Training a model<\/em> to enable learning over time<\/li>\n<\/ul>\n<p>The process of training a model can be improved and optimized in many ways with the right tooling at hand. One of the popular machine learning frameworks on the market is TensorFlow, which is fit not only for <a href=\"https:\/\/www.altoros.com\/blog\/building-a-chatbot-with-tensorflow-and-keras\/\">building a chatbot<\/a>, but a <a href=\"https:\/\/www.altoros.com\/blog\/building-recommenders-with-multilayer-perceptron-using-tensorflow\/\">recommendation system<\/a>, as well.<\/p>\n<p>Regardless the complexity of a chatbot under development, it is important to keep track of a few other points:<\/p>\n<ul>\n<li>Limit responses to less than 3\u20134 lines of text<\/li>\n<li>Always design for the do-not-understand cases<\/li>\n<li>Test a chatbot on difference devices<\/li>\n<li>Add buttons and other UI components to help users to respond<\/li>\n<\/ul>\n<p>As more companies invest in natural language processing and messaging apps, chatbot development will only continue to grow. By 2025, the Grand View Research estimates the global chatbot market to hit <a href=\"https:\/\/www.grandviewresearch.com\/press-release\/global-chatbot-market\" rel=\"noopener\" target=\"_blank\">$1.25 billion<\/a> with a compound annual growth rate of 24.3%<\/p>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Want_details_Watch_the_videos\"><\/span>Want details? Watch the videos!<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>In this video, Ruze overviews different scenarios in which a chatbot can be of help and shares his view on what is needed to build one.<\/p>\n<p><center class=\"video-display-mobile\"><script src=\"https:\/\/fast.wistia.com\/embed\/medias\/saliw5pi17.jsonp\" async><\/script><script src=\"https:\/\/fast.wistia.com\/assets\/external\/E-v1.js\" async><\/script><\/p>\n<div class=\"wistia_embed wistia_async_saliw5pi17\" style=\"height:360px;position:relative;width:640px\">\n<div class=\"wistia_swatch\" style=\"height:100%;left:0;opacity:0;overflow:hidden;position:absolute;top:0;transition:opacity 200ms;width:100%;\"><img decoding=\"async\" src=\"https:\/\/fast.wistia.com\/embed\/medias\/saliw5pi17\/swatch\" style=\"filter:blur(5px);height:100%;object-fit:contain;width:100%;\" alt=\"\" onload=\"this.parentNode.style.opacity=1;\" \/><\/div>\n<\/div>\n<p><\/center><\/p>\n<p>In this video, Slater details the creation of a modern chatbot.<\/p>\n<p><center class=\"video-display-mobile\"><script src=\"https:\/\/fast.wistia.com\/embed\/medias\/5asbi2o366.jsonp\" async><\/script><script src=\"https:\/\/fast.wistia.com\/assets\/external\/E-v1.js\" async><\/script><\/p>\n<div class=\"wistia_embed wistia_async_5asbi2o366\" style=\"height:360px;position:relative;width:640px\">\n<div class=\"wistia_swatch\" style=\"height:100%;left:0;opacity:0;overflow:hidden;position:absolute;top:0;transition:opacity 200ms;width:100%;\"><img decoding=\"async\" src=\"https:\/\/fast.wistia.com\/embed\/medias\/5asbi2o366\/swatch\" style=\"filter:blur(5px);height:100%;object-fit:contain;width:100%;\" alt=\"\" onload=\"this.parentNode.style.opacity=1;\" \/><\/div>\n<\/div>\n<p><\/center><\/p>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Related_slides\"><\/span>Related slides<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><center class=\"video-display-mobile\"><iframe loading=\"lazy\" src=\"\/\/www.slideshare.net\/slideshow\/embed_code\/key\/HGVlNn3LWgwBWG\" width=\"595\" height=\"485\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" style=\"border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;\" allowfullscreen> <\/iframe><\/center><\/p>\n<p>These slides are from Slater&#8217;s presentation from the meetup in Boston.<\/p>\n<p><center class=\"video-display-mobile\"><iframe loading=\"lazy\" src=\"\/\/www.slideshare.net\/slideshow\/embed_code\/key\/Cu8H4VX7vvuNad\" width=\"595\" height=\"485\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" style=\"border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;\" allowfullscreen> <\/iframe><\/center><\/p>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Further_reading\"><\/span>Further reading<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><a href=\"https:\/\/www.altoros.com\/blog\/building-a-chatbot-with-tensorflow-and-keras\/\">Building a Chatbot with TensorFlow and Keras<\/a><\/li>\n<li><a href=\"https:\/\/www.altoros.com\/blog\/machine-learning-for-automating-a-customer-service-chatbots-and-neural-networks\/\">Machine Learning for Automating a Customer Service: Chatbots and Neural Networks<\/a><\/li>\n<li><a href=\"https:\/\/www.altoros.com\/blog\/approaches-and-models-for-applying-natural-language-processing\/\">Approaches and Models for Applying Natural Language Processing<\/a><\/li>\n<li><a href=\"https:\/\/www.altoros.com\/blog\/natural-language-processing-and-tensorflow-implementation-across-industries\/\">Natural Language Processing and TensorFlow Implementation Across Industries<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"About_the_experts\"><\/span>About the experts<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<div>\n<div style=\"float: right;\"><a href=\"https:\/\/www.linkedin.com\/in\/ruzerichards\"><img decoding=\"async\" src=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2018\/05\/Ruze-Richards-bio.png\" alt=\"\" width=\"130\" class=\"aligncenter size-full wp-image-32982\" \/><\/a><\/div>\n<div style=\"width: 600px;\"><small><a href=\"https:\/\/www.linkedin.com\/in\/ruzerichards\/\" rel=\"noopener\" target=\"_blank\">Ruze Richards<\/a> is a data scientist working in the cybersecurity field. He builds systems based on machine learning and natural language processing to collect and analyze data to further detect and thwart attackers. Ruze has experience as an architect, developing big data and distributed systems for enterprises and startups.<\/small><\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<div>\n<div style=\"float: right;\"><a href=\"https:\/\/www.linkedin.com\/in\/slatervictoroff\/\"><img decoding=\"async\" src=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2018\/05\/Slater-Victoroff-bio.png\" alt=\"\" width=\"130\" class=\"aligncenter size-full wp-image-33003\" \/><\/a><\/div>\n<div style=\"width: 600px;\"><small><a href=\"https:\/\/www.linkedin.com\/in\/slatervictoroff\/\" rel=\"noopener\" target=\"_blank\">Slater Victoroff<\/a> is the Founder and CTO of Indico Data Solutions, an enterprise AI solution for unstructured content with an emphasis on text and natural language processing. He has been building machine learning solutions for startups, governments, and Fortune 100 companies for the past five years.<\/small><\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<hr \/>\n<p><center><small>This post was written by Carlo Gutierrez with assistance from <a href=\"https:\/\/www.altoros.com\/blog\/author\/sophie.turol\/\">Sophie Turol<\/a> and <a href=\"https:\/\/www.altoros.com\/blog\/author\/alex\/\">Alex Khizhniak<\/a>.<\/small><\/center><\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s the messenger era<\/p>\n<p>In 2015, Business Insider released a report showing messaging apps equal social networks in monthly active users. In the succeeding years, messengers would surpass social networks as they evolve beyond simple chat interfaces.<\/p>\n<p>With this growth, companies are now investing in expanding messaging apps with chatbots, especially with [&#8230;]<\/p>\n","protected":false},"author":32,"featured_media":33298,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":"","_links_to":"","_links_to_target":""},"categories":[214],"tags":[748,749],"class_list":["post-32974","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-machine-learning","tag-tensorflow"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Things That Matter When Building a Natural Language Chatbot | Altoros<\/title>\n<meta name=\"description\" content=\"Chatbots help to automate communication, streamline operations, get customer feedback, etc. Below are some recommendations for building a chatbot.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.altoros.com\/blog\/things-that-matter-when-building-a-natural-language-chatbot\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Things That Matter When Building a Natural Language Chatbot | Altoros\" \/>\n<meta property=\"og:description\" content=\"It&#8217;s the messenger era In 2015, Business Insider released a report showing messaging apps equal social networks in monthly active users. In the succeeding years, messengers would surpass social networks as they evolve beyond simple chat interfaces. With this growth, companies are now investing in expanding messaging apps with chatbots, especially with [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.altoros.com\/blog\/things-that-matter-when-building-a-natural-language-chatbot\/\" \/>\n<meta property=\"og:site_name\" content=\"Altoros\" \/>\n<meta property=\"article:published_time\" content=\"2018-05-10T16:10:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-07-17T14:22:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2018\/05\/machine-learning-tensorflow-natural-language-processing-artificial-intelligence-developing-a-chatbot.gif\" \/>\n\t<meta property=\"og:image:width\" content=\"640\" \/>\n\t<meta property=\"og:image:height\" content=\"360\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/gif\" \/>\n<meta name=\"author\" content=\"Carlo Gutierrez\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Carlo Gutierrez\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.altoros.com\/blog\/things-that-matter-when-building-a-natural-language-chatbot\/\",\"url\":\"https:\/\/www.altoros.com\/blog\/things-that-matter-when-building-a-natural-language-chatbot\/\",\"name\":\"Things That Matter When Building a Natural Language Chatbot | Altoros\",\"isPartOf\":{\"@id\":\"https:\/\/www.altoros.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.altoros.com\/blog\/things-that-matter-when-building-a-natural-language-chatbot\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.altoros.com\/blog\/things-that-matter-when-building-a-natural-language-chatbot\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2018\/05\/machine-learning-tensorflow-natural-language-processing-artificial-intelligence-developing-a-chatbot.gif\",\"datePublished\":\"2018-05-10T16:10:46+00:00\",\"dateModified\":\"2018-07-17T14:22:08+00:00\",\"author\":{\"@id\":\"https:\/\/www.altoros.com\/blog\/#\/schema\/person\/833e109f77de753b2b472dca0236b442\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.altoros.com\/blog\/things-that-matter-when-building-a-natural-language-chatbot\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.altoros.com\/blog\/things-that-matter-when-building-a-natural-language-chatbot\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.altoros.com\/blog\/things-that-matter-when-building-a-natural-language-chatbot\/#primaryimage\",\"url\":\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2018\/05\/machine-learning-tensorflow-natural-language-processing-artificial-intelligence-developing-a-chatbot.gif\",\"contentUrl\":\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2018\/05\/machine-learning-tensorflow-natural-language-processing-artificial-intelligence-developing-a-chatbot.gif\",\"width\":640,\"height\":360},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.altoros.com\/blog\/things-that-matter-when-building-a-natural-language-chatbot\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.altoros.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Things That Matter When Building a Natural Language Chatbot\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.altoros.com\/blog\/#website\",\"url\":\"https:\/\/www.altoros.com\/blog\/\",\"name\":\"Altoros\",\"description\":\"Insight\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.altoros.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.altoros.com\/blog\/#\/schema\/person\/833e109f77de753b2b472dca0236b442\",\"name\":\"Carlo Gutierrez\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.altoros.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2021\/02\/CG_portrait-2-96x96.jpg\",\"contentUrl\":\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2021\/02\/CG_portrait-2-96x96.jpg\",\"caption\":\"Carlo Gutierrez\"},\"description\":\"Carlo Gutierrez is a Technical Writer at Altoros. As part of the editorial team, his focus has been on emerging technologies such as Cloud Foundry, Kubernetes, blockchain, and the Internet of Things. Prior to Altoros, he primarily wrote about enterprise and consumer technology. Carlo has over 12 years of experience in the publishing industry. Previously, he served as an Editor for PC World Philippines and Questex Asia, as well as a Designer for Tropa Entertainment.\",\"url\":\"https:\/\/www.altoros.com\/blog\/author\/carlo\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Things That Matter When Building a Natural Language Chatbot | Altoros","description":"Chatbots help to automate communication, streamline operations, get customer feedback, etc. Below are some recommendations for building a chatbot.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.altoros.com\/blog\/things-that-matter-when-building-a-natural-language-chatbot\/","og_locale":"en_US","og_type":"article","og_title":"Things That Matter When Building a Natural Language Chatbot | Altoros","og_description":"It&#8217;s the messenger era In 2015, Business Insider released a report showing messaging apps equal social networks in monthly active users. In the succeeding years, messengers would surpass social networks as they evolve beyond simple chat interfaces. With this growth, companies are now investing in expanding messaging apps with chatbots, especially with [...]","og_url":"https:\/\/www.altoros.com\/blog\/things-that-matter-when-building-a-natural-language-chatbot\/","og_site_name":"Altoros","article_published_time":"2018-05-10T16:10:46+00:00","article_modified_time":"2018-07-17T14:22:08+00:00","og_image":[{"width":640,"height":360,"url":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2018\/05\/machine-learning-tensorflow-natural-language-processing-artificial-intelligence-developing-a-chatbot.gif","type":"image\/gif"}],"author":"Carlo Gutierrez","twitter_misc":{"Written by":"Carlo Gutierrez","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.altoros.com\/blog\/things-that-matter-when-building-a-natural-language-chatbot\/","url":"https:\/\/www.altoros.com\/blog\/things-that-matter-when-building-a-natural-language-chatbot\/","name":"Things That Matter When Building a Natural Language Chatbot | Altoros","isPartOf":{"@id":"https:\/\/www.altoros.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.altoros.com\/blog\/things-that-matter-when-building-a-natural-language-chatbot\/#primaryimage"},"image":{"@id":"https:\/\/www.altoros.com\/blog\/things-that-matter-when-building-a-natural-language-chatbot\/#primaryimage"},"thumbnailUrl":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2018\/05\/machine-learning-tensorflow-natural-language-processing-artificial-intelligence-developing-a-chatbot.gif","datePublished":"2018-05-10T16:10:46+00:00","dateModified":"2018-07-17T14:22:08+00:00","author":{"@id":"https:\/\/www.altoros.com\/blog\/#\/schema\/person\/833e109f77de753b2b472dca0236b442"},"breadcrumb":{"@id":"https:\/\/www.altoros.com\/blog\/things-that-matter-when-building-a-natural-language-chatbot\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.altoros.com\/blog\/things-that-matter-when-building-a-natural-language-chatbot\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.altoros.com\/blog\/things-that-matter-when-building-a-natural-language-chatbot\/#primaryimage","url":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2018\/05\/machine-learning-tensorflow-natural-language-processing-artificial-intelligence-developing-a-chatbot.gif","contentUrl":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2018\/05\/machine-learning-tensorflow-natural-language-processing-artificial-intelligence-developing-a-chatbot.gif","width":640,"height":360},{"@type":"BreadcrumbList","@id":"https:\/\/www.altoros.com\/blog\/things-that-matter-when-building-a-natural-language-chatbot\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.altoros.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Things That Matter When Building a Natural Language Chatbot"}]},{"@type":"WebSite","@id":"https:\/\/www.altoros.com\/blog\/#website","url":"https:\/\/www.altoros.com\/blog\/","name":"Altoros","description":"Insight","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.altoros.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.altoros.com\/blog\/#\/schema\/person\/833e109f77de753b2b472dca0236b442","name":"Carlo Gutierrez","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.altoros.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2021\/02\/CG_portrait-2-96x96.jpg","contentUrl":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2021\/02\/CG_portrait-2-96x96.jpg","caption":"Carlo Gutierrez"},"description":"Carlo Gutierrez is a Technical Writer at Altoros. As part of the editorial team, his focus has been on emerging technologies such as Cloud Foundry, Kubernetes, blockchain, and the Internet of Things. Prior to Altoros, he primarily wrote about enterprise and consumer technology. Carlo has over 12 years of experience in the publishing industry. Previously, he served as an Editor for PC World Philippines and Questex Asia, as well as a Designer for Tropa Entertainment.","url":"https:\/\/www.altoros.com\/blog\/author\/carlo\/"}]}},"_links":{"self":[{"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/posts\/32974","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/users\/32"}],"replies":[{"embeddable":true,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/comments?post=32974"}],"version-history":[{"count":107,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/posts\/32974\/revisions"}],"predecessor-version":[{"id":34713,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/posts\/32974\/revisions\/34713"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/media\/33298"}],"wp:attachment":[{"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/media?parent=32974"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/categories?post=32974"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/tags?post=32974"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}