one
Simple
Question
What's the latest election news?
What is the latest election news?
Got any news from the election for me?
latest news
News, plz.Â
what's happening on the campaign trail today?
any campaign updates?
so wut happned in the election 2day?
yo what is the latest news botface
News?
The latest election news. Hit me with it.
Yo! What's the happy haps?
MANY
COMPLEX
QUESTIONS
TOTAL FEATURE SET
Basic election info
Basic candidate info
Electorate candidates
Electorate candidate for party
Is a candidate running?
Who's running for senate
Where is an electorate
Live election results
NLP
- Hard to do well (but isn't everything)
- Easier to use as an enhancement on top of more primitive methods
AI
- Maybe even harder to do well
- Difficult to start from scratch
- Less predictable
Rest assured something will go wrong.
Platform specific listeners
Platform specific responders
Composer
Capability modules
Data sources
Listeners
- Keep it real simple
- Need to be pretty bullet proof
- Simple preliminary message triage
Responders
- Keep it as simple as possible
- Platform specific message formatting
- Deal with API issues including rate limits
Composer
& capabilities
A monolith
- Platform agnostic
- Capabilities can be added/removed quickly, but requires a restart
- Queues mean down-time can be tolerated
- Multiple instances possible
- Uses Rivescript—a well established chatbot scripting language
- Enhanced with small forays into LNP land
WORKFLOW
fetch item from queue
pre-process incoming message
rivescript for response selection
compose response object
add to outbox queue
storieswithdata.community
ABC NewsBot @ Hacks/Hackers Syd
By Simon Elvery
ABC NewsBot @ Hacks/Hackers Syd
A presentation on ABC NewsBot for Hacks/Hackers Sydney
- 1,677