KDnuggets Home » News » 2017 » Sep » Opinions, Interviews » I built a chatbot in 2 hours and this is what I learned ( 17:n35 )

I built a chatbot in 2 hours and this is what I learned

Tags: , , ,

I set out to test two things: 1) building a bot is useless from a business perspective and 2) building bots is crazy tough. Here is what I learned.



Shival Gupta, Product enthusiast.


We spend about 5 hours on our smartphones every day as per this study from Flurry. Not only is this statistic surprising in its own right, about 65% of this time is spent on communication related activities like social media, texting, emailing and phone calls. That’s 3 hours and 15 minutes. Every. Single. Day.

What it means is that the tables have turned at an angle acute. The mobile app that you were building for your kickass startup idea? It’s going to compete with millions of other apps for just 35% of the user’s daily attention. And not to forget the discovery costs associated with it.

So if you’re not going to make an app, what are you going to do? You have to setup your business, right? Most experts believe that the evolution of apps are chatbots that live inside the app. They extend the functionality of bigger platforms like Facebook or Telegram and user doesn’t need to install an extra app on their phone. Win win for both parties. Except for the developer, maybe. My personal suspicion in this play was two fold:

  • Building a bot is useless from a business perspective
  • Building bots is crazy tough from an engineering perspective.

To get to the bottom of this conundrum, I started some research. It took me around one month of passive reading, talking with experts, tinkering with toolkits, and procrastinating to finally coding a functional bot in about 2 hours. This journey is my quest to find if both my suspicions were valid and having some fun doing it.

The journey begins

It is believed that often inspiration knocks the door at odd hours, so one should stay awake to invite her in.

When I started writing this article, I knew nothing about bots. I had a superficially working knowledge of AI and how supervised learning worked in general but to me NLP was just an acronym that meant Natural Language Processing. About half of the reasons why I started investigating chatbots was to learn more about the gaps I had in my knowledge of this particular play. Someone put it well —

To curb your own personal ignorance is a joy of life cherished only by the most restless of minds.

My hunt for now was to address my first assumption about the bot industry — that they don’t carry any business merit. After a little searching, I was able to find Botlist — a collection of a crazy number of bots. While browsing my only aim was to guess and rationalize the developer’s decision to choose the bot platform over the app platform to solve their problem. How did making a bot make more business sense?

I found Mitsuku, of course, which was fun to talk to. Then Dr AI seemed to be solving a good enough problem. Rightclick.io was good but bit slow for my taste. Browsing through a lot of bots, Hangman to TVakis, they seemed to be quite utilitarian in their approach. It seemed that the development is still in its infancy and the idea is yet to evolve. The good part was that I got enough ideas to implement my own chatbot seeing the problems that they were trying to solve.

At some point, I must confess, I felt like an art school undergrad roaming around the Louvre looking for inspiration. One question, however, continued to bug me.

Where is the killer app?

The bot industry is in its infancy right now and they are all competing for the same thing — to find the next killer app that makes chatbots mainstream. There are no reigning champions in the chatbot domain as of now. The whole industry is a level playing field.

I talked with a lot of people to investigate how far we really are into this future. It was an educational ride just I had imagined. Common consensus with the experts that I talked to put the timeframe to about two years to five years until we see a really killer app for the chatbot platform. The technology still in its evolution, it is safe to say that the even the best chatbots of today can grow obsolete because of newer announcements in AI and NLP research.

It means that if the right idea struck, anyone could make the potential killer app. This revelation was highly motivating. Right now, the chatbots I played with seemed to be doing quite simple things but in all essence they were just replacement for the GUI. Two things that I noticed in particular with the good ones were:

  • If performing a task took longer than 2 steps on UI, chatbots provided a much better user experience.
  • Places in the UI where the task was just a simple search and tap, chatbots seemed redundant. In summary:

Whether you write a UI or a chatbot, it doesn’t really matter. The user will come to your solution only if it saves time.

The decision to build a chatbot instead of an app does indeed carry business merit. It saves time in longer than expected UI flows. The next part of my journey was actually making a bot to see how deep the waters really go.