for fun and profit
David ‘DC’ Collier
RIKAI Labs - ChatBots over WeChat
David ‘DC’ Collier
4 startups, 2 exits (US, Japan)
20 years experience in games industry
Produced Games for EA, Disney,
BandaiNamco, Sony + more. Frequent
English teaching experience in China + Korea.
Published Author. Real-estate Entrepreneur.
Our AI ChatBot platform connects users
with our AI supported teachers.
The AI learns from the teachers response
and takes over the repetitive Q&A.
Our scripting engine allows us to design a
structure for the content to keep things
exciting and moving along. Chatbots
provide a mix of audio, text and images to
help people learn, all without leaving
The first app for learning english right
inside of WeChat! It allows users to chat to
our AI supported teachers and practice
conversational english anytime and
• What’s a Chatbot? Examples
• Bot cookbook - how to bake a ‘bot
• structure, visuals, language design
• One more example
• Bot brainstorming session!
Some RIKAI Labs ‘bots
Lawyer Bot - legal advice and contracts
Finbot - your personal financial adviser
FreeCodeCamp - learn to code with your bot teacher!
JoBot - Job interviews over WeChat
Micro English - learn english in WeChat!
● bot - user context and
● wide vs.deep
● personality and backstory
Chat + Gamification
Karma points awarded by a bot in the chat
A bot is watching the chat and giving points to
users (ranking) based on thanks @user
Also acts as a clue for data-mining the chats.
Quest / Task list
Given objectives within a
chat, you can come back to
Bot <> User relationship
User <> Bot
User > Bot > User
Using markdown, ASCII art and emoji to create
engaging TEXT content
Menus which are nicely formatted with UTF
Stickers and other inline animations
Interactive Chat Widgets
Buttons Sliders Inline games
WeChat - has its own whole CMS for news
articles + a browser
Slack - markdown, custom cards
Gitter - embedly for twitter, youtube etc
FB Messenger - content cards
KIK - built in browser
1st gen bots are mostly passing parameters:
@bot remind me to do <task> at <time>
Next gen bots should be able to have a more
natural conversation. But how?
Moving beyond “slot filling” chats
Approaches to Natural Conversation
1) Machine learning / big data
eg CleverBot has a huge amount of random chat data, but doesn’t understand it.
You really need a two-sided bot for this to work. example: customer support with
agents responding to customers
2) Understanding / AI
Parsers, NLP and extracting and acting on the meaning. Logic variables, decisions.
3) Human supervision
human supervision of incoming data.
4) Blended approach
Mixing the above to get the best of all worlds
NLP and NLG
Natural Language Processing
works well for reducing down many
Certainly! When would
you like to go?
When do you want to go?
Natural Language Generation
to produce a variety of interesting
Hi! I’d like to buy a ticket
Do you sell tickets to ...
When is the next show?
Are there any tickets left?
We sure do! How many
would you like?
Humans are good at understanding the question
filtering and identifying and understand what the question is
Bots can be great at answering those questions
with examples, images, and content that can be re-used and optimized.
Key here is good Admin UI so humans can respond quickly.
Async vs Sync replies
It’s ok to say “I’ll get back to you” depending on the context. As long as you have
something else to fill in the gaps.
Supervised Bots - “Artificial AI”
Chatbot Learning Feedback Loop
Art and science
Chat scripts need to be something writers can use.
Bots can require a lot of code/content, so the chat scripting language needs to be
readable. (eg Chatscript will reduce Wordnet syntax to ~emolike )
Admin / Visual UIs over code editors
The “admin UI” can also be the scripting environment - simply by replying to
customers you are “training” the bot.
Dialog editors, spreadsheets and interactive fiction authoring ala Twinery.org
Chat app development tools
1. What is the bot’s objective?
2. What type of information are you getting from the user?
3. I don’t like chatting with boring people,
… so why would anyone want to chat with a boring bot?
Your bot should be interesting!
the most spectacular bot
persona in the world
EcoSystem / Opportunity
App Store / Google Play Apps
Slack Directory Chat apps
WeChat / FB Messenger /
LINE / Telegram
B2B Chat apps
B2C Chat apps Chat apps
Two way - you want to get info from the users too
UI has a wide set of options to choose from that won’t suit a menu
Machine learning loop is available
Suitable for community
Can play an assistant role to a human
When to use a Chatbot?!
RIKAI Labs - We Build Bots!
RIKAI Labs also build
custom bots for other
companies. Get in
touch if you’d like to