deploying your first chat bot
TRANSCRIPT
Deploying your first Chatbot
DEPLOYINGYOUR FIRST CHATBOTJosh Somma@joshsomma
Who am IWhy im giving the talkWhat Ill be talking about
Why have Chatbots gotten so big all of a sudden?
Deploying your first chatbot @JoshSomma
Headlines - FB messenger bot store; MSFT conversation as platform (Tay, Xioaice); Kik opening a bot store change slideDigital Assistants - Siri, Cortana, AlexaChatbots have been around a long timeWhats driving the growth and interest in chatbots?
Deploying your first chatbot @JoshSomma
Why have Chatbots gotten so big all of a sudden?
Headlines - FB messenger bot store; MSFT conversation as platform (Tay, Xioaice); Kik opening a bot storeDigital Assistants - Siri, Cortana, AlexaChatbots have been around a long timeWhats driving the growth and interest in chatbots?
BIGDATA
MACHINE LEARNING
BETTERCHATBOTS
The maths
Deploying your first chatbot @JoshSomma
Machine learning and neural networks are producing much more sophisticated botsAI is beating chess grandmasters and winning at GoSophistication of language recognition software is increasingBig data analysis of billions of emails, text messages and search queries to determine language patterns
Source: https://medium.com/intercom-inside/the-end-of-app-stores-dd379e754033#.4941x6vbkTop 10 Apps Globally
Deploying your first chatbot @JoshSomma
1. Facebook
2. WhatsApp
3. Messenger
10. Twitter
6. Viber
7. Kakao Talk
4. Instagram
9. We Chat
8. Clash of Clans
5. Line
Mobile is the internet Whole generations and geographies skipping desktop as a UIApps own the mobile experienceMany of the top apps are chat based messaging servicesChatbots integrate seamlessly into chat apps
(Weixin - WeChat)
Deploying your first chatbot @JoshSomma
The case of WeChat Chat as platformhas been proven as a business model
Started as a messaging app but has now extended to become a full-fledged platformUsers make hotel reservations, split bills, make doctor appointments, buy movie tickets, and shop via text message. 20 milion companies using the platform as a key commerce and marketing channelOriginally had humans responding to text messages but are now replacing with bots to handle the interactionsWestern tech companies are looking to emulate this successIntegrated with a payments system, bot based interactions are driving huge revenues
ChatOps
Deploying your first chatbot @JoshSomma
#SlackbotHipchat @SquizHubot
Deploying your first chatbot @JoshSomma
SO YOU WANT TO BUILD A BOT
OPTION 1: Make a Fauxbot
Deploying your first chatbot @JoshSomma
Citymapper gobotRefactor UI of existing applications to use a chat interfaceNot a true bot experience but a good way to experiment with your users
OPTION 2: build a bot
Deploying your first chatbot @JoshSomma
SDKs available in a variety of languages
Step 1
Develop the bot, application and server
Step 2
github/hubotMicrosoft/BotBuilder
OPTION 3: Develop a bot using
Deploying your first chatbot @JoshSomma
AIML&AlaaS
What is AIML?
Deploying your first chatbot @JoshSomma
A.rtificialI.ntelligenceM.arkupL.anguage
About AIML
A type of weak A.I. know as pattern matchingAIML is a form of XML that defines rules for matching patterns and determining responses.Developed by Richard Wallace and open source community between 1995 2002Specification 2.0 came in 2014Similar to a scripting languageSupports variables, conditions, loops, arrays and key values pairsCan return HTML and JavaScript
AIML Categories
WHAT IS YOUR NAME My name is John.
Deploying your first chatbot @JoshSomma
What the bot replies
Matches what the user says
AIML bots are collections of filesExample of category3 basic types of categoriesAtomicDefaultRecursive
AIML Context
&
Deploying your first chatbot @JoshSomma
* SMART PHONE *
Do you have a smartphone?
YESDO YOU HAVE A SMARTPHONEDo you have Apple or Android?
Can use tag to refer to the last template the bot responded withCan group categories under topicsLike programming languages or movies
AIML Learning
&
Deploying your first chatbot @JoshSomma
THE SKY IS BLUEI will remember that the sky is blue
WHAT COLOUR IS THE SKYThe sky is blue
THE SKY IS BLUEI will remember that the sky is blue
WHAT COLOUR IS THE SKYThe sky is blue
tag can teach the bot categories within the conversation but the bot forgets the category writes a new aiml file with categories that can be accessed by other users
Pandorabots Playground
Deploying your first chatbot @JoshSomma