Tweet about this on TwitterShare on FacebookShare on LinkedInPin on PinterestEmail this to someone

8 Simple Sources for Creating Artificial Intelligence to Make Your Own Chatbot

MarTechMondayLast November, only six months after releasing the option of building chatbots into Messenger, Facebook’s VP of Messaging Products, David Marcus, announced that 34,000 chatbots had already been created for their burgeoning platform. In November, chatbot builders for marketers ones that didn’t require extensive software development expertise had only been on the scene for a few months.

Fast forward to today. With dozens of easy-to-use chatbot builders available, marketers can now create a chatbot in around 10 minutes. It’s no wonder that Microsoft’s CEO Satya Nadella proclaimed, “Bots are the new apps.”

What does this mean for the artificial intelligence of these chatbots?

AI for chatbots - @MarTechBen offers 8 great sources #MarTechMonday Click To Tweet

Getting started with chatbot artificial intelligence

As explained in the section below titled “Perfect artificial intelligence,” creating a perfect AI for your chatbot should not be the goal. Instead, your goal should be to create an entertaining experience with enough AI to be a truly useful service for your customers. Generally, this means three things:

  1. Your chatbot needs to be able to understand the most commonly asked questions
  2. Your chatbot needs to be able to provide answers to those questions
  3. Your chatbot must do so in ways that wow the user (i.e., are easy to use and fun)

This article will get you started with each of these points. The first two, understanding and answering questions, will be covered in the sections below titled “Already existing sources for AI” and “Alternative sources for AI.” The third point, wowing your customers, is covered in the last section on “Perfect artificial intelligence.”

Already existing sources for AI (artificial intelligence) for making chatbots

Artificial intelligence projects have been around for a long time. Started in 1995, Alice is one of the oldest chatbot AI programs still being maintained. Alice is one of a dozen or so sources you can turn to for already-existing artificial intelligence that you can either borrow from or directly plug into your AI-driven chatbot.

Here are five sources I’d recommend you first visit to help you get started with chatbot artificial intelligence.

1. Alice

The Alice bot, created in 1995, has a fantastic set of chat logs that you can borrow from or import into your own chatbot. As one of the oldest chatbots still being maintained and updated, the way it handles conversations from a programmatic approach is now one of the industry norms. AIML (artificial intelligence markup language) is a simple programming dialect for creating natural language in your chatbot. This very basic programming language is based on XML, which means it is easily readable and can be used by any chatbot builders, even if you are not using a platform that allows you to import AIML coded files.

Using Alice to make your own chatbot

In fact, one of the only chatbot building solutions that accepts AIML files natively is PandoraBots (discussed below). If you’ve chosen to use a different chatbot building solution, however, the AIML files provided by the Alice project can still be helpful in getting started. The Alice AIML language files are broken into 67 different parts and include conversational topics on such things as religion, humor, history, movies and emotions. You can download these files from a Google Code repository, and then open the individual files with a text editor to view the questions and answers. From there you can copy/paste them into the AI section of your chatbot builder.

2. PandorabotsUsing Pandorabots as your chatbot builder

Pandorabots is a chatbot builder for those with a little bit more coding experience, but it also has some excellent features for tying into already-existing AIML conversation sets. It has a free “playground” where you can somewhat easily build new bots. It isn’t as easy as Chatfuel or, but it can still be managed by those without any extensive programming experience.

The real power and advantage of Pandorabots, however, is that with it, you can easily import .AIML files to pre-populate your chatbot with knowledge created by other chatbot builders. You can use the Alice AIML files discussed above, or you can pull in GitHub repositories that have been purposely built for Pandorabots. One of the main examples of these already existing GitHub libraries is Rosie. You can test out Rosie’s base conversational file here. It is quite impressive what she already knows and how far ahead you can get if you start with her already-existing AI files.

3. is a point-and-click chatbot builder that requires very little programming knowledge. In fact, if you can launch a WordPress site on a server, you’ve likely got the background needed to create a bot on and launch it on Facebook Messenger, Slack or other chat platforms.

One of the real strengths of is that it has pre-defined knowledge packages you can easily toggle on or off for your chatbot. Available packages include such things as small talk, weather, news and wisdom.

Using to create your does an excellent job of documenting how to use the functionality of the platform, including how to use their pre-defined knowledge “domains.” Because they list out code samples you could leverage if you’re getting into the programming side, it can appear daunting. Rest assured, it is easier than it looks once you get into it.

4. ChatFuel

TechCrunch, one of the leading news sources for the latest on technology and startups, was recognized by Facebook as one of the best experiences on Facebook Messenger. Chatfuel, one of the easiest (and still feature-rich) chatbot builders available, has made much of the AI behind this TechCrunch chatbot available to Chatfuel users.

You can see from the below screenshot of the TechCrunch AI template that the template is robust and provides much of the small talk functionality your bot may need. It also provides you with the mechanisms you will need if you want to set up recurrent broadcasting or subscription services.ChatFuel's artificial intelligence chatbot template

To get started with this Chatfuel template, simply click on the “view all templates” drop tab to expand the “tutorial templates” section of the main dashboard. Then click on the “TechCrunch publisher template” to get started.

5. HuToma

HuToma is a yet-to-release marketplace and AI trainer for chatbots. While this tool is still in pre-release, I’ve been following them closely the last few months and have been impressed with what I’m seeing. In the coming months, they will be releasing a solution that allows you to buy and sell chatbot artificial intelligence profiles, as well as train your own chatbots through a variety of means. For example, they are boasting a deep learning platform that will allow you to upload scripts from your own live chat customer support dialogues. Your chatbot can auto-analyze those conversations to create it’s own AI dialogues.

Here is an informative YouTube video that explains some of the power that HuToma is building into their system:

Alternative sources for informing your artificial intelligence chatbots

In addition to pre-packaged sources for getting your AI launched, you also have a few other excellent sources to help inform your AI. Here are three other sources I recommend you evaluate:

  1. How to create your own chatbotQuora, the leading question-and-answer website, is one of several sources you can turn to to see what questions are being commonly asked and answered online. For example, let’s say you run a large auto repair chain and are trying to build a chatbot to answer questions concerning car repair. Peruse the auto repair topic on Quora for more than 3,000 questions that have already been asked. Seeing these question/answer conversations on sites like Quora, Yahoo Answers and other Q&A forums specific to your industry can help you identify the frequently asked questions your bot needs to cover.
  2. Google Analytics and other website analytics tools allow you to evaluate the most viewed pages to determine which website content is being viewed most by your site visitors. Like the benefit of seeing the most frequently asked questions on Quora, having insight into your most viewed webpages will help you build the content into your chatbot.
  3. Your front-line employees provide one of the best resources for chatbot programming. For example, if you operate a restaurant, you would want to talk with your wait staff and maitre d’ to see what the most commonly asked questions are from guests. Front-line employees are also a great source for chatbot humor. You can ask your employees for any jokes they commonly hear from guests (or tell to guests) concerning your place of business. Inserting some of that humor into your chatbot will go a long way.

Perfect artificial intelligence

The Motley Fool reports that Facebook Messenger-based chatbots can’t fully answer a user’s questions 70 percent of the time. It goes on to argue that this shows chatbots are premature and not ready for primetime.

I see it in a different light, though. Simply because something is new does not mean it needs to be perfect. Take, for example, the first iPhone — it had very little functionality, compared to what we currently enjoy in Apple phones. That doesn’t mean that the early iterations of the iPhone were flawed. They were just… early.

While we are building our chatbots, we must remember that we are not trying to trick human users into thinking they are talking with another human. Unless you have a lot of money to spend developing the artificial intelligence of your chatbot, it will likely fail the Turing test.

The point of a chatbot is NOT to trick your users into thinking they're chatting with a human Click To Tweet

I don’t recommend trying to compete with the AI of Watson, which beat Jeopardy champion Ken Jennings, or of trying to match the computational expertise of Deep Blue, which beat the world champion Garry Kasparov at chess.

I do recommend creating a helpful and entertaining experience. For marketing purposes, you don’t need to trick people into thinking they’re talking with a human. Be honest with the fact that they’re talking with a bot. Make the experience entertaining, though, by infusing some humor and a bot personality that closely matches your brand.

For example, for my Provo Beach client, we are creating a bot named David Hasselhoff, that has a surfer dude personality. Because Provo Beach is a family fun center in the heart of Utah, home to the LDS church, the chatbot is infused with phrases that play up the surfer dude mentality, as well as build on the Mormon culture. Phrases you’ll experience with David include “Totally Blessed Man!,” “Righteous!,” and other similarly themed responses.

Also see my post on How to Build a Facebook Chatbot in About 10 Minutes, if you’re ready to dive right in and test chatbots out.

Ben Beck

About Ben

Ben Beck loves working at the intersection of technology, security and marketing. From his early youth selling discount candy from his locker to building his own SMS marketing tool that he sold to the State of Utah, he has learned the value of entrepreneurial thinking and smarter marketing. Connect with him on LinkedIn.

Join the Conversation

Subscribe to the ClearVoice newsletter
to get the best of our content delivered to your inbox.

OOPS! There were some errors in your submission. Please try again shortly.

You're in!

We heard you loud and clear. You will get a confirmation in your inbox soon.

Check Your Email Confirmation