Upload
otso-virtanen
View
190
Download
0
Embed Size (px)
Citation preview
Uutisotsikot
A Facebook Messenger bot - try it out m.me/otsikot
Asynchronous push and on-demand news delivery
Sources from the Finnish media
Asynchronous push On demand
Like ELIZA but with a rigid keyword syntax and canned answers
“Hidden” keywords supported also - ie. not revealed to the user - saying hello, ‘stop’ etc.
Not using Facebook’s wit.ai - own implementation preferred
Tips
Testing setup - using a bunch of shell scripts to contact locally running kooste/bot server which sends messages via Facebook servers - gist
Understanding user intent, make it a separate module
Add more words/commands for your bot easily - enables clean and thorough unit testing for expanding vocabulary
FB’s review, 1st time was 8 days, 2nd time was 25 days
Links
fuzzywuzzy - String edit distance for user intent
messengerbot - Python library for the FB Messenger API
yarr - RSS reader for Django
OpenShift - Both servers running on RedHat’s PaaS
m.me/otsikot - the Uutisotsikot bot - go and try it :)