Академический Документы
Профессиональный Документы
Культура Документы
THE COMPLETE
GUIDE TO:
CHATBOTS
Credit: iStock
Produced by
Insights
Credit: iStock
Talking tech
C
hatbots are growing in popularity within the
technology sector, partly thanks to the increasing
adoption of virtual assistants like Google
Assistant and Amazon Alexa among consumers. They
are broadly defined as software that conducts a written
or spoken conversation.
One of the top selling points for chatbots is that they
allow companies to automate conversations with their
customers, relying on technology rather than a human
sales representative, thus saving them time and money.
2
Insights
Contents
4 Chatbots explained
3
Insights
Credit: iStock
Chatbots explained
Facebook and Microsoft can’t stop talking about them, but what
are they, are they any good and how do you start building them?
T
he transition from obscure tech to buzzword
to leading the news agenda arrived when
Microsoft launched Tay in March 2016, before
it went on a genocidal, racist Twitter rant and was
subsequently taken offline for some tweaking.
Facebook then firmly secured chatbots position
as ‘tech du jour’, with its announcement at its F8
developer conference in April 2016 that businesses
would be able to provide chatbots to deliver automated
customer support via its Messenger service.
4
Insights
What is a chatbot?
Before chatbots there were just bots: a piece of software
designed to automate a specific task. A chatbot is built
on the same premise, though it delivers this task around
a single function, namely chat, or simulated conversation.
It uses machine learning to pick up on conversational
cadences, allowing it to effectively mimic human
conversation and react to spoken or written prompts to
deliver a service. In essence, it is a user interface that
can be plugged into a number of data sources via APIs,
so it can deliver information or services on demand,
such as weather forecasts or breaking news.
Lauren Kunze, principal at Pandorabots, has been
building chatbots since she was 15 years old. She is
now principal at Pandorabots and tells Techworld that
there are two main categories of chatbots: “Largely
there are two classes: utility chatbots and then
there are content‑driven bots. Utility gets something
done following a prompt. At a higher level, the more
entertainment-related chatbots are able to answer
all questions and get things done. Siri and Cortana
you can have small talk with, as well as getting things
done, so they are much harder to build.”
It’s worth noting that, despite the hype, this isn’t new
technology. Joseph Weizenbaum developed a natural
language processing programme named ELIZA in the
1960s. What has changed is the advancement in AI and
its growing accessibility for developers to build and
deploy functioning chatbots relatively quickly.
5
Insights
6
Insights
7
Insights
Tay
This was exactly the case with Microsoft and its foul-
mouthed teenage girl-aping bot, Tay. It was built to
learn the way millennials converse on Twitter, with
the aim of being able to hold a conversation on the
platform. In Microsoft’s words: “Tay has been built
by mining relevant public data and by using AI and
editorial developed by a staff including improvisational
comedians. Public data that’s been anonymized is Tay’s
primary data source. That data has been modelled,
cleaned and filtered by the team developing Tay.”
Unfortunately, the old adage of trash in, trash out
came back to bite Microsoft. Tay was soon being fed
racist, sexist and genocidal language by the Twitter user
base, leading it to regurgitate these views. Microsoft
eventually took Tay down for some retooling, but when
it returned the AI was significantly weaker, simply
repeating itself before being taken offline indefinitely.
The irony is that the foul-mouthed Tay was a
pretty successful chatbot in that it learned what it was
told and coherently put out responses to queries,
just not in a politically correct way. The neutered
Tay lacked coherence. The key will be to find the
line between an AI that is impressionable, with one
that can learn but also moderate its responses in a
way that is socially acceptable, or at least fits with a
company’s corporate image.
8
Insights
9
Insights
Credit: iStock
Best chatbot building
platforms for developers
You don’t have to be a Silicon Valley giant with endless resources
to build your own chatbot. We round up the best platforms
W
e saw unprecedented hype about chatbots
in 2017 thanks to Microsoft’s bot ‘Zo’ and
Facebook’s decision to integrate chatbot
capabilities into Messenger.
The use of artificial intelligence and its ability to
converse in natural language can make chatbots
seem as if we are experiencing the future right now.
10
Insights
1. Mobile Monkey
Mobile Monkey (fave.co/2v5lHHW) lets you build
a Facebook Messenger chatbot in minutes with no
coding experience required, enabling automated
mobile messaging between businesses and their
customers. The training process requires you to
review and answer a few questions every couple
of days, helping your chatbot learn to ask and
answer any question about your company.
The platform’s plans start with a free version
with options up to $149 (around £105) per month.
2. Landbot.io
Landbot.io (fave.co/2qoW0gK) is a platform that lets
you turn a website into a chatbot. With this tool you
can also create bots on Facebook Messenger, and
WhatsApp, or live chat and manage them from the same
platform with human assistance features. It creates a
conversational interface in substitution of forms, and
requires no coding experience to get started.
3. Flow XO
Flow XO (fave.co/2GXbqz0) is a UK-based company
providing a visual platform that allows you to easily
build and create your own chatbot for your website,
Facebook, SMS, Telegram and Slack. It has over 100
11
Insights
5. Chatfuel
This chatbot engine (fave.co/2GZn9Nd) will do
most of the hard work for you, and is ideal for those
lacking programming experience. MTV, TechCrunch,
BuzzFeed, British Airways, and Adidas are said to
have used Chatfuel to create their chatbots, along with
almost 20,000 other users across the globe. The user
interface is easy and slick, meaning you could create
a chatbot in less than 15 minutes.
6. Engati
Engati (fave.co/2vgiMfg) is a chatbot platform that claims
you can build, manage, integrate, train, analyse and
12
Insights
7. Chattypeople
Chattypeople (fave.co/2qskrcP) is another code-free
option. It supports Stripe and PayPal integration as
well as e-commerce services such as OpenCard and
Magento. This enterprise chatbot builder also offers
in-depth analytics of your bots performance and the
transactions happening as a result of the dialogue.
9. ChatScript
Launched back in 2011, ChatScript (fave.co/2qrYqea)
is a ‘next generation chatbot engine’, and has won
the Loebner Prize (awarded for the most human-like
examples of artificial intelligence) four times. The
platform provides an open source framework for
developers to build and deploy chatbots.
10. Pandorabots
Pandorabots (fave.co/2GY1tBe) is an online service
that lets developers build, host and deploy chatbots.
13
Insights
12. Rebot.me
Rebot.me (fave.co/2vazyMX) is a simple service that
allows you to create, teach, test and then deploy
chatbots to your website. One of its main selling
points is that you don’t need programming skills
to be able to use it. It works by letting you set up,
then customize your chatbot, teaching it to respond
to certain questions. The more you talk to it, the
more it learns. Rebot.me says its chatbots can help
visitors to your website become familiarized with your
products or services more quickly, among other uses.
14
Insights
13. Imperson
Disney Accelerator/Techstars 2015 alum Imperson
(fave.co/2GVh2tf) has created a chatbot generator
for creating, deploying and managing chatbots via
Facebook Messenger, Skype, Kik, Slack, Twitter, Amazon
Echo, and SMS. Specializing in character bots, it has
successfully launched Miss Piggy and Doc Brown
chatbots, developed for Facebook Messenger.
Erez Baum, co-founder and CEO of Imperson, says:
“The current bot experience is still very primitive, with
menu driven experiences that don’t allow brands to
differentiate their voices from one another. The release
of our new platform will enable creative people in brands
and digital agencies to create richer and deeper bot
experiences that can converse with consumers one-on-
one to develop a more engaging relationship.”
14. POP
POP (fave.co/2qsQucK) is a platform for people to create
and launch a Facebook Messenger bot in a few easy
steps. Prices start at $29 (around £20) per month. POP
claims open rates as high as 90 to 95 percent.
15. ChatbotsBuilder
ChatbotsBuilder (fave.co/2qqxMmg) is an online
platform that lets you build Facebook Messenger
chatbots to capture leads, engage users and build
new business relationships. Users can build chatbots
in three steps: by choosing and creating a Facebook
page, using ChatbotsBuilder to create triggers and
replies, then deploying and promoting their bot. It
is free to try, with basic pricing plans starting at $19
(around £13) per month. Charlotte Jee
15
Insights
Credit: iStock
The best ways businesses
are using chatbots
A look at the way companies use chatbots to enhance their operations
T
here has been an unusually large focus devoted
to chatbots within the tech community in recent
years, thanks to Facebook’s integrated chatbot
capabilities in Messenger, and Microsoft’s controversial
‘teen girl’ Twitter bot ‘Tay’.
However, how much of this has actually translated
into real-world applications? It’s still relatively early
days, but there are a few companies and organizations
16
Insights
1. To book a flight
Dutch airline KLM was established in October 1919,
almost 99 years ago. However, this hasn’t stopped
it from venturing into emerging technology such as
chatbots. The firm has its own bot called BlueBot
(fave.co/2qtgB3c) or BB for short, designed to help
passengers book flights with the airline. Through
Facebook messenger, BB is able to provide booking
confirmation, check-in information and reminders,
boarding passes, as well as flight information and answer
any simple passenger queries. BB also works with
Google Home, so you can ask it for packing advice.
2. To order flowers
Ordering flowers is already easy with most florists going
online and the likes of Interflora and smaller businesses
such as Bloom and Wild making the process a lot
easier. However, US-based florist 1-800 Flowers has
created a bot on Facebook’s Messenger platform. The
bot can send flowers and gifts, processing the order
and its payment. It will also make suggestions, and
can send payment, shipping and delivery alerts.
17
Insights
6. As a lawyer
A free ‘DoNotPay’ chatbot (fave.co/2qtjzVr) has
reportedly turned over 160,000 parking tickets in
London and New York. Created by 19-year-old Stanford
University student Joshua Browder, this chatbot helps
its users contest parking tickets by asking a series of
questions to determine whether the parking ticket was
unfairly issued with a reported 64 percent success rate.
Chatbots could be used regularly in the legal sector to
sift through large volumes of data to pick out anomalies.
Similar uses of AI have been used by Ravn Systems that
created Ravn ACE, an AI ‘robot’ to search, read, interpret
18
Insights
7. As a personal stylist
Imagine a bot that tells you exactly what suits you and
what doesn’t, based on your measurements, skin tone
and type. In fact this now exists thanks to Sephora,
which has developed its own chatbot on the messaging
app Kik (fave.co/2qmOP8H). H&M also has a chatbot,
which learns about your style through your photos
then recommends outfits.
8. To order food
In a demo at Microsoft’s 2016 ‘BUILD’ developers
conference, a chatbot was used to order a pizza from
Domino’s. Rather than filling in an online ordering form,
you could create an order just by typing/and or talking
to a ‘bot’, thus saving you time and effort. Over in the
US, Taco Bell has also got in on the action, creating
‘Tacobot’, a chatbot which lets you order from Taco
Bell via the Slack messaging platform.
19
Insights
10. As a doctor
Obviously a chatbot will never be able to fix a broken
leg. However, it could perhaps give you medical
advice, recommend treatments or direct you to
your nearest medical facility, based on access to a
vast library of knowledge (for example, the WebMD
website, fave.co/2GWYtoF). This would let you easily
access medical knowledge, thus saving time and
money (at least for less serious ailments).
12. As a teacher
The potential for chatbots to be used as teachers is
obvious, given their ability to communicate in natural
language and their access to vast reams of data online.
There are some bots out there already: ‘Leslie’ bot can
help improve your mastery of the English language,
while IBM’s Watson technology has been used to
build teaching assistant bot ‘Jill Watson’.
20
Insights
14. As a toy
Talking to toys is by no means something new. Children
have always chatted to their toys and there are plenty of
products with built-in chat capability already. However,
chatbots offer the chance for a richer, more two-way
interaction: see products like ‘Hello Barbie’ and ‘Thomas
& Friends Talk To You’, built by Mattel and ToyTalk.
15. As an accountant
The word ‘accounts’ can fill people with dread: it’s a
byword for data entry, admin and a shoebox full of
receipts. Business software firm Sage hopes to change
this with its new accounting bot Pegg, which acts as
a smart assistant, letting users track expenses and
manage finances via messaging apps such as Facebook
Messenger and Slack. The idea is that Pegg takes away
the complexity of accounting by letting entrepreneurs
manage their finances by just having a conversation.
16. As a partner
Taking inspiration from the film Her they will be available
to talk whenever you need to. Mitsuku is one such
example. She learns by experience (the more you talk
to her, the smarter she becomes) and is friendly but will
argue back. Unsurprisingly, most chatbot companions
available at the moment are female. However, we can
expect to see many more versions get built over time.
Whether they are a substitute for a real-life human
partner is less obvious. Charlotte Jee
21
Insights
Credit: iStock
How to build a chatbot
This detailed tutorial will equip you with the tools and advice
you need to start building your own chatbot
C
hatbots are popping up everywhere: from your
favourite takeaway to the frontline of transport
operators’ customer service. As advanced as AI
is and as much as we would hope for the opposite to
be true, chatbots are not going to build themselves.
Progress is currently exploring bot technology
and the various ways that it could potentially deliver
business benefit for our customers and partners. While
we don’t directly offer bots as part of our software –
yet – the technology exists to build bots for OpenEdge
applications with the help of Microsoft Bot Builder.
22
Insights
Here you will find a detailed tutorial that gives you the
tools and advice to start building your own chatbot.
Bots give you the power to establish meaningful,
natural language communication among your
applications, and the beauty of it all lies in the
simplicity of the system. The system can be
understood through just a few components.
The client: In the case of a SMS bot, the client is the SMS
app on your phone. If you’re using a Skype bot, then the
Skype application on your system is the client. The client
varies depending on the channel of communication.
23
Insights
Credit: Progress
The bot brain: This is one of the only pieces where you
have to write a lot of code. You need to write intent
handlers, meaning you must define the action with that
intent once LUIS decodes the intent of a given utterance.
The action can just be a call to a database or invocation
of a web service. You can write the bot in Node.js or C#
if you’re using the Microsoft Bot Framework.
24
Insights
25
Insights
Credit: Progress
26
Insights
27
Insights
Credit: Progress
28
Insights
29
Insights
30
Insights
Credit: iStock
Make your chatbot
appear more human
Here’s how you can give your chatbot an illusion of personality
to enhance how it interacts with your customers
T
he whole tech community is focused on chatbots
right now. This is creating an opportunity
for businesses of all sizes to enhance their
relationships with their customers.
However, the technology is not yet sophisticated
enough to have ‘truly human’ conversations that convey
subtle nuances such as humour, wit and sarcasm.
31
Insights
32
Insights
6. Stay in character
Who is your robot? Develop a character and stick to
it. Mixing in different styles of speaking will make your
user feel like they are speaking to a random service
rep rather than the humanoid robot helper you’ve
spent a lot of time developing. Matty Marianksy,
co‑founder of Meekan by Doodle
33
©2018 International Data Group.
34