Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Chatbots
Search
Pascal Helfenstein
January 11, 2017
Technology
100
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Chatbots
Pascal Helfenstein
January 11, 2017
Transcript
20 slides
Chatbots
$WHOAMI I am Pascal Helfenstein nicam
is This could be your new home!
What is a chatbot? • mimics conversation on a chat
platform • use some sort of NLP to understand you • range from rule based (dumb) to AI-based (smarter)
#hype train All aboard
Why all the hype?
Why all the hype? • Massive user base • People
are now spending more time in messaging apps than in social media • might be the next “app-event”
None
Examples drMorse right Gif
Pro’s n Con’s • Limited usecases • No shortcuts for
power users • can get tedious • fast • easy to use • universal interface • crossplatform • no CSS
Workflow Message Device Platform Your Server HTTP- Request HTTP- Response
Message
DIY with BotKit
BotKit • Library to build Bots for different Platforms •
Abstracts all communication • very similar interface for all Platforms • many functions…
Slack • Different Bot-Types • RTM (Real Time Messaging) •
Incoming Webhooks • Slash Commands • Integrations per Team • Different Message Types
BotKit Slack example var Botkit = require('botkit'); var controller =
Botkit.slackbot({debug: true}); var bot = controller.spawn({ token: 'SOME-TOKEN' }).startRTM(); controller.hears(['hello', 'hi'], [‘direct_message’,'direct_mention','mention'], (bot, message) => { bot.reply(message, 'Hello There!'); } });
Facebook • Only Webhooks • Globally available (review) • Limited
User Data • Payment • Multiple Message Types • Text • Images • Sound • Video • Files
BotKit FB example var Botkit = require('botkit'); var controller =
Botkit.facebookbot({ debug: true, access_token: 'PAGE_TOKEN', verify_token: 'VERIFY_TOKEN', app_secret: 'APP_SECRET', validate_requests: true, }); var bot = controller.spawn({}); controller.setupWebserver(process.env.port || 3000, (err, webserver) => { controller.createWebhookEndpoints(webserver, bot, () => { console.log('WEBSERVER started!'); var tunnel = localtunnel(3000, (err, tunnel) => { console.log("Use URL" + tunnel.url + '/facebook/receive'); }); }); }); controller.hears(['^hello', '^hi'], ['message_received','facebook_postback'], (bot, message) => { bot.reply(message, 'Hello There!'); });
Localtunnel $ npm install -g localtunnel $ lt -p 8000
your url is: https://uxbkerpskn.localtunnel.me
Questions?
Thank you! Cheers
More Decks by Pascal Helfenstein
See All by Pascal Helfenstein
Service Worker
nicam
0
86
IoT + Voice = Awesome
nicam
0
92
Web Speech API
nicam
0
97
Introduction to AngularJS
nicam
1
170
Other Decks in Technology
See All in Technology
ラクスル会社紹介資料|エンジニア向け / RAKSUL Introduction for Engineers
raksulrecruiting
0
120
異夢同船〜異なる夢でも同じ船でなんとかする〜
fortegp05
1
430
業務の傍らで進める改善ループエンジニアリング
bengo4com
0
110
市販IoT機器や自作IoT機器とHomeAssistantを駆使して家の電気代をできる限り見える化する方法の考案
harutiro
0
300
AIで実装が加速したのに、 なぜ私は仕事の大半で人と話し続けていたのか?
say_no_w
0
160
こんなに変わった! AWSネットワークの常識
shotashiratori
11
8.1k
Agent Harnessはどう作る?事例から学ぶAI Agentの設計思想
sergicalsix
0
330
速くなるほど、深く考える AI時代のQAに学ぶ
kobayashiyorimitsu
0
250
サーバーラックは作る時代! 3Dプリンターで作る10インチラックのススメ
jacopen
1
370
E2E Test というハーネス — AI時代の自動テスト民主化
daishukojima
8
4.1k
Biohub - Cell Tracking During Development 5th place solution
rist
0
170
目を覚ませ!僕らの認証情報が何者かに侵略されてるぞ
tkito
2
400
Featured
See All Featured
Design in an AI World
tapps
1
390
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
600
RailsConf 2023
tenderlove
30
1.6k
Darren the Foodie - Storyboard
khoart
PRO
5
4.1k
How to make the Groovebox
asonas
2
2.6k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
4 Signs Your Business is Dying
shpigford
187
23k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
950
Facilitating Awesome Meetings
lara
57
7.2k
Exploring anti-patterns in Rails
aemeredith
4
570
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
680
The Cost Of JavaScript in 2023
addyosmani
56
10k