Successfully reported this slideshow.

Best Practices At Implementing A Cross Platform Chatbot - Webclerks Meetup - Ondrisek

0

Share

Loading in …3
×
1 of 16
1 of 16

More Related Content

Related Books

Free with a 14 day trial from Scribd

See all

Related Audiobooks

Free with a 14 day trial from Scribd

See all

Best Practices At Implementing A Cross Platform Chatbot - Webclerks Meetup - Ondrisek

  1. 1. @electrobabe Best Practices At Implementing A Cross Platform Chatbot
  2. 2. 24.10.16 webclerks @electrobabe Chatbots & Natural Language Processing
  3. 3. 24.10.16 webclerks @electrobabe Messenging Apps
  4. 4. 24.10.16 webclerks @electrobabe Usage numbers
  5. 5. 24.10.16 webclerks @electrobabe Platforms per region
  6. 6. 24.10.16 webclerks @electrobabe Mica, the Hipster Cat Bot
  7. 7. 24.10.16 webclerks @electrobabe Facebook Messenger
  8. 8. 24.10.16 webclerks @electrobabe Many different implementations
  9. 9. 24.10.16 webclerks @electrobabe Skype
  10. 10. 24.10.16 webclerks @electrobabe Implementation Details
  11. 11. 24.10.16 webclerks @electrobabe Features per Platform
  12. 12. 24.10.16 webclerks @electrobabe Features per Platform (2)
  13. 13. 24.10.16 webclerks @electrobabe Features per Platform (3)
  14. 14. 24.10.16 webclerks @electrobabe Lessons Learned
  15. 15. 24.10.16 webclerks @electrobabe
  16. 16. 24.10.16 webclerks @electrobabe Any Questions?

Editor's Notes

  • Hi guys!
    My name is Dr. Barbara Ondrisek and today I'm going to give a talk about my experience developing one of the very first chatbots on Facebook – and definitely Austria’s first Facebook Messenger and Skype chat bot.
    About me: I’ve made my PhD at the University of Technology Vienna and been working as a freelancer for more than 15 years for different mostly big companies mostly as a Backend developer on web projects (most recently for George / Erste Bank).
  • What are chatbots?
    A chatbot is a service that enables you to interact with a service or company through a conversational interface.
    Microsoft announced end of March at their BUILD conference the bot-support on Skype. Two weeks later Facebook announced at their F8 conference that they finally opened their messenger API for bots and the first bots started to be approved by Facebook. Only a few days later Hi Poncho, a Facebook Messenger weather bot, raised 2M of funding.
    Further Google presented at their Google I/O (mid May) another innovative chat platform Allo that also should support bots. Further they announced in mid July their Cloud Natural Language API as a Natural Language Processing (NLP) and Machine Learning framework. IBM also released their NLP framework Watson. So all of the big players in the field are pushing the topic.
    Just a couple of days ago, Google announced, they bought api.ai, a machine learning framework.
  • (c) Benjamin Keyser
    Why are we doing this?
    1 minute of 3 online spent minutes is spent mobile, but we see that the usage of numbers of apps is dropping (80% of time is spent in 3 apps), but not messenger apps!
    The current app trend is to go away from social media to messengers.
    This graph is already outdated, ...
  • (c) Tosh
    WhatsApp: 1 Billion monatlich aktive User (MAU)
    Facebook Messenger: 1 Billon
    QQ („ICQ“ China): 900 MAU
    WeChat („WhatsApp“ in China): 800 MAU
    Twitter: 310 MAU
    Skype: 300 MAU
    Line App (Asien) : 220 MAU
    Telegram: 100 MAU
    Kik (USA): 300 Millionen registrierte User (gesamt)
    Slack: 3 Millionen täglich aktive User
    HipChat
    IMessage: 250 mio users
    Viber: 784 million registered user
    Kakao: 160 mio
    BBM: 100 mio MAU
  • (c) david pichsenmeister
    Different messenger platforms – different countries
    Kik is super popular in the US, Viber is very popular in Slavik countries, Line is popular in Asian countries. So if you decide to launch a bot in a certain region take this regional differences in account.
  • However, after Facebook announced to open up their Messenger platform to bots I was eager to try their API and started to develop Mica, the Hipster Cat Bot, which started as a chatbot for Facebook Messenger and Skype, that helps you discover the best places near by.
    Mica started as a spin-off of LIKE A HIPSTER, an app that shows you trandy places.
  • This is the Facebook Messenger implementation - We designed her personality like this:
    She is a cat and a bot. She likes funny cat pictures and milk, but doesn't like water. She also enjoys hanging out in hip coffee shops and knows the the best places worldwide.
    The internet loves cats ... so I created Mica, the Hipster Cat Bot as fictional character and my chatbot got a face. First I thought I use my cat's face as fb page icon, but than I thought an abstraction would fit better.
  • So, why only stay with one platform? There are so many such as Kik, Line App, Telegram… and so I thought I implement it on Skype!
    Microsoft announced end of March – two weeks earlyer than Facebook - at their BUILD conference the bot-support on Skype. Facebook Messenger has 1 billion unique users per month, but Skype still has 300 mio!
  • and so I decided to implement it on Skype!
    Skype implementation is missing some features. Meanwhile there are structured messages (buttons), no animated content (gifs, videos)...
  • To implement a bot for Facebook Messenger or Skype you simply have to implement a Webhook that can be written in any language you want. I chose Java because I like the object oriented language most.
    In Java you have to write DTOs to handle the different REST resp. Json objects.
    The backend is hosted on AWS EC2 and uses also a simple MySQL database to store basic data about the user such as the user’s name or last city.
    - Mica on Facebook, on Product Hunt
    - Mica on Skype, on Product Hunt
    - Mica on WeChat
    - Mica on Telegram, on Product Hunt
    - Mica on Kik
    developing the character, learnings, personality far more important than thought
  • First of all:
    - Just do it! It's not so complicated to implement basic chatbot!
    - The APIs are still in BETA, although the FB API is more stable than the Skype version. Skype, especially the iOS version, was so buggy that after the day of my Product Hunt launch one of the Skype Skype (!) developers contacted me to go through the bugs ;)
    -Bot functionality is still limited. App developers are laying early groundwork on user experience, bot personality, getting access to data, developing algorithms, improving NLP, and many more challenges.
    - User Experience is extremely important. Otherwise users get frustrated. So a UX-Designer joined my team!
  • I founded the Chatbots Agency, the first agency for chatbots with (paying!) international customers.
  • Any questions?
  • ×