Welcome to How to Build Chatbots. My name is Antonio Cangiano and I’m a Software Developer and Artificial Intelligence Evangelist at IBM. Over 50,000 people took the first edition of this course on chatbot building and the reviews have been amazing so far. This motivated me to create an even better version of the course that uses the latest user interface and incorporates some exciting new features that weren’t available when the first edition of the course came out in 2017 In this course I’ll teach you all that you realistically need to know about chatbots, the business opportunity they provide, and how to start building useful chatbots for yourself, your company, or your clients. No coding skills are required so anyone can take this course and learn how to create and deploy chatbots. Together we’ll build a chatbot for a fictitious florist chain of stores. A chatbot that provides information and assistance to prospective customers. We’ll then deploy it on a WordPress site. Don’t worry if you don’t have your own WordPress site, as one will be provided for you in the course. Alright, let’s find out what chatbots are and how they can help us by discussing a common scenario. “Your call is important to us. Due to unusually high call volume, you may experience a greater hold time than usual.” Many of us are going to be familiar with this greeting on the phone when trying to reach the customer support line of a company. The prompt varies but the gist of it is always the same. It would seem that the call volume is always unusually high, no matter when we call. Another common prompt you might be familiar with is, “Your call may be recorded for quality and training purposes.” I must confess that at times I question how much these conversations are actually being used for training purposes, as opposed to liability purposes. As we’ll see in this course, with chatbots we can actually use the conversations with customers to train and make our chatbot smarter and more useful. At any rate, we are on the line, waiting for what seems to be an eternity, and we finally get to talk to a person. And they tell us… and we finally get to talk to a person. And they tell us… “Have you tried turning it off and on again?” Now, this is frustrating regardless of whether it fixes our problem. If it doesn’t, we feel insulted by such a simple suggestion after 20 minutes of patiently waiting on the line. And if it fixes our problem, as it often actually does, we’ll be happier but still frustrated from having wasted so much time on something we should have thought of ourselves or found as a suggestion on the company website. I’m not picking on companies providing customer care here. The truth is that customer support is hard. It’s not hard because the questions are very hard. In most cases, it’s a matter of providing simple answers to simple questions. It’s hard because customer care powered by humans is not very scalable. If your business is doing well, you’ll have an increasingly large amount of customers who need your help. So you’ll need to hire more and more people and that takes money. You’ll also need to spend the time and energy to train them properly, managing them, and so on. Chatbots are not meant to replace humans entirely. But they can help us address a large number of simple inquiries from our customers. They can scale indefinitely, unlike human teams, and are available 24/7 every day of the year. unlike human teams, and are available 24/7 every day of the year. In other words, they can act as a first line of defense for your customer care team, allowing you to inexpensively scale your customer support operations and provide a better service by having immediate answers around the clock for common inquires. For example, a hotel might drastically cut down on the number of calls its reception desk receives simply by having a chatbot that replies to the most common inquires such as restaurant hours or checkout times, setting an alarm call, or figuring out how to connect to the Wi-Fi. This leaves the hotel staff with a greater degree of time and energy to tackle more elaborate requests, such as changing rooms because one of their customers found crickets in their room. That actually happened to me, but that’s a story for another day. We had this customer care scaling problem ourselves when Cognitive Class started to become more popular. We were ecstatic to have one million enrolled learners, but that posed a serious problem for our small team. So we created a student advisor chatbot that could advise students on which course to take and other common questions. As simple as it is, it reduced the number of support tickets from our students to about half of the number we were getting prior to the introduction of our chatbot. And unlike our team, who has a habit of going to sleep most nights, the chatbot is there available 24/7 for our users. That’s our story. Here is another one: Allan from Dollar Tea Club, a subscription service for tea lovers, is a one man shop. He has to do everything by himself. Prior to introducing a chatbot he was spending a lot of his time answering the same questions over and over. Do you ship to Canada? How much is shipping? How does it work? What kind of teas do you have? And so on. Again, simple questions that still take time to answer if a human is on the receiving end. So he took the first version of this chatbot course and built a chatbot that is saving him many hours a week. According to Allan the moment the chatbot went live, it was like turning off a switch in terms of support tickets received. The chatbot he created is allowing him to regain some of his time which he can use to actually grow his business. which he can use to actually grow his business. It’s worth noting that Allan is a businessman not a programmer, but he was able to create his own chatbot and by the end of this course so will you. Another example I wanted to give you is Oscar, the chatbot from the airline company Air New Zealand. I recently visited their wonderful country and on my way there I had a question about protein powder. You know how import regulations can be quite strict, so I got a little paranoid that I might be breaking some rules. Not wanting to be the Pablo Escobar of Whey Protein Isolate, I asked the staff on board and they had no idea. Thankfully, I had Wi-Fi on the plane and was able to use their chatbot which had an answer to my protein powder question and all other questions I had. I was really impressed by how useful it was especially at 35,000 feet in the air. As you can see, chatbots are universally useful, regardless of whether you’re a one-person operation or a fortune 500 company. Throughout this course we’ll learn how to create chatbots that serve practical business purposes, rather than just being amusing gimmicks. But first, what is a chatbot? It’s a software agent capable of conversing with users through some kind of chat interface. Typically, the chatbot will greet the user and invite them to take some action like asking it a question. When the user replies, the chatbot will parse the input and figure out the intention of the user’s question. Finally, it will respond in a consequential manner, either providing information or asking for further details before ultimately answering the question. Great chatbots can keep up this back and forth in a natural way, within the scope of what the chatbot is designed to do. They make the user feel understood and helped. They create rapport with the user, without pretending to be human. The most common chatbots are textual chatbots. The kind you’d interact with in a chat pop up window on a web site or through a messaging app like Facebook Messenger, Whatsapp or Slack. However, you can interact with some chatbots through your voice. Apple Siri and Amazon Alexa are two examples of audio-based virtual assistants. Before we proceed further, it’s worth noting that sometimes you might hear the word “bot” instead of chatbot in this course or elsewhere online. Depending on the context, it’s acceptable to use bot in lieu of chatbot to mean the same thing. Nevertheless, the term bot is more generic and there are software programs that independently perform a certain operation on our behalf without being chatbots. For example, a trader bot might monitor the market for certain conditions and then perform automated stock trading transactions based on that information. That’s not a chatbot, as no chatting is taking place. The conversational element is what makes a bot a chatbot. There are many other terms that refer to chatbots, such as chatterbot, chatterbox, talkbot, virtual assistant, Conversational Agent, embodied agent, and even Artificial Conversational Entity or its acronym ACE. And believe it or not this list is not even exhaustive. I like to keep things simple, though, so I will generally stick with chatbot and occasionally bot in this course.