Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
JS Freakin' Everywhere: A Chatbot Powered by AWS+NodeJS
Pamela Fox
September 06, 2017
Technology
0
310
JS Freakin' Everywhere: A Chatbot Powered by AWS+NodeJS
A talk given at WaffleJS, about powering Woebot with an entirely JS stack.
Pamela Fox
September 06, 2017
Tweet
Share
More Decks by Pamela Fox
See All by Pamela Fox
Education for All
pamelafox
0
120
CS+SocialGood: Education
pamelafox
0
20
Fight Tech with Tech: Take Control of Your Digital Environment
pamelafox
1
190
Coding Everywhere
pamelafox
1
190
Beware the Near Enemies
pamelafox
0
110
Cultivating Empathetic Joy: An Antidote to Jealousy and Judgment
pamelafox
0
260
Pamela Fox: Learner, Creator, Teacher
pamelafox
1
320
Massive Online Learning Challenges
pamelafox
1
240
Making Computing Fun Again: Passion, Beauty, Joy, and Awe on Khan Academy
pamelafox
0
290
Other Decks in Technology
See All in Technology
STORES・STORES レジを支えるチーム開発文化 / Sustaining the team culture of STORES EC Regi
phayacell
0
110
KubeCon Recap -Platform migration at Scale-
inductor
0
130
[SRE NEXT 2022]KaaS桶狭間の戦い 〜Yahoo! JAPANのSLI/SLOを用いた統合監視〜
srenext
0
780
What's new in Spring Cloud?
olgamaciaszek
0
230
【初心者向け】ググらずに!? ターミナル上で Pythonオブジェクトを調べよう
yumihiki
0
170
去年のSeeed、今年のSeeed
matsujirushi
0
120
Oracle Database Technology Night #55 Oracle Autonomous Database 再入門
oracle4engineer
PRO
1
140
XRを取り巻く技術の正体と未来
kajiken_meson
0
210
『ラズパイ自由自在 電子工作パーツ制御完全攻略本』の裏側
matsujirushi
0
130
[AKIBA.AWS] それ、t2.micro選んで大丈夫?
tsukuboshi
0
400
0->1 フェーズで E2E 自動テストを導入した私たちの、これまでとこれから
yoyakoba
0
870
セマフォでタスクの同時実行数制限
hankehly
0
140
Featured
See All Featured
Designing with Data
zakiwarfel
91
3.9k
How to name files
jennybc
39
59k
Build The Right Thing And Hit Your Dates
maggiecrowley
19
1.2k
Fantastic passwords and where to find them - at NoRuKo
philnash
26
1.5k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
29
4.3k
Ruby is Unlike a Banana
tanoku
91
9.2k
How To Stay Up To Date on Web Technology
chriscoyier
780
250k
Robots, Beer and Maslow
schacon
152
7.1k
Navigating Team Friction
lara
175
11k
Design by the Numbers
sachag
271
17k
How to train your dragon (web standard)
notwaldorf
57
3.8k
How GitHub (no longer) Works
holman
296
140k
Transcript
JS Freakin’ Everywhere A Chatbot Powered by AWS+NodeJS
Me, a year ago. Ecstatic Art Driftwood Flea Market Buddhist
Retreat 100% NO JS
Along came a startup founder... We made a bot! It
helps people! Help us build it!
Who sat down beside me... And it has a punny
name!!
And enticed Miss Pammy to code And we’re building it
all in something called “NodeJS”!
And we’re off to the races! From 0 to Scalable
in 5 weeks. AWS Lambda AWS DynamodB AWS Beanstalk
None
Why Lambda?
SysOpsJS AWS Lambda Log Processor Cloudwatch BigQuery AWS Lambda Cloudwatch
SlackBot Cloudwatch Slack deploy.sh Upload Notify Checks
BUT WHAT ABOUT NLP?? 99% buttons
We still have NLP tho...
NLP in JavaScript..ish! Python Classifier Training JavaScript Online Classifier svm
intercepts svm weights tfidf scores mood matches
That takes time! Fine, we need to take time! How
are you feeling? I’m excited about tonight Oh, that’s great to hear! • • • NLP! 500ms Twiddle thumbs
Our “CMS” We need a way to collaboratively write content
for Woebot! And we want to A/B content! And we want to write variants! And lesson queueing! And conditional content based on variables! Also, we need it tomorrow!
Google Spreadsheets to the rescue!
Spreadsheets + JS = So Happy Together! Google Apps Script
Linter Google Apps Script JSON Exporter Google Apps Script Github Client New commit: content.json
Duh, we have a website Beanstalk
COMING SOON! Mobile…. AND HIPAA! Hip-hip-hooray!
What’s great about JS on AWS? Scalable! Fast to develop!
Rich ecosystem! Easy to use across the FULL stack! Not so great tho? Lack of NLP libs! Slow computation! Less encryption libs!