What Is a Chatbot and Why Does Your Company Need One?

Prashant Sai
6 min readMar 1, 2019

--

What is a Chatbot?

A Chatbot is a software-programmed, conversational agent which is able to understand human text/speech inputs and respond back with a meaningful answer, in the most natural (read human) way possible.

Chatbots have the ability to simulate entire conversations with humans and the more you interact with them, the more they learn and improve.

Chatbots are integrated into almost every customer-facing web or mobile application. Google Assistant, Alexa and Siri are the most common examples of highly-efficient chatbots.

What is Natural Language Processing and Natural Language Understanding

Humans converse in an unstructured manner and for computers to make sense of this; they use Natural Language Processing which is a type of Artificial Intelligence. (To gain more insights of Artificial Intelligence read this blog by clicking on the link https://blog.chatgen.ai/?p=8)

NLP is the ability of computers to understand, process and manipulate the human language.

In other words, it helps a computer structure the unstructured data.

Natural Language Understanding is a critical part of NLP. NLU allows Chatbots to understand what the human speech/text language really means and allows the computer to respond back in human-understandable language.

Using NLP, the bot will understand the intent, entities and context of the sentence. Using these linguistic techniques & algorithms, apart from intent, context and entities we can also fetch sentiments as well to understand the sentence well

A simple “Hello” or “Goodbye” to a chatbot is responded back with a greeting. This is because it’s able to interpret the intent of your “Hello” or “Goodbye” as a greeting.

A sentence like “I want to fly to Mumbai next week” is broken down as

Intent - To book flight Tickets

Entity 1 - To location: Mumbai

Entity 2 -Time: Next week (3rd March 2019)

Context - Initial or Null

Types of Chatbots

Before we discuss types of Chatbots, Chatbots that I am referring to in this article are Goal-Oriented Chatbots

Goal-Oriented Chatbots are programmed to solve a particular business problem or Goal. Goal Oriented Chatbots can be click-based and also open-ended chatbots.

Example –

Booking a Cab Chatbot- Here the goal is to book a cab.

Real Estate Chatbots- The goal here is to generate leads.

E-commerce based Chatbots- The goal is to lead to more transactions in a particular category.

Chatbots can be broadly classified into different categories based on different dimensions (technology, use-cases, company categories etc). Here I have classified chatbots into two main categories based on the user’s freedom to type:

  1. Click Based Chatbots
  2. Open-Ended Chatbots

1. Click-based Chatbots

These chatbots come with a pre-defined logic and a set of scripted scenarios/conversations. These scenarios are based on a particular problem that the Chatbot is trying to solve. They can help obtain information based on what the user clicks from the options provided to him/her.

Examples of Click Based Chatbots

· Booking a cab using the Uber app

· Reserving a dinner table at a restaurant using Zomato

· Book Movie Tickets

· Use Facebook messenger to shop for Nike Sneakers

Pros

· Fast, Business-driven

· Easy-to-build and maintain

· Cost less

· Useful in automation of tasks

Cons

· Fails miserably when the user provides additional information or unexpected inputs for which a scenario has not been designed, like, “How are you?”

· The workflow can be lengthy for complex use-cases.

2. Open Ended Type Chatbots

Open Ended Chatbots deploying NLP are the real conversational, AI-driven chatbots which use NLP to respond to user requests. These chatbots feel like a human talking to you.

Open ended chatbots deploying NLP aim to enhance the chat by adding a human-like flow to a conversation.

NLP-based chatbots focus on achieving 3 key things from user input:

· Interpret

· Recognize

· Understand

NLP constituted in Open ended Chatbots, is used to train every day with each interaction and improve the responses they provide.

NLP in open ended chatbots could be constituted in 3 following ways:

  1. Named Entity Recognition
  2. Context
  3. Intent

1. Named Entity Recognition

NER enables the Chatbots for Information Extraction from a user request. They break down a sentence into specific entities and segregate these entities into categories such as Names, Places, Organizations, Time or its expression (like afternoon), Currency, Monetary value, Mathematical operators and more.

Example

“Remind me to call the ChatGen office today at 6:00 pm.”

*ChatGen* is a named entity that belongs to category *organization*

*today* indicates *date*

*6:00 pm* indicates *time*

Example

“Which is the best project?”

“What are you trying to project?”

Here the same word ‘project’ has been used differently. The first sentence refers to a project as a noun while the second one is referring to as a verb. Here keyword extraction would fail to recognize the difference between the meanings of the same word. In such cases, NER is successful in bringing out the difference.

2. Context

Chatbots have limited or no sense of context. Context forms a crucial part of human conversations. This ability of context (in NLU) qualifies the chatbots to understand context is directly proportional to the data (vocabulary) we use to train it. Which means, if we have a comprehensive training data set, the better the chatbot is able to understand the variations in sentences.

Example

“Who is Mr. Amitabh Bachchan?”

“What is his age?”

“What does he do?”

In this example by context, the chatbot is able to understand that the second or third question (where Mr Amitabh Bachchan being referred as his/he) has been asked in reference to the first question. So, by contextual understanding, the chatbot is able to understand the relationship between these questions.

3. Intent

Intent works on finding the meaning in a sentence. Intent (in NLP) in chatbots would classify similar sentences, based on their meaning, even though these sentences could have same words.

Example –

- RAM of the best phone.

- Best RAM phones.

The first statement asks about the RAM details of the best phone, while the second one refers to the list of phones with the best RAM. Both sentences have different intent. The first one refers to value intent and the second one refers to list intent.

Pros

· Limitless functionality

· Flexibility

· More human-like

Cons

· Yet to get a deeper understanding of human emotions and accurately simulate Contextual conversations

· Difficult to build and maintain

· High Cost and Time to market

· Risk of failure is high

Business Applications of Chatbots

All types of businesses can benefit from Chatbots, especially in Marketing, Sales and Lead Generation.

Product suggestions — Brands such as Sephora and H&M use chatbots to provide product reviews and product suggestions based on previous purchases made by the user.

24 x 7 Customer Service — Focus on customer service and engagement has never been more critical than today. With chatbots, you can automate Responses to user queries on websites and apps. This is a huge step to increase Customer Retention and reduce manpower.

Personalized Marketing — By identifying customer habits, the chatbot can learn about user behaviour and carefully provide targeted ads specific to the user. (Example — Amazon)

Cart Management — A user may add products in their cart and often forget about it. Chatbots send timely notifications to remind users and promote Sales. (Example — Lens kart)

Health Industry — Casper, a leading mattress manufacturer has developed a bot which talks to patients suffering from Insomnia.

Finance and News Industry — Chatbots integrated with apps provide latest updates in Stock trends, News, Weather and Politics.

Transport, Tourism and Hospitality — Chatbots in elite hotels and restaurants assist users to order meals and room service based on certain user-specific choices. (Example — items from the menu for a user who’s allergic to mushrooms)

With each passing day, it seems we’re only improving and getting closer to realizing the prowess of AI/ML/NLP/NLU. Movies such as Her and Ex Machina don’t seem so impossible!

ChatGen

We at ChatGen take pride in building adavanced #Chatbots for business organizations which are equipped with features such as automatic scheduling, intelligent routing, extensive analytics, CRM integration and a host of other features.

We have an experienced team of IITs’, IIMs’ and experts from E-commerce. Till now we have delivered numerous chatbots in the marketplace to reputed organizations such as Eureka Forbes, Tata Value home loans, Thyrocare and many more.

Visit chatgen.ai to know more about Chatbots or Build One for your Business!

--

--

Prashant Sai
Prashant Sai

Written by Prashant Sai

Loves SAAS, Products and mad about LLM applications

No responses yet