Project File - Caleb
Project File - Caleb
P.O BOX 02
PROJECT REPORT
ON
BY
2019224029
JULY, 2023
1
TITLE PAGE
2
CERTIFICATON PAGE
This is to certify that this research work was carried Out By Caleb Nwosu Ebere, with
3
DEDICATION
This work is dedicated to God for his enabling grace, and to all computer enthusiasts who
4
APPROVAL PAGE
This is to certify that this project work, ―Design And Implementation Of A Conversatonal
AI Chatbot‖, was written by Caleb Nwosu Ebere with Registration number 2019224029
and has been read and approved for the award of (Degree) in the department of Computer
………………………………… ………………………….
(Project Supervisor)
………………………………… ………………………….
(Head of Department)
…………………………………
External Examiner
5
ACKNOWLEDGEMENT
Prof. Ike Mgbeafulike, The Lecturers in the department of Computer Science, Book Authors
and Profound Scholars of existing/related research work for your moral support that
parent for their financial support in my career. I really appreciate you all for everything,
6
TABLE OF CONTENTS
COVER PAGE
TITLE PAGE
CERTIFICATION
DEDICATION
ACKNOWLEDGEMENT
ABSTRACT
TABLE OF CONTENTS
LIST OF TABLES
LIST OF FIGURES
7
[Link] Overview of Chatbot User Registration
4.4 System Specifications (choose specifications that are applicable to your work)
8
4.4.6 Algorithm
4.7.5 Training
4.7.6 Documentation
4.7.7System Conversion
9
[Link] Recommended Procedure
5.1 Summary
5.2 Conclusion
5.3 Recommendation
REFERENCES
10
ABSTRACT
conversation with a user in natural language via text or speech. The aim of the study is to
design and implementation of a conversatonal ai chatbot. In achieving this aim, the following
specific objectives were laid out to develop an application software that will analyze users‘
queries and understand users message and reply end-users using a responsive GUI similar to
a real person talking to the user. The motivation that led to the implementation of the
proposed system is that applicants are buzzing with a lot of questions and it‘s undoubtedly a
busy time for admissions departments responding to an influx of questions requiring fast
responses. Malicious chatbots are frequently used to fill chat rooms with spam and
revealing personal information, such as bank account numbers. The methodology adopted in
this study is the structured system analysis and design methodology (SSADM) which is a
technical approach for analyzing and designing an application or system by applying object
throughout the software development process. The programming language used is HTML,
CSS, JAVASCRIPT, PHP, SQL and JQUERY. The reason why web programming languages
was used is because, it is platform independent and it is a web based application. The
implementation of this proposed system will be beneficial to the academic field and the
society. Also, it provides a faster response time and provides round the clock (24/7) support.
The expected result is an computerized departmental chatbot application software that will
interactions, provide an answer to the query of the user efficiently and effectively and save
11
CHAPTER ONE
INTRODUCTION
The first chatbot was created by Joseph Weizenbaum in 1966 and named as Eliza chatbot
which appeared as a psychotherapist who reacted to the client with essential inquiries. It gave
a deception of comprehension with scripted [Link] 1972 Kenneth Colby turned out with
a progressed chatbot Repel than Eliza which is a chatbot that could mimic an individual with
Jabberwacky. Later on in 1992 Imaginative labs for MS-Dos makes a chatbot named
(A.L.I.C.E chatbot) chatbot is create where heuristic example is utilized for coordinating
In 2001 a canny bot is made which is generally disseminated crosswise over sms systems
called smarterchild. Later on IBM's Watson was planned in 2006 where normal language
handling and machine learning is utilized to uncover inside and out information from
substantial measure of information. In 2010 an astute individual right hand chatbot named siri
appeared which utilizes common language UI to respond to questions and perform different
At the beginning of a new session, the university receives many applications and to convert
these applications into enrolments, swift communication is crucial. Students may have
questions ranging from courses, fees, scholarships, facilities, and the university environment
to accommodation and transportation system. Students come to the university from regions
with different time zones, cultures and environments and will need assistance to settle down
12
in the campus. With so many applications and emails, universities can find it difficult to
respond to every student. Apart from prospective students, returning students need to get
that can imitate a conversation with a user (Lexico, 2021). In the past decade, chatbot
intelligence and machine learning. Chatbots are proving themselves as a valuable tool in
many situations and are visible in almost every aspect of our daily lives.
Chatbots promise a range of potential benefits. Most notably, they provide responses and
solutions that are instant, consistent, and reliable (Klopfenstein et al., 2017). These
characteristics make chatbots a powerful tool in many different areas, and their use has
evolved rapidly in fields such as business, e-commerce, and healthcare (Adamopoulou et al.,
2020).
This proposed chatbot is developed using the Google Dialog flow framework. Dialog flow is
a natural language understanding platform that makes it easy to design and integrate a
conversational user interface into mobile app, web application, device, bot, and interactive
voice response system. The chatbot uses a GUI (Graphic User Interface) integrated into a
Investigation revealed that, applicants are buzzing with a lot of questions and it‘s
requiring fast responses. In past years, students and parents had to visit the college to enquire
about details and other information about the college that is a lengthy and time-consuming
13
process. This is also a hectic and resource wasting process for the admissions offices. To save
time, energy and resources this can now be done over the internet with chatbots.
Malicious chatbots are frequently used to fill chat rooms with spam and advertisements, by
mimicking human behaviour and conversations or to entice people into revealing personal
information, such as bank account numbers. They are commonly found on Yahoo!
Messenger, Windows Live Messenger, AOL Instant Messenger and other instant messaging
protocols. There has also been a published report of a chatbot used in a fake personal ad on a
achieving this aim, the following specific objectives were laid out as follows to develop an
3. Save the time of the user in finding a specific academic task; and
4. Reply end-users using a responsive GUI similar to a real person talking to the user.
The implementation of this project has the potential to benefit the academic field and the
society. Chatbots can make the enrolment processes easier as it provides answers to the most
14
It provides a faster response time and provides round the clock (24/7) support. A chatbot can
interactions.
Students are often concerned about making the right career decisions, many of these courses
are offered in different universities. The university can leverage on chatbots to attract
This study will be of immense benefit to other researchers who intend to know more on this
study and can also be used by non-researchers to build more on their research work. This
study contributes to knowledge and could serve as a guide for other study.
The scope of the research is focused on the design and implementation of a conversatonal ai
chatbot.
During the course of this study, many things militated against its completion, some of which
are:
1. Time Constraint: The time frame given to accomplish this project was very short
due to school academic calendar and it was carried out under pressure which made the
of the study.
15
3. Frequent power failure: This made the researcher append more money on fuel to
researcher in sourcing for the relevant materials, literature or information and in the
Chatbot: also known as a smartbots, talkbot, chatterbot, Bot, IM bot, interactive agent,
and artificial intelligence concerned with the interations between computer and human
(natural) langauges, in particular how to program computers to process and analyze large
Html Code: HTML stands for Hyper Text Markup Language. It is a type of computer
language that is primarily used for files that are posted on the internet and viewed by web
Markup language: A markup language is a combination of words and symbols which give
instructions on how a document should appear. For example, a tag may indicate that words
Web browser: A Web browser is a software program that interprets the coding language of
the World Wide Web in graphic form, displaying the translation rather than the coding. This
allows anyone to ―browse the Web‖ by simple point and click navigation, bypassing the need
16
File extension: A file extension is the suffix at the end of a filename that tells a computer,
and the computer user, which program is needed to open the file. Also called a filename
extension, this suffix preceded by at least one period, is generally one to five characters long
Email: Email, also sometimes written as e-mail, is simply the shortened form of electronic
mail, a protocol for receiving, sending, and storing electronic messages. Email has gained
popularity with the spread of the Internet. In many cases, email has become the preferred
method of communication.
TCP/IP: This often used but little understood set of operations stands for Transmission
Control Protocol/Internet Protocol. TCP/IP is the combination of the two and describes the
Text File: – A text file is a computer file that stores a typed document as a series of
alphanumeric characters, usually without visual formatting information. The content may be
a personal note or list, a journal or newspaper article, a book, or any other text that can be
Hyper Link: A hyperlink is a graphic or a piece of text in an Internet document that can
connect readers to another webpage, or another portion of a document. Web users will
usually find at least one hyperlink on every webpage. The simplest form of these is called
17
CHAPTER TWO
LITERATURE REVIEW
In recent times, the design and implementation of chatbots have received great attention from
developers and researchers. Chatbots are Artificial Intelligence (AI) based conversational
systems which are able to process human language through various techniques including
Natural Language Processing (NLP) and Neural Network (NN). A chatbot is an exemplary
advancement in the development of chatbots, and they have evolved into one of the most
powerful and widely adopted applications. However, this is only the beginning of chatbots,
and to meet their full potential, it requires our attention and effort to understand how they
work and how they are developed. Chatbots promise a range of potential benefits. Most
notably, they provide responses and solutions that are instant, consistent, and reliable
(Klopfenstein et al., 2017). These characteristics make chatbots a powerful tool in many
different areas, and their use has evolved rapidly in fields such as business, e-commerce, and
The first chatbot was created by Joseph Weizenbaum in 1966 and named as Eliza chatbot
which appeared as a psychotherapist who reacted to the client with essential inquiries. It gave
a deception of comprehension with scripted reactions. In 1972 Kenneth Colby turned out with
a progressed chatbot Repel than Eliza which is a chatbot that could mimic an individual with
18
Jabberwacky. Later on in 1992 Imaginative labs for MS-Dos makes a chatbot named
1995 utilizing regular language preparing Counterfeit Phonetic Web PC Element (A.L.I.C.E
chatbot) chatbot is create where heuristic example is utilized for coordinating tenets to human
contribution to request to have discussion. In 2001 a canny bot is made which is generally
disseminated crosswise over sms systems called smarterchild. Later on IBM's Watson was
planned in 2006 where normal language handling and machine learning is utilized to uncover
In 2010 an astute individual right hand chatbot named siri appeared which utilizes common
language UI to respond to questions and perform different demands and is a piece of Apple's
IOS which go about as the base for all later chatbots. Google propelled Google Now in 2012
which is cell phone based application. Presently it turned into the piece of updates and UI
alterations for portable pursuit. Later on in 2015 bots ended up well known with further
Alexa bot and Cortana bot that is available in various dialects which perceives common voice
directions. These bots likewise performs web seeking. In 2016 Facebook propelled bots for
flag-bearer stage where creates can make chatbots and collaborate with Facebook clients.
The next advancement for conversational agents was made by a team at IBM through the
Watson AI project that has been in development since 2006. The agent was designed with the
sole purpose of winning the American TV show Jeopardy! which it did in 2011 when
competing against two of the show‘s former champions. Jeopardy! is interesting from an NLP
point of view since the questions involve a lot of play on words and require fast information
19
retrieval in vast knowledge bases. Unfortunately this AI in its past form could only answer to
one-liner questions and was unable to carry on a proper conversation with someone else.
Finally in the early 2010‘s came the rise of virtual assistants such as Apple‘s Siri, Microsoft‘s
Cortana, Google‘s Google assistant, Amazon‘s Alexa and others. Those agents brought in the
field the concept of conversation as well as goal-oriented dia- log. Another major event in the
field of chatbots was the release of the Messenger Platform for Facebook Messenger in 2016
and allowed the creation of conversational agents for non-AI related companies.
Artificial Intelligence Chat bot in Android System using Open Source Program-O: The
framework works in two modes, content and voice. At the point when client gives the
contribution to content configuration the principal mode is actuated. The client input is
passed to the middleware API for the reaction. On other hand when client gives the voice
input at that point second mode is initiated, In this voice mode we first proselyte the voice
into content before sending it to middleware API. Middleware is the model which interfaces
the AIML contents with our android application. At the point when client input is gotten at
the middleware, it is passed to the example coordinating calculation which keeps running
over the AIML contents. In this procedure, right off the bat the example coordinating
calculation is executed for coordinating of the substantial reaction from the available AIML
contents. At the point when design is coordinated, the comparing layout is come back to the
middleware. At that point Middleware encodes the layout into the JSON design and sends the
answer to the android application. Subsequent to accepting the reaction application interprets
20
The response generation process is carried out with two phases:
1. An E-business Chatbot using AIML and LSA: For e-plans of action Web based
business is one of the for the most part used to work together over the web or web. One
of the real downside in this field is client administration quality which they are giving.
In every single e-plan of action, clients need to wait for the reaction for longer time
from the client administration agent or structure the partner side answer.
As an answer for this issue, another chatbot which can consequently offers reactions to
the clients within a matter of seconds (division of seconds) in view of the informational
collection given by the designer and the Every now and again Addressed
Knowledge: Fake neural networks (ANN's) system is utilized in this. This paper mainly
focuses on the web in which the client movement can be utilized as the information for
recommending the following site pages that the client is going to open. It utilizes
Counterfeit neural systems and markov models. At the point when the client asks for the
WWW (World Wide Web) the demand is handled and relying upon the past history of
the client the following site page that the client may open can be recognized so as to
21
3. College Enquiry Chatbot Using A.L.I.C.E: A.L.I.C.E is a characteristic language
handling and man-made reasoning visit [Link] programming used to make is from
open source (which can be uninhibitedly utilized by everybody) called Alice bot
which encourages new understudies to take care of few of the issue they are confronting
and responds to inquiries for the understudies that are raised amid confirmation. AIML
is a mediator that takes the contribution from the client and applies design coordinating
calculation utilizing AIML contents and creates the ouput. It additionally helps while
infusing the recently formed information or learning into the information base.
researches the potential utilization of discourse based ALICE bots in scattering fear
5. Android based Chat-Bot: This framework has been executed to incorporate with any
Inn The board Android Application to facilitate the procedure of lodging booking.
ALICE utilizes design coordinating and spares the data in Man-made reasoning
Increase Language (AIML) records. ELIZA is a visit bot that is utilized mainly to chat
with the client. It is mainly utilized for easygoing correspondence with [Link]-bot has
worked in information base, conversational capacities, constant help, and human visual
look. It can go about as an extraordinary remote helper for lodging booking and can
22
2.4.2 Classification of Chatbots
Chatbots can be classified based on different parameters, including the service provided, the
knowledge domain, the response generation method, the goal, and the permission, and the
amount of human-aid.
Classification based on the service provided considers the sentimental proximity of the
chatbot to the user, the amount of intimate interaction that takes place, and the task the
searches in FAQ without being a companion of the user. Intrapersonal chatbots live in the
personal domain of the user and are expected to understand the user like a human does. Inter-
agent chatbots communicate with other chatbots to accomplish a task (Nimavat et al., 2017).
The knowledge domain refers to the knowledge the chatbots access or the amount of the data
they are trained upon. Open domain chatbots can respond to questions from any domain,
whereas closed domain chatbots only has knowledge in a particular domain (Nimavat et al.,
2017).
Classification based on the response generation method takes into account the method of
generative- based chatbot, and we will discuss this in more detail later in the paper (Nimavat
et al., 2017).
Classification based on the goals considers the primary goal a chatbot aims to achieve.
Information chatbots provide the user with specific information stored in a fixed source.
Chat-based or conversational chatbots are designed to hold a natural conversation with the
23
user like another human being would do. Task-based chatbots perform a task based on the
Chatbots can also be classified according to the permissions provided by the development
platforms. Open-source platforms make their code available so that developers have control
over most aspects of implementation. Closed platforms are of proprietary code and are
Finally, depending on the amount of human-aid, chatbots can be classified into human-
in at least one component. Fully automated chatbots are fast in processing information while
human computation provides flexibility and can help fill the gaps caused by the limitations of
Registration, when carried out in an Institution is mostly handled by the Registrar. A registrar
is an official in an Organization who handles records. In the United Kingdom, the term
registrar is usually used for the head of the university's administration. The role is usually
combined with that of secretary of the university's governing bodies and in these cases, the
full title will often be "registrar and secretary" (or "secretary and registrar") to reflect these
dual roles. The University of Cambridge in England uses the archaic spelling of "Registrary"
records and registration, academic scheduling, front line service and support, strategic
24
enrollment data management and analysis, academic policy, and graduation (sometimes
known as convocation).
managerial roles in such universities on behalf of the registrar or head of department and
head sub-sections of the administration. Titles afforded to such staff include academic
registrar, assistant registrar, senior assistant registrar and principal assistant registrar.
The creation and use of an online registration form, electronic registration form, online
school, college, university, service or other types of necessary and vital services and
purposes.
university or agency easy and simple to do from a computer, laptop or other type of
Gone are the days of long registration queues and paper forms to sign up for an activity. An
increasing number of registrars from both large and small organizations are embracing online
registration services as an added-value for both them and their participants. Online
registration not only improves efficiencies and eliminates unnecessary paperwork; it also
sign up when and where it is most convenient for them from any Internet-enabled computer
(Sean, 2010).
25
The benefits of taking online registration for any activity are, in fact, so varied, that this
review will enumerate only the most significant for the registrars and participant alike.
A web portal is a specially designed website that brings information from diverse sources,
like emails, online forums and search engines, together in a uniform way. Usually, each
information source gets its dedicated area on the page for displaying information (a portlet);
often, the user can configure which ones to display. Variants of portals include mashups and
intranet "dashboards" for executives and managers. The extent to which content is displayed
in a "uniform way" may depend on the intended user and the intended purpose, as well as the
diversity of the content. Very often design emphasis is on a certain "metaphor" for
configuring and customizing the presentation of the content (e.g., a dashboard or map) and
the chosen implementation framework or code libraries. In addition, the role of the user in an
organization may determine which content can be added to the portal or deleted from the
A portal may use a search engine's application programming interface (API) to permit users
to search intranet content as opposed to extranet content by restricting which domains may be
searched. Apart from this common search engines feature, web portals may offer other
services such as e-mail, news, stock quotes, information from databases and even
entertainment content. Portals provide a way for enterprises and organizations to provide a
consistent "look and feel" with access control and procedures for multiple applications and
databases, which otherwise would have been different web entities at various URLs. The
26
The main concept is to present the user with a single Web page that brings together or
aggregates content from a number of other systems or servers. The application server or
architecture performs most of the crucial functions of the application. This application server
is in turn connected to database servers, and may be part of a clustered server environment.
High-capacity portal configurations may include load balancing strategies. For portals that
present application functionality to the user, the portal server is in reality the front piece of a
server configuration that includes some connectivity to the application server. For early Web
browsers permitting HTML frameset and iframe elements, diverse information could be
presented without violating the browser same-source security policy (relied upon to prevent a
JavaScript frameworks and libraries that rely on more recent Web functionality such as
WebSockets and asynchronous callbacks using XML Http Requests (Donna, 2019).
The server hosting the portal may only be a "pass through" for the user. By use of portlets,
application functionality can be presented in any number of portal pages. For the most part,
this architecture is transparent to the user. In such a design, security and concurrent user
capacity can be important issues, and security designers need to ensure that only
authenticated and authorized users can generate requests to the application server. If the
security design and administration does not ensure adequate authentication and authorization,
then the portal may inadvertently present vulnerabilities to various types of attacks.
Web portals are sometimes classified as horizontal or vertical. A horizontal portal is used as a
platform to several companies in the same economic sector or to the same type of
27
entry point to a specific market or industry niche, subject area, or interest. Some vertical
portals are known as "vertical information portals" (VIPs). VIPs provide news, editorial
portals, VIPs also provide dynamic multimedia applications including social networking,
The following are the various types of web portals and they include;
1. Personal: A personal portal is a Web Page at a Web site on the World Wide Web or a
local HTML home page including JavaScript and perhaps running in a modified Web
or its local user, providing a pathway to other content. It may be designed to use
provide services from a number of different sources and may run on a non-standard
local Web server (Susan, 2011). In addition, business portals can be designed for
computers, laptops, tablet computers, personal digital assistants (PDAs), cell phones
and smartphones. Information, news, and updates are examples of content that could
be delivered through such a portal. Personal portals can be related to any specific
outside content that may help others beyond your reach of services. Portals are not
limited to simply providing links. Outside of business intranet user, very often simpler
portals become replaced with richer mashup designs. Within enterprises, early portals
were often replaced by much more powerful "dashboard" designs. Some also have
28
relied on newer protocols such as some version of RSS aggregation and may or may
2. Government: At the end of the dot-com boom in the 1990s, many governments had
already committed to creating government web portal sites for their citizens. These
included primary portals to the governments as well as portals developed for specific
libraries (see: library portal), archives and museums. This type of portal provides a
point of access to invisible Web cultural content that may not be indexed by standard
search engines. Digitized collections can include scans or digital photos of books,
artworks, photography, journals, newspapers, maps, diaries and letters and digital files
of music, sound recordings, films, and archived websites as well as the descriptive
metadata associated with each type of cultural work (e.g., metadata provides
information about the author, publisher, etc.). These portals are often based around a
portals include:
DigitalNZ – A cultural portal led by the National Library of New Zealand focused on
Europeana – A cultural portal for the European Union based in the National Library
29
[Link] - A commercial cultural portal focused on Belarusian digital content.
4. Corporate: Corporate intranets became common during the 1990s. As intranets grew
in size and complexity, organization webmasters were faced with increasing content
skilled enough, were able to offer some capabilities, but for the most part ended up
driving users away from using the intranet. Many companies began to offer tools to
help webmasters manage their data, applications and information more easily, and by
providing different users with personalized views. Portal solutions can also include
managed content publication. Most can allow internal and external access to specific
With the increase in user-generated content (blog posts, comments, photos), disparate
data silos, and file formats, information architects and taxonomists will be required to
allow users the ability to tag (classify) the data or content. For example, if a vice-
president makes a blog post, this post could be tagged with her/his name, title, and the
subject of the post. Tagging makes it easier for users of the intranet to find the content
they are interested in. This will ultimately cause a ripple effect where users will also
be generating ad hoc navigation and information flows. Corporate portals also offer
5. Stock: Also known as stock-share portals, stock market portals or stock exchange
portals are Web-based applications that facilitates the process of informing the share-
holders with substantial online data such as the latest price, ask/bids, the latest News,
reports and announcements. Some stock portals use online gateways through a central
30
depository system (CDS) for the visitors (ram) to buy or sell their shares or manage
their portfolio.
6. Search: Search portals aggregate results from several search engines into one page.
You can find search portals specialized in a product, for example property search
7. Property Search: Property search portals aggregate data about properties for sale by
real estate agents. Notable property search portals in the UK include Nestoria, Nuroa,
goods and services. Tender portals allow users to search, modify, submit, review and
archive data in order to provide a complete online tendering process. Using online
9. Hosted: Hosted Web portals gained popularity and a number of companies began
offering them as a hosted service. The hosted portal market fundamentally changed
the composition of portals. In many ways they served simply as a tool for publishing
correlated data from distributed databases. The early hosted portal companies such as
have risen in popularity their feature set has grown to include hosted databases,
31
document management, email, discussion forums and more. Hosted portals
personalized experience to their users. In this regard they have remained true to the
original goals of the earlier corporate Web portals. Emerging new classes of Internet
portals called Cloud Portals are showcasing the power of API (Application
machine interaction creating a more fluid user experience for connecting users
spanning multiple domains during a given "session". Cloud portals like Nubifer Cloud
Portal show what is possible using Enterprise Mashup and Web Service integration
10. Domain-Specific: A number of portals have come about which are specific to a
particular domain, offering access to related companies and services; a prime example
of this trend would be the growth in property portals that give access to services such
as estate agents, removal firm, and solicitors that offer conveyancing. Along the same
lines, industry-specific news and information portals have appeared, such as the
Using database technology to gather, store and process information about your customers,
suppliers and even competitors can give your business a distinct advantage. A sophisticated
relational database management system can help you store a vast amount of data which, as it
builds up over time, can become increasingly useful and valuable. For example:
32
A good database design is important in ensuring consistent data, elimination of data
redundancy, efficient execution of queries and high performance application. The outline of
the table allows data to be consistent. Implementation of primary keys and unique constraints
Your gathering, storage and processing of customers' personal data must comply with data
unnecessary personal data. Under the GDPR, you must ensure the personal data you are
processing is:
Limited to what is necessary - you do not hold more than you need for that purpose.
Managing information means taking care of it so that it works for us and is useful for the
tasks we perform. By using a DBMS, the information we collect and add to its database is no
longer subject to accidental disorganization. It becomes more accessible and integrated with
the rest of our work. Managing information using a database allows us to become strategic
users of the data we have. We often need to access and re-sort data for various uses. These
may include:
The processing power of a database allows it to manipulate the data it houses, so it can: Sort,
Because of the versatility of databases, we find them powering all sorts of projects. A
33
A website that is capturing registered users
Many businesses do not have the time or resources available to gather and process large
How their business is performing, how profitable their product lines are, if customers are
However, the following key benefits can be identified when using databases for web
self-describing because it not only contains the database itself, but also metadata which
defines and describes the data and relationships between tables in the database. This
information is used by the DBMS software or database users if needed. This separation of
data and information about the data makes a database system totally different from the
34
traditional file-based system in which the data definition is part of the application
programs.
2. Insulation between Program and Data: In the file-based system, the structure of the
data files is defined in the application programs so if a user wants to change the structure
of a file, all the programs that access that file might need to be changed as well. On the
other hand, in the database approach, the data structure is stored in the system catalogue
and not in the programs. Therefore, one change is all that is needed to change the
structure of a file. This insulation between the programs and data is also called program-
3. Support for Multiple Views of Data: A database supports multiple views of data. A
view is a subset of the database, which is defined and dedicated for particular users of the
system. Multiple users in the system might have different views of the system. Each view
4. Sharing of Data and Multiuser System: Current database systems are designed for
multiple users. That is, they allow many users to access the same database at the same
time. This access is achieved through features called concurrency control strategies.
These strategies ensure that the data accessed are always correct and that data integrity is
from those in the past which restricted usage to one person at a time.
5. Control Of Data Redundancy: In the database approach, ideally, each data item is
stored in only one place in the database. In some cases, data redundancy still exists to
35
6. Data Sharing: The integration of all the data, for an organization, within a database
system has many advantages. First, it allows for data sharing among employees and
others who have access to the system. Second, it gives users the ability to generate more
information from a given amount of data than would be possible without the integration.
the ability to define and enforce certain constraints to ensure that users enter valid
information and maintain data integrity. A database constraint is a restriction or rule that
dictates what can be entered or edited in a table such as a postal code using a certain
format or adding a valid city in the City field. There are many types of database
constraints. Data type, for example, determines the sort of data permitted in a field, for
example numbers only. Data uniqueness such as the primary key ensures that no
(programming).
8. Restriction Of Unauthorized Access: Not all users of a database system will have the
same accessing privileges. For example, one user might have read-only access (i.e., the
ability to read a file but not make changes), while another might have read and write
privileges, which is the ability to both read and modify a file. For this reason, a database
management system should provide a security subsystem to create and control different
allows for data independence. In other words, the system data descriptions or data
describing data (metadata) are separated from the application programs. This is possible
because changes to the data structure are handled by the database management system
36
10. Transaction Processing: A database management system must include concurrency
control subsystems. This feature ensures that data remains consistent and valid during
11. Provision for Multiple Views Of Data: By its very nature, a DBMS permits many users
to have access to its database either individually or simultaneously. It is not important for
users to be aware of how and where the data they access is stored
12. Backup And Recovery Facilities: Backup and recovery are methods that allow you to
protect your data from loss. The database system provides a separate process, from that of
a network backup, for backing up and recovering data. If a hard drive fails and the
database stored on the hard drive is not accessible, the only way to recover the database is
from a backup.
If a computer system fails in the middle of a complex update process, the recovery
subsystem is responsible for making sure that the database is restored to its original state.
These are two more benefits of a database management system (Michael, 2010).
37
CHAPTER THREE
The operations of the departmental chatbot application were analyzed, and some drawbacks
were detected which led to the initiation of the new departmental chatbot application. In the
old system, applicants are buzzing with a lot of questions and it‘s undoubtedly a busy time
a. Applicants are buzzing with a lot of questions and it‘s undoubtedly a busy time for
b. Malicious chatbots are frequently used to fill chat rooms with spam and
An overview of the proposed system flow chat has a relationship between an object to
another just like the entity. Relationship diagram, the object relationship pair can be
Diagram). It is mainly used in database applications but now it is more commonly used in
data design. The primary purpose of ERD is to represent the relationship between data object.
38
[Link] Advantages of the proposed system
The following are the advantages of the proposed design and implementation of a
d) Reply end-users using a responsive GUI similar to a real person talking to the user.
CONVERSATIONAL AI CHATBOT
Update Record
Open Account
Insert/Delete Record
Input Bio-Data
Activate Chatbot
Input Password
Give Feedback to
Chatbot
39
3.2 Methodology Adopted
The structured system analysis and design methodology (SSADM) was adopted for the
analysis, design and implementation of this system. Structured systems analysis and design
methodology (SSADM) is a set of standards for systems analysis and application design. It
uses a formal methodical approach to the analysis and design of information systems.
SSADM follows the waterfall life cycle model starting from the feasibility study to the
physical design stage of development. One of the main features of SSADM is the intensive
user involvement in the requirements analysis stage. The users are made to sign off each
stage as they are completed assuring that requirements are met. The users are provided with
representations of the system. SSADM breaks up a development project into stages, modules,
steps and tasks. The first and foremost model developed in SSADM is the data model. It is a
part of requirements gathering and consists of well defined stages, steps and products. The
techniques used in SSADM are logical data modeling, data flow modeling and entity
behavior modeling.
a) Logical Data Modeling: This involves the process of identifying, modeling and
documenting data as a part of system requirements gathering. The data are classified
b) Data Flow Modeling: This involves tracking the data flow in an information system.
It clearly analyzes the processes, data stores, external entities and data movement.
c) Entity Behavior Modeling: This involves identifying and documenting the events
influencing each entity and the sequence in which these events happen.
40
CHAPTER FOUR
The following are the objectives of the proposed departmental chatbot application design
will;
4. Reply end-users using a responsive GUI similar to a real person talking to the user.
CONVERSATIONAL
AI CHATBOT
Input from
keyboard
Process
Result to
Disk Report (output) screen
storage
41
4.3 The Submenus/Subsystems
Description: The diagram below entails the Input and Output Specification of the proposed
system.
CONVERSATIONAL AI CHATBOT
User ID:
Password:
Enter Password
Login Successful
Or
Login Unsuccessful
42
4.4.1 Database Development tool
The conversational ai chatbot System Database Contains Four (4) Tables Which Are
1. Id Integer 30
1. Id Integer 30
3. Gender Varchar 10
6. Pn Varchar 30
7. Status Varchar 10
43
4.4.3 Math Specification
evaluation of the system in order to give the desired or necessary improvement. It includes
monitoring the process of the other stages of system development to ensure that the
development plan and objective are being accomplished. There are three types of system
coding errors and other faults, which may be introduced into the software. It include,
the routine ―debugging‖ of newly produced or recently amended code and emergency
b) Adaptive Maintenance: This covers the changes which are made to the software to
c) Preventive Maintenance: This covers attempts to make the software perform more
changes to make the software more easy to use and rewrite the code to make the
maintenance that is specifically used for the new system to reduce its chances of
breakages.
44
4.4.5 Input/output format
Input Specification
Input specifications describe the types of records within the file, the sequence of the types of
records, the fields within a record, the data within the field, indicators based on the contents
of the fields, control fields, fields used for matching records, and fields used for sequence
checking. For an externally described file, input specifications are optional and can be used to
Output Specification
The output from the system designed is generated from the system inputs. These reports can
4.4.6 Algorithm
The data dictionary table contains the list of field and their description used in the database
45
4. It consist of the list of states within a specific
Location
country
Description: The diagram below entails the proposed system operation flowchart
Star
t
Input Username
and Password
No
Is username
Display ―Invalid
and password Username/password‖
valid?
Yes
46
Star
t
INPUT REGISTRATION
DETAILS
SAVE TO
DATABASE
YES
CONTINUE?
NO
En
d
Figure B: Registration Flowchart
47
Star
t
INPUT STAFF
REGISTRATION DETAILS
SAVE TO
DATABASE
YES
CONTINUE?
NO
En
d
Figure C: Staff Registration Flowchart
48
Start
Enter User
ID
Validate User ID
Input Phone
Number
Interact with
Chatbox
Answer security
question B
NO Display
Are answers Error
correct? message
YES
Send Request
Save
Stop
49
4.6 Object Diagrams
The software designed needed the following hardware for an effective operation of the newly
designed system.
c) Enhanced keyboard.
b) MySQL database
c) Apache webserver
50
4.7.2 Program Development
The main purpose of program development is to describe the design of your program. The
documentation also provides the framework in which to place the code. As coding
progresses, the code is inserted into the framework already created by the program
documentation. The following was documented for the successful implementation of the
software;
b) Document your code which comprises application of coding conventions, such as file
c) Version of the files along with the major edits you did in each version
To ensure a standardized object oriented program in its entire ramification, HTML, CSS,
JAVASCRIPT, PHP and MYSQL Database was used in the development of departmental
chatbot application. These entire programs are used to ensure effective program. The motive
behind the use of the language is its compatibility with several Operating Systems. It is object
oriented and combines the feature of hypertext Preprocessor (PHP) and JavaScript platform
thereby making it to run on any Operating System. It is secured in that it does not cause harm
to user‘s system and access to information is restricted. The language is simple and easy to
learn.
HTML: HTML is a markup language for describing web documents (web pages).
51
2. A markup language is a set of markup tags
CSS: stands for Cascading Style Sheet, it describes how HTML elements are to be displayed
on screen, paper, or in other media. CSS saves a lot of work. It can control the layout of
multiple web pages all at once and External style sheets are stored in CSS files
Programming makes computers do what you want them to do. JavaScript is easy to learn.
Hypertext Preprocessor (PHP): PHP is a server scripting language, and a powerful tool for
making dynamic and interactive Web pages. PHP is a widely-used, free, and efficient
MYSQL: SQL is a standard language for accessing and manipulating databases. SQL stands
for Structured Query Language, SQL lets you access and manipulate databases, and SQL is
an ANSI (American National Standards Institute) standard. SQL can perform the following
task;
52
4.7.3System Testing
Installation/Setup
Username: admin
Password: admin123
4.7.4System Security
The security design specification is an authentication system that required a valid password to
be input before using the proposed system. Below is a diagram of the Security Design
Specification:
53
Start
Is
Yes No
Login = Valid
?
DISPLAY MAIN
MENU
Stop
[Link] Authentication
[Link] Cryptography
4.7.5 Training
Before the user can use the software, it is necessary to give a thorough training on how to use
the software. It is also important to note that the users of the software are the operators.
Training involves the tutorials, lectures or other methods used to make the users to
understand how to use and maintain the software program. The following steps would help
train and guide the users on how to use the program effectively:
54
a) Follow the instruction as in the software installation above
b) Right click on the Chatbot Application Software and copy to the installed WAMP
server
c) If successful, click on your browser Enter the security password and click on login
d) Enter the main menu, select any of the submenus you want and continue
e) After performing necessary actions on the submenu, exit the program from the browser
close button
4.7.6 Documentation
4.7.7System Conversion
newly designed system is put in place of the old system by the organization after been tested
and documented to prove that it is working. It is a significant milestone after which the
ownership of the system if been officially transferred from the researcher (analyst) and the
The under listed are various system conversion briefly described to enable the
implementation process.
a) Parallel System of Conversion: This takes place simultaneously at the same time, runs
between the old and new system until probably the new system is completely put in
b) Direct System of Conversion: This takes place automatically at a time over a short
period of time. It saves cost, manages time and enhances fast operation but finds to a
55
[Link] Changeover Procedure
This is the process of changing from the former or previous system to the new system. In a
changeover procedure, the organization change from the existing system to new system. This
a) Parallel Changeover: This is the process of running the two systems simultaneously
and comparing their results until the new system proves satisfactory; after which the
b) Direct Changeover: This is the case whereby the new system replaced the old system
immediately after development and when it must have proved successful. This
c) Phased Changeover: In phased changeover method, the system usually starts with one
unit or department of the organization. The advantage is that the organization would
56
CHAPTER FIVE
5.1 Summary
conversation with a user in natural language (human language such as English or French) via
text or speech. Chatbot recognize the user input as well as by using pattern matching, access
comparing, in which the order of the sentence is recognized and a saved response pattern is
acclimatize to the exclusive variables of the sentence. They cannot register and respond to
complex questions, and are unable to perform compound activities. (M. Dahiya, 2017). Over
duration of interactions, chatbots gather enormous data that provides helpful information
about common concerns students face to make significant changes to its operation. Chatbots
provides solution to this problem by providing all the important information they need to get
comfy on campus.
The motivation that led to the implementation of the proposed system is that applicants are
buzzing with a lot of questions and it‘s undoubtedly a busy time for admissions departments
frequently used to fill chat rooms with spam and advertisements, by mimicking human
behaviour and conversations or to entice people into revealing personal information, such as
The methodology adopted in this study is the structured system analysis and design
application or system by applying object throughout the software development process. The
programming language used is HTML, CSS, JAVASCRIPT, PHP, SQL and JQUERY. The
reason why web programming languages was used is because, it is platform independent and
57
it is a web based application. The implementation of this proposed system will be beneficial
to the academic field and the society. Also, it provides a faster response time and provides
round the clock (24/7) support. The expected result is an computerized departmental chatbot
compromising on the quality of interactions, provide an answer to the query of the user
efficiently and effectively and save the time of the user in finding a specific academic task.
5.2 Conclusion
In essence, the research work was successfully researched to meet the objectives set at the
beginning of the project work. While one cannot completely rule out one form of limitation
or the other, it was a success to a greater extent. On the whole, the research has been a
worthwhile exercise. It has afforded the researcher the opportunity to really appraise the
situation on the ground and allow one to bring out areas that might need attention for the
5.3 Recommendation
Based on the findings, the following recommendations are hereby suggested only few across
the counter information were provided for in the research work, it is strongly recommended
58
REFERENCES
Abdul-Kader, S. A., & Woods, J. (2015). Survey on Chatbot Design Techniques in Speech
Abidi, S.A.H., (1991). Information and Communication for development in Africa, Nairobi
AbuShawar B., Atwell E. ALICE Chatbot: Trials and outputs Computación y Sistemas, 19
Maglogiannis I., Iliadis L., Pimenidis E. (eds) Artificial Intelligence Applications and
Adamopoulou, E., & Moussiades, L. (2020, November 9). Chatbots: History, technology, and
Adiwardana, D., Luong, M.-T., So, D. R., Hall, J., Fiedel, N., Thoppilan, R., … Le, Q. V.
[Link]
Allen JF, Perrault CR (1980) Analyzing intentions in dialogs. Artif Intell 15(3):143–178.
doi:10. 1016/0004-3702(80)90042-9
doi:10. 1017/CBO9780511624575
Arsovski S., Muniru I., Cheok A. Analysis of the chatbot open source languages aiml and
59
Arsovski S., Osipyan H., Oladele M.I., Cheok A.D. Automatic knowledge extraction of any
chatbot from conversation Expert Systems with Applications, 137 (2019), pp. 343-
[Link]
Bahdanau et al., 2015. Neural machine translation by jointly learning to align and translate. In
ICLR 2015. San Diego, May 7-9, 2015. San Diego: Bahdanau. pp. 1-15.
Bahdanau et al., 2015. Neural machine translation by jointly learning to align and translate. In
ICLR 2015. San Diego, May 7-9, 2015. San Diego: Bahdanau. pp. 1-15.
Becker, W.E., & Watts, M. (1996). Chalk and talk: A national survey on teaching
Bing, T., Schubert, R, and Siu, C. (2001), Web Information Monitoring for competitive
Bollacker, K., Evans, C., Paritosh, P., Sturge, T., and Taylor, J. (2008). Freebase: a
Bradeško, L., & Mladenić, D. (2012). A survey of chatbot systems through a loebner prize
competition. C, 34.
60
Brownlee J., 2018. When to Use MLP, CNN, and RNN Neural Networks. [ONLINE]
Brownlee J., 2018. When to Use MLP, CNN, and RNN Neural Networks. [ONLINE]
C. Liu et al. ―How NOT To Evaluate Your Dialogue System: An Empirical Study of
08-Understanding-LSTMs/.
C. Welch. Google just gave a stunning demo of Assistant making an actual phone call. 2018.
call-demo-duplex-io-2018.
C.-Y. Lin. ―ROUGE: A Package for Automatic Evaluation of summaries‖. In: Proc. ACL
[Link]
Carletta JC, Isard A, Isard S, Kowtko J, Doherty-Sneddon G, Anderson A (1995) The coding
of dialog structure in a corpus. In: Andernach T, van de Burgt SP, van der Hoeven GF
Carter, Lemuria, and Belanger (2005), The Utilization of e-government services citizen trust,
[Link]
61
Cognitive Computation. [Link]
4.
Følstad, A., Nordheim, C. B., & Bjørkli, C. A. (2018). What Makes Users Trust a Chatbot for
Fundación Telefónica (2018). Sociedad Digital en España 2017 [Digital Society in Spain
Fundación Telefónica (2019). Sociedad Digital en España 2018 [Digital Society in Spain
2018].
Gao, J., Galley, M., & Li, L. (2019, September 10). Neural Approaches to Conversational AI.
[Link]. [Link]
Genç O., 2019. Notes on Artificial Intelligence (AI), Machine Learning (ML) and Deep
Genç O., 2019. Notes on Artificial Intelligence (AI), Machine Learning (ML) and Deep
28(3):245–288. doi:10.1162/089120102760275983
64
Go, E., & Sundar, S. S. (2019, January 29). Humanizing chatbots: The effects of visual,
Behavior. [Link]
Goel, A., Anderson, T., Belknap, J.; Creeden, B.; Hancock, W.; Kumble, M.; Salunke, S.;
Sheneman, B.; Shetty, A. & Wilden, B. (2016). Using Watson for Constructing
Goffe, W.L., & Sosin, K. (2005). Teaching with technology: May you live in interesting
[Link]
Gregori, 2017. Evaluation of Modern Tools for an OMSCS Advisor Chatbot. In Summer
2017. Georgia, 2017. Georgia: Association for Computational Linguistics. pp. 1-7.
Gregori, 2017. Evaluation of Modern Tools for an OMSCS Advisor Chatbot. In Summer
2017. Georgia, 2017. Georgia: Association for Computational Linguistics. pp. 1-7.
methodology for dialog management in spoken dialog systems. Comput Speech Lang
28 (3):743–768. doi:10.1016/[Link].2013.09.002
Griol D, Hurtado LF, Segarra E, Sanchis E (2008) A statistical approach to spoken dialog
doi:10.1016/[Link].2008.04.001
Gupta, S., Borkar, D., Mello, C. D., & Patil, S. (2015). An e-commerce website based
chatbot. 6, 3.
Hahm, Y., Kim, J., An, S., Lee, M., & Choi, K.-S. (2018). Chatbot who wants to learn the
65
Haristiani N. Artificial intelligence (AI) chatbot as language learning medium: An inquiry.
6596/1387/1/012020
Harpreet, S.R. (2002),Transferring data between Heterogeneous databases using the web.
He Y, Young S (2006) Spoken language understanding using the hidden vector state model.
Healthbuddy: a new chatbot to engage with communities in europe and central asia on covid-
19 (2020) [Link]
covid-19/news/news/2020/5/healthbuddy-a-new-chatbot-to-engage-with-
communities-in-europe-and-central-asia-on-covid-19.
Heller B., Procter M., Mah D., Jewell L., Cheung B. Freudbot: An investigation of chatbot
Hien, H.T., Cuong, P.-N., Nam, L.N.H., Nhung, H.L.T.K., Thang, L.D.: Intelligent assistants
Information and Communication Technology, pp. 69–76. ACM, New York (2018)
9(8), 1735–1780.
Holmes, W., Bialik, M., & Fadel, C. (2019). Artificial Intelligence in Education. Boston:
Hori, C., Kiyonori Ohtake, Teruhisa Misu, Hideki Kashioka, & Satoshi Nakamura (2009).
66
Hovy, E. H., Marcus, M. P., Palmer, M., Ramshaw, L. A., and Weischedel, R. (2006).
Hoy M. Alexa, siri, cortana, and more: An introduction to voice assistants Medical Reference
[Link]
Huang, Z., Xu, W., and Yu, K. (2015). Bidirectional LSTM-CRF models for sequence
[Link]
[Link]
J. Weizenbaum. ―ELIZA—a computer program for the study of natural lan- guage
communication between man and machine‖. In: Communications of the ACM 9 (Jan.
67
Klopfenstein, Lorenz Cuno, Saverio Delpriori, Silvia Malatini, and Alessandro Bogliolo.
Kowtko JC, Isard SD, Doherty, GM (1993) Conversational games within dialogue. Human
doi:[Link].5350
Kucherbaev, P., Bozzon, A., Houben, G.-J.: Human-aided bots. IEEE Internet Comput. 22,
Kulkarni , P., Mahabaleshwarkar , A., Kulkarni , M., Sirsikar , N., & Gadgil, K. (2019).
L. Meng and M. Huang. ―Dialogue Intent Classification with Long Short-Term Memory
Huang et al. Cham: Springer International Publishing, 2018, pp. 42– 50. isBn: 978-3-
319-73618-1.
Laudon, K. C., Laudon, J. D., (2002), Management Information Systems, Organization and
technology.
Lee, S.M. and Ssllani, A. (2001), A decision support system for health care services,Hospital
system. In IEEE spoken language technology workshop, Palm Beach, Aruba, 10–13
69
Molnár & Szűts, 2018. The Role of Chatbots in Formal Education. In IEEE 16th International
Symposium on Intelligent Systems and Informatics. Subotica, May 13- 15, 2018.
Molnár & Szűts, 2018. The Role of Chatbots in Formal Education. In IEEE 16th International
Symposium on Intelligent Systems and Informatics. Subotica, May 13- 15, 2018.
Molnár, G., Zoltán, S.: The role of chatbots in formal education. Presented at the 15
September 2018
Naone, E. (2020, April 2). Software That Learns from Users. MIT Technology Review.
[Link]
users/.
Nimavat, K., & Champaneria, T. (2017, July). Chatbots: An overview Types, Architecture,
Nimavat/publication/320307269_Chatbots_An_overview_Types_Architecture_Tools
_and_Future_Possibilities/links/59dcf2fdaca2729031b77acf/Chatbots-An-overview-
Types- [Link].
Nivre, J., de Marneffe, M.-C., Ginter, F., Goldberg, Y., Hajic,ˇ J., Manning, C. D.,
McDonald, R., Petrov, S., Pyysalo, S., Silveira, N., Tsarfaty, R., and Zeman, D.
[Link]
[Link]
industry through deep neural networks. 2018 IEEE 15th international conference on e-
71
business engineering, IEEE, Xi‘an (2018), pp. 54-61. doi:
10.1109/ICEBE.2018.00019
O. Vinyals et al. ―Show and Tell: A Neural Image Caption Generator‖. In: CoRR
Oddi, A., and Cesta, A. (2000), Toward interactive scheduling systems for managing Medical
[Link]
at:
[Link]
with_Artificial_Intelligence_Assistant
Qiu et al., 2017. AliMe Chat: A Sequence to Sequence and Rerank based Chatbot Engine. In
72
APPENDIX A
“SOURCE CODE”
APPENDIX B
“OBJECT PROGRAM”
77