Tired of ads? Enjoy an ad-free experience by signing up.
  • Insights
    This article was written by a TIA community member. Insights pieces undergo the same rigorous editorial process that newsroom-produced articles have.
Arnav Kumar · · 5 min read

How to get your chatbots talking

Nowadays, everyone is creating a chatbot. They are awesome things; they provide convenient access to customers through a variety of applications on social media, websites, or even in person. If you’re wondering what a Chatbot is, here’s a useful intro.

Their utility comes from a conversational user experience, which helps in navigating complex interactions (legal advice, personal assistance, ordering food, financial advice, teaching, etc.). The ability to translate language into software interaction offers immense potential for designing new products and services in the future.

We at SliceBread wanted to get beyond the hype and explore how to build one for ourselves.

As an experiment, we chose to develop an app for movie recommendations. We designed and implemented voice interaction and combined it with basic intent recognition for language understanding. If you’re curious, you can see it in action here.

After exploring both API.ai and Wit.ai platforms, we concluded that API.ai was easier and had a simpler, more comprehensive intent recognition framework.

Here’s how we went about building our very own chatbot.

Step 1: mapping conversations

To start, map a natural conversation that you’re likely to have with a friend who you’d usually turn to when asking for movie recommendations. Here is an example of what that conversation would look like:

User: “I would like to watch a movie with Kate tonight.”

Chatbot: “Sure, do you have any specific actor or genre in mind?”

User: “How about something funny with Tom Hanks.”

Chatbot: “Cool. Tom Hanks has been doing movies for a while – are you in the mood for something classic or recent?”

User: “Maybe something from the last decade”.

Chatbot: “Great! Let me think of some good movie titles for you!”

Step 2: identify the information required

Step 3: language understanding (identify trigger intents)

Step 4: language understanding (designing voice interface)

Step 5: language understanding (mapping user speech to intents)

Step 6: limitations and potential

Stay ahead in Asia’s tech landscape

You've reached your 2 free content limit for the month. Sign up for free to read the full story.

🏄 For casual readers / 👶 Free

Basic

US$0

Free forever

Get instant access to this article and more every month

0 premium content

Unlimited news briefs

5

5 articles

Ad-free reading experience

Just US$0 per day

⌛Sign up in 20s. No payment details needed.

📖 For learners / 👍 Starter

Lite

US$4.92/month

Billed annually at US$59/year

Get instant access to this article and more every month

4

4 premium content

Unlimited news briefs & articles

Ad-free reading experience

Just US$0.17 per day

Cancel anytime

Our subscriber community includes professionals from these companies:

Stay updated on the go with our mobile app.

Get latest insights with smoother, more personalized experience through TIA mobile app.

Community Writer

Arnav Kumar

Co-founder and CEO at SliceBread, a company that works with financial institutions in Asia to create proof-of-concepts for new products and services that address industry challenges.