How SmartBots Increased the Accuracy of Intent Identification in a Chatbot - PowerPoint PPT Presentation

View by Category
About This Presentation

How SmartBots Increased the Accuracy of Intent Identification in a Chatbot


Chatbots have become an integral part of our daily lives. Do you know that machine learning played a key role in achieving such a performance? This article deals with an interesting in-depth concept of chatbot implementation of frameworks like Amazon lex or Google DialogFlow. – PowerPoint PPT presentation

Number of Views:5
Date added: 25 June 2020
Slides: 3
Provided by: SmartBots


Write a Comment
User Comments (0)
Transcript and Presenter's Notes

Title: How SmartBots Increased the Accuracy of Intent Identification in a Chatbot

User Intent Identification in a Chatbot
Chatbots have turn out to be an integral part of
our every day lives. Do you understand that
device learning played a key position in
achieving this sort of performance? This article
offers a thrilling in-depth idea of chatbot
implementation of frameworks like Amazon Lex or
Google DialogFlow. I count on the reader to
have a basic idea of the steps involved inside
the implementation of a Conversational AI
Chatbot via these well-known frameworks. As a
primary step, we want to become aware of the
rationale from the user utterance that plays a
key position in giving the proper
reaction Intent Classification Lex Approach
Whether in Lex or google DialogFlow or maybe in
Luis, there may be a provision to feature custom
intents for a chatbot. Then, based totally on the
structure of intents, there are proprietary
fashions trained with the aid of each of the
frameworks. When a consumer enters a query,
these models are actually answerable for figuring
out the cause of that query. Then the predefined
response is given back. Our Approach As a
system studying company, we at SmartBots have our
very own custom proprietary fashions for this
task. But in practical situations, when a couple
of intents have close relationships in phrases
of words or structure, a version can't give the
right-justified answer with high accuracy.
User Intent Identification in a Chatbot
Consider a Doctor Appointment in Healthcare
Chatbots. We would have intents for booking an
appointment and canceling an appointment. The
queries would look like the below examples Hey,
Hi Sara! Can you book an appointment? Hey, Hi
Sara! Can you cancel my appointment? In each of
those queries, there may be most effective one
word that enables in figuring out the cause of
the query, i.E ebook and cancel respectively.
Typically, an ML set of rules could classify
these queries into their respective intents. But
it is not practically viable for an ML model to
become aware of the intents accurately every
single time, thanks to other words inside the
person input that avoid the model
predictions. To take care of such scenarios,
weve devised a technique with the assist of
skilled NER which I actually have explained
underneath. NER NER (Named Entity Recognizer)
or commonly referred to as keyword extractor,
identifies the phrases and extracts what role
they play inside the sentence. So we train the
NER with proper facts to discover whether or not
the sentence has key phrases liable for reserving
an appointment or canceling an appointment. Then
we use NER to perceive which key phrases are
present, then the reaction is framed
accordingly. Use case We built a bot for
scheduling an appointment with a doctor. We
generated synthetic information to train the
purpose of the classifier. Through the regular
approach, the bot should become aware of the
intents with 80 percent accuracy. Then, we
trained the NER for 2 separate intents of
booking and cancellation of appointments. This
new NER turned into around 85 percent correct in
identifying the intents, however, when each model
was mixed in a hierarchy, the general accuracy
of the bot expanded to 95 percent. Our
Conclusion Based on this exercise, we had been
able to conclude that adding a stage of
hierarchy in rationale classification via NER
improves the performance of the chat-bot. About
Smartbots.AI SmartBots is a cohesive chatbot
development platform that designs, develops,
validates, and deploys AI-powered conversational
enterprise chatbots that suit the unique needs of
your business.