A Review On Implementation Issues of Rule-Based Chatbot Systems
A Review On Implementation Issues of Rule-Based Chatbot Systems
Abstract: Communication between a human and computer is area of interest for many researchers since past many years. There are different ways to
perform the communication between human and computers. Chatbots have become popular mechanism to perform such communication. Chatbot is a
computer program which makes this interaction easy and interesting. Existing artificial intelligence methods show poor performance while giving
most appropriate response to the user’s query. Hence at present rule-based Chatbot systems are more popular among the industries. In this paper, we
present detailed study on implementing rule-based Chatbot systems. The paper discusses performance measurement parameters for Chatbot systems.
The paper presents comparison between Google Dialogflow and IBM Watson, which are two most popular rule-based Chatbot implementation
frameworks. The paper ends by listing expectations from future Chatbot systems.
Keywords: Chatbots Rule-based Chatbots Platforms and Frame-works Google Dialogflow, IBM Watson Performance Parameters.
This paper present critical analysis of various existing rule based 3. Popular Chatbot Platforms and Frameworks
Chatbot system
The paper discusses issues in implementing Chatbot systems and it While implementing rule based Chatbot systems two key terminologies
guides organizations about choosing appropriate Chatbot platform are Chat-bot development frameworks, and Chatbot platforms. Many
and framework times people get confused in these two terminologies. Below table 1
The paper presents case studies on two most popular rule based shows differences between the frame-work and platform.
Chatbot systems viz. Google Dialogflow and IBM Watson. The
paper compares both frameworks on various parameters Table 1 - Difference between Chatbot development frameworks and
Chatbot platforms. [21]
This paper is organized as follows: Section 2 discusses historical Chatbot Frameworks Chatbot Platforms
development of Chatbots. Section 3 describes and compares Chatbot It contain set of predefined On-line ecosystem where Chatbot
implementation platforms and development frameworks. Section 4 functions and classes. can be deployed and interact.
explains parameters to measure performance of the Chatbot system. Chatbot framework helps to Chatbot platform provide base to
Detail the design of Google Dialogflow and IBM Watson Chatbot develop and bind components of deploy and run the Chatbot
system and its limitations are discussed in Section 5. Section 6 gives Chatbot system. It give tool that application.
Conclusion of this study and also discusses expectations from future help to write code in better and
faster manner.
Chatbot system.
It requires programming languages It is easy and simple to understand
to develop. to make a Chatbot with the help of
2. History of Chatbot Systems simple drag and drop approach.
Richard Wallace in 1995.It was inspired by ELIZA. It is an open source This research work focuses on study of Chatbot development
natural language handling Chatbot program that interact with a human frameworks. As per Google Trends IBM Watson and Google Dialogflow
by using some pattern matching rules. ALICE is situated in XML are being most popular Chatbot development framework system at
knowledge base. It coordinates the client contribution against predefined present. Hence in next part we are going to focus on detailed analysis of
set of reactions. As it has a predefined set QA reactions, it can’t answer Google Dialog flow and IBM Watson. Section IV explains which
every one of the inquiries satisfactorily it is feasible for ALICE bots to parameters affect performance of the Chatbot system.
grow their insight bases through a XML. Utilizing this, An ALICE bot
can be intended to be a specialist in any space specific data [2].Google 4. Performance Evaluation of Chatbot Systems
Dialogflow [10] is Google-owned Chatbot system was developed in
2010. It is based on natural language conversations. These Chatbot are There is need to evaluate and compare performance of a Chatbot
able to respond voice commands. Dialogflow is Google service that systems. There are number of dimensions on which we can compare
execute on Google cloud platform. User can interact with Chatbot Chatbot systems. This section discusses various performance
system via voice and text-based interface. Watson is a Q&A framework measurement parameters proposed by [16], [17] and [18]. As per [16]
[8] created in IBM’s Deep Q&A venture by the exploration group. IBM following parameters should be considered to evaluate performance of
Watson According to the exploration study by Mindbowser in Chatbot system - Variety of tasks done by the Chatbot, Number of
relationship with Chatbot Journal IBM Watson is the main decision as a channels (Facebook, Skype, Telegram etc.) supported, Support for NLP
bot-building stage for 61% of organizations. Microsoft Bot Frame-work and Speech, Collect data from user intelligently through interaction,
[9] help user that connect Chatbot with different channels such as SMS, Tools available to build Chatbot, etc. [17] suggests following
parameters to evaluate performance of Chatbot system -Total users
In this section we are going to present case study on working of two 1.2. Limitations of Google Dialogflow and IBM Watson
most popular Chatbot frameworks viz. Google Dialogflow and IBM
Watson. As part of our research we identified limitations of both Google
Google Dialogflow is a natural language understanding engine Dialogflow and IBM Watson. In this sub-section we are going to discuss
developed by Google. Dialogflow help users to build intelligent Chatbot these identified limitations. Google Dialogflow Limitations: Dialogflow
system. IBM Watson is a question and answer system that provides agent is not open source. On free edition Dialogflow provide some
interaction between the machine and users. Following subsection limited services. Google Dialogflow does not support WhatsApp as
discusses comparative study of Google Dialogflow and IBM Watson target platform. Also it is hard to manage complex project logic. If a
Chatbot system. context is present then Google Dialogflow doesn't block the matching of
an intent. Dialogflow doesn't have interactive UI. With the help of this
1.1. Comparing Google Dialogflow and IBM Watson framework when we create web Chatbot system it does not look
attractive and good. Here Python SDK is not well documented and there
FinancesOnline [19] show comparison between Dialogflow vs IBM are some lack of examples and tutorials. IBM Watson Limitations: IBM
Watson. In this Web page they use unique SmartScore system for Watson is used in some limited areas only. It does not process structure
evaluation purpose. This score is based on nine components as - Main data directly. There is no any relational databases. It having limited
Functionality (20%), Collaboration Features (20%), Customization resources. As compare to others platform this is more expensive
(15%), Integration (15%), and Ease of use (10%), General Impression platforms. At some point IBM Watson requires some complex coding for
(5%), Help & Support (5%), Security (5%), and Mobility (5%). proper integration. Dialogues sometimes take a long time to give
SmartScore system considers IBM Watson framework is better than its respond, they need to be re-configured. If answers is not known then
counterpart. The system assigns total score of 8.6 to Google Dialogflow IBM Watson does not give any response. It gives response only answer
and total score of 9.3 to IBM Watson. At Kommunicate [20], they when the system is 100% sure.
assessed numerous Chatbot stages for different use cases, E.g. client
support and service. From Dzone [21] webpage show comparison 6. Experimental Result
between various Chatbot platform. Globalme language and technology
[22] web page compare Google and IBM to show which Chatbot In this section for analysis purpose we create Chatbot system for
platform is easiest to train. Here they use three key aspects for educational college website.
comparison purpose as Documentation provided, Configuration
Experience, Testing and Interface. As per [22] Google Dialogflow 1.3. Google Dialogflow Result
documentation is better whereas IBM Watson takes less time for
configuration. As per them testing and interface of both systems are We collect college training data for Both Google Dialogflow and IBM
equally good. Most important component of conversation is Watson Chatbot system. In Google Dialogflow first we create
understanding natural language. Medium web page [23] show Dialogflow account and Facebook Developers account. Here we create
comparison between different platforms depends on its NLU features. agent name as RIT_smartchat. In that agent we create more than 15
Both fig. 2 (a) and (b) show same result whenever it get different user
input in the format of text or button click. With the help of intent and
entities it is easy to perform pattern matching for this Chatbot.
Fig. 1 show that how RIT_smartchat welcome to the user. Here there are
some buttons provided or chatbot can get input from user in the form of
text also.
REFERENCES