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
We Make Bots. For Real
Search
Андрей Листочкин (Andrey Listochkin)
April 08, 2017
Programming
480
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
We Make Bots. For Real
Андрей Листочкин (Andrey Listochkin)
April 08, 2017
More Decks by Андрей Листочкин (Andrey Listochkin)
See All by Андрей Листочкин (Andrey Listochkin)
Everybody Stand Back! I Know Regular Expressions
listochkin
0
240
Command-line scripting with Rust. Wait, what?!
listochkin
0
420
Server Memory - BuildStuff Ukraine 2019
listochkin
0
71
Server Memory - Chernivtsi JS 2019
listochkin
1
170
10 Years Later
listochkin
0
400
Managing Managers - DevTalks iHUB
listochkin
0
86
Time, Numbers, Text
listochkin
1
670
Software Licensing: A Minefield Guide
listochkin
0
190
Devops for A Busy Developer - XP Days 2016
listochkin
0
190
Other Decks in Programming
See All in Programming
App Intentsのビルドプロセスを支える技術
kntkymt
0
420
AGENTS.md Is Not Enough:Build Skills, Don't Download Them
lx_t
0
130
世界の中心で、AI(App Intents)をさけぶ ー App Intents中心設計の実践ガイド
touyou
0
640
更なる可用性を求めて、5年間運用したKotlinのアプリケーションをGoでリプレイスする話
ken_tunc
0
340
wkhtmltopdfの次どうするか問題2026
willnet
2
1.6k
技術的負債の返済は、AI時代の複利で効く投資 — 経営としての意思決定とその遂行
curekoshimizu
0
1.7k
Java 27新機能 / Java 27 new features
kishida
2
160
動作中のプログラムの中身をリアルタイムに覗く / Realtime Debugger for CSharp with Roslyn
prota
1
860
Go × SIMDで高速化するベクトル検索 ~ルーフラインモデルでSIMDが効く境界を探れ! ~
po3rin
1
2.6k
20260914 AIエージェント時代のPlatform Engineering LLM基盤とプロダクトの責務境界線
kanfab1
7
2.2k
AI が書く Go コードの品質を劇的に向上させる Linter: “declscope”
mpyw
0
380
市販E-Readerを乗っ取れ 〜Embedded Swiftで電子ペーパーガジェットを制御する〜
trickart
0
200
Featured
See All Featured
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.6k
Building Flexible Design Systems
yeseniaperezcruz
330
41k
Are puppies a ranking factor?
jonoalderson
2
3.9k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
770
Un-Boring Meetings
codingconduct
0
420
Believing is Seeing
oripsolob
1
220
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.3k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
280
Between Models and Reality
mayunak
4
460
Exploring anti-patterns in Rails
aemeredith
4
510
The agentic SEO stack - context over prompts
schlessera
0
940
For a Future-Friendly Web
brad_frost
183
10k
Transcript
None
@listochkin
<3 Ruby
No Ruby today
None
Rust Favorite language Ruby Extensions WASM
RustFest Workshops Intro Advanced Adoption
Mozilla Travis CI Samsung Chef CloudFlare Evo
Steve Klabnik lislis Ingvar Stepanyan Paul Colomiets
Rust is for Rubyists
http://bit.ly/rustfest2017ruby 50% off
I’ll talk about my work
None
Bot building system
None
None
Conceived about 6 years ago
We’ve been building bots before it was cool
Bot
IRC WoW bots Web Scrapers
Chatbots
Conversational Commerce
A bot pretends to be a human
Makes stuff happen
Emphasis on “Human” aspect
Wit.ai API.ai Motion.ai Microsoft Bot Framework Init.ai <Whatever>.ai
Can you <deliver> <my order> to <my work address> instead?
What to do when there’s no match?
Guess Bail out
AI + Human
Facebook M 70% required human
Leaky abstraction
Bots are Dead End of story
“Human”-like is a red herring
How vs What
Goal Scenario Guidance
Humanize later
Scenario
Workflow
Do X Do Y Do Z
Customer case: PeopleReady
Workforce matching
“Uber for Workers”
I’m a construction worker I’m free next Friday
I need 5 extra construction workers on site next Friday
Phone Decision Tree
“If you need X press 1”
IVR “Interactive Voice Response”
Step 1: Static Tree
Step 2-∞: Refinements Shortcuts A/B tests
Identify a person/role Reduce tree
Known pending request: top-level notification
Global shortcuts
Keywords, numbers, etc.
Bot-to-Bot IVR-to-IVR
Pass context
Session storage HTTP/SIP headers Forward DTMFs
Dumb Boring
Efficient Predictable Less frustrating
None
Workflow Builder Execution Services Operator Apps Reporting
Many competitors Not a winner-takes-all
Lessons Learned
1. Providers
Slack, Messenger, Telegram, Skype, Email, sms, HipChat, WeChat, LINE, etc
The more the better?
SMS Phone Email
No middle man apps Brand <=> Phone
2. Execution model
State Machine
State Machine as Data
Flow Tree => Data Structure Executor
State Machine as Code
Flow Tree => Data => Code
Separate Infrastructure Separate Deploys Separate Load
AWS Lambda
3. Steps are the key
if … else Choice 10-15
Smart Steps 100s
Phone Transfer
Transfer to X Backup number? Voicemail? Transcode?
Feature discovery
Higher quality Bots by default
Programmable steps
Flow => Step
Step = Logic + UI both programmable
Custom JS Step
4. Service Flows
Pick up the phone Identify a User Voice Choice …
Number Provisioning API Adapter Reporting Events Hide Secrets …
Service flows Global Events with ACL
5. Dogfooding
Everything is a bot
Admin tools Monitoring Reporting Billing
6. UI and Reporting Sell Platform retains
UI! So many capabilities!
“Can you set it up for us?”
Typical Customer: sets thing up once receives reports
7. Reporting!
SQL Server OLAP Direct access
Let customers play with the data
8. AWS Lambda
async (req, context) => { ... }
Node 4.3 (6!) Python Java
Use Large
1 request = 1 new process
Dynamo & Redis :) Mongo, SQL :(
Dynamo is amazing!
9. Voice
Voice is inherently hard!
Twilio Best API and DevTools Still hard :(
Larger customers need cheaper voice
TwiML Twilio SIP + Custom Voice Direct SIP-to-SIP
SIP + RTP
SIP Commands & Events Bi-directional
RTP - audio
Often Arcane practices
Huge Risk
Opens doors
10. Small things Big Impact
Haiti Earthquake SMS Fundraiser
Suicide Prevention Hotline
Washington DC city bot
Roadside assistance Match-making Marketing Customer support Sales
OneReach
29-30 RustFest http://bit.ly/rustfest2017ruby 50% off
29-30 RustFest http://bit.ly/rustfest2017ruby 50% off 2 free tickets today