Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Chatbots
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Pascal Helfenstein
January 11, 2017
Technology
97
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Chatbots
Pascal Helfenstein
January 11, 2017
More Decks by Pascal Helfenstein
See All by Pascal Helfenstein
Service Worker
nicam
0
75
IoT + Voice = Awesome
nicam
0
89
Web Speech API
nicam
0
94
Introduction to AngularJS
nicam
1
160
Other Decks in Technology
See All in Technology
生成AI時代の クレデンシャルとパーミッション設計
nrinetcom
PRO
3
920
Azure App Service / Container Apps の組み込み認証
kuniteru
0
140
Eight Engineering Unit 紹介資料
sansan33
PRO
3
8.3k
Oracle AI Databaseデータベース・サービス: BaseDB/ExaDB-Dの可用性
oracle4engineer
PRO
1
1.1k
AI駆動開発を組織で促すために
lycorptech_jp
PRO
7
9.2k
APIセキュリティを組織で実現するには~注力する点と設計・実装に入れたい対策~
riiimparm
3
870
Sony-DroidKaigi2026
sony
0
260
DGX Sparkを2台使って いろいろ動かす話
sonoda_mj
1
110
IDperturb: Enhancing Variation in Synthetic Face Generation via Angular Perturbation
sansantech
PRO
0
100
Data Hubグループ 紹介資料
sansan33
PRO
0
3.2k
Bet AI Day 2026丨バクラク Autopilot、業務システムの再設計
layerx
PRO
1
810
KPIだけでは評価できないプロダクトが考えるべき Evalsという第二の評価系 / Beyond KPIs: Evals as a Second Evaluation Framework for Products #PdEConf
aki_iinuma
0
710
Featured
See All Featured
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
180
Faster Mobile Websites
deanohume
310
32k
sira's awesome portfolio website redesign presentation
elsirapls
0
380
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.1k
The browser strikes back
jonoalderson
0
1.6k
Leo the Paperboy
mayatellez
8
2.2k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
260
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
From π to Pie charts
rasagy
0
350
AI: The stuff that nobody shows you
jnunemaker
PRO
9
960
Mobile First: as difficult as doing things right
swwweet
225
10k
Transcript
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