Final Project
Final Project
Project Supervisor
Submitted By
bc210423604
bc180406899
1 | Page
CERTIFICATE
This is to certify that Zara Mahmood Ali (bc210423604), Ahsan Ali Chaudhary
(bc180406899) have worked on and completed their Software Project at Software & Research
Projects Section, Department of Computer Sciences, Virtual University of Pakistan in partial
fulfillment of the requirement for the degree of BS in Computer Sciences under my guidance
and supervision.
In our opinion, it is satisfactory and up to the mark and therefore fulfills the requirements of
BS in Computer Sciences.
Supervisor,
Software Projects & Research Section,
Department of Computer Sciences
Virtual University of Pakistan
___________________
(Signature)
___________________
_____________
2 | Page
EXORDIUM
3 | Page
DEDICATED TO
This project is dedicated to Allah Almighty my creator, my source of wisdom knowledge and
understanding. He has been source of my strength throughout this project.
The endless love, support and trust of my beloved parents without whom I am nothing.
I also dedicate this project to my sisters and brother who always encourage me to make sure
that I give it all it take to finish that which I have started.
4 | Page
ACKNOWLEDGEMENT
Prior to anyone else I owe too much to Almighty Allah who induced the man with intelligence,
knowledge and wisdom, who bestowed upon me the ability to complete this tiresome task
successfully and who is always there to listen me in every critical phase of my life. He who
doesn’t thank to people is not thankful to Allah. Peace and blessing of Allah be upon the
HOLLY PROPHET (P.B.U.H) who exhorted his followers to seek for knowledge from cradle
to grave.
In the light of above saying of HOLY PROPHET (P.B.U.H). I feel like to express my heartiest
and sincere gratitude to my respected and honorable project supervisor Ms. Nelam Alam
lecturer of computer science in Virtual University, Lahore whose keen interest and
encouragement has been a source of great help throughout this project. Who despite her busiest
tiring routine work provided her guidance and valuable suggestion throughout project efforts.
I feel highly privilege to express my sincere gratitude and my deep sense of indebtedness to
my sweet, affectionate, graceful and beloved Parents because without their prayer, friendship,
love, encouragement and interest, I was not able to complete this project.
I found no words to express my cordial thanks to my beloved Sisters and Brother who always
wish to see me flying high above the skies of success.
I am truly very thankful to my Project Member who helped me in every phase and step of
project.
5 | Page
PREFACE
The modern era of technology has a tremendous impact on society. With the creation of
ultimate virtual assistants, chatbot have become a popular entity in the conversational service.
Chatbot are becoming ubiquitous trends in my fields such as medicine, product, service
industry and education.
Chatbot’s are computer program design to stimulate conversation with human user especially
over the internet.
Some chatbot’s are prewritten scripts and response to answer/question and provide information
to user while other use artificial intelligence (AI) and machine learning algorithms to generate
response based on the input they receive.
One common approach to creating chatbot is to use natural language processing (NLP) system
to understand and interrupt the user input, and then generate a response based on that input.
This can be done using a rule-based system, where the chatbots follows a set of predetermined
rules to respond to user input or using machine learning based system, where the chatbot is
trained on a dataset of example conversation and learns to generate responds based on pattern
and relationship in data.
6 | Page
TABLE OF CONTENTS
CHAPTER NO. 1
GATHERING & ANALYZING INFO……………………………………………….9-14
1.1 INTRODUCTION……………………………………………………….10
1.2 PURPOSE………………………………………………………………10
1.3 SCOPE…………………………………………………………………10
7 | Page
CHAPTER NO. 2
2.1 INTRODUCTION………………………………………………………………32
2.2 PURPOSE……………………………………………………………………...32
2.3 SCOPE………………………………………………………………………...32
CHAPTER NO.3
DEVELOPMENT ............................................................................................................53
8 | Page
CHAPTER Gathering
1 And
Analyzing
Information
9 | Page
The project was focus on developing educational chatbot. It is use in online education system.
Students need answers related to their queries about programming courses urgently. Studies
have indicated that human-like Chatbot’s lead to greater satisfaction and trust among
customers, leading to greater adoption of the chatbot.
Educational chatbots are software programmers that replicate human conversation and provide
automated educational help to students and educators by utilizing artificial intelligence (AI)
and natural language processing (NLP) technology. These chatbots are programmed to
interpret the user’s questions and react with relevant and useful information. Educational
chatbots can be used to answer inquiries, provide study tools, provide feedback, and even
provide personalized coaching. They provide a more interesting and interactive learning
environment for students and can help educators save time by automating repetitive processes.
Education chatbots are conversational bots used by EdTech companies, universities, schools
or any educational institute. They are virtual assistants that help teach students, evaluate papers,
get student and alumni data, update curriculums and coordinate admission processes.
World is changing day by day. Also the education system has undergone a lot of changes by
the use of information and communication technology. ICT gives equal opportunity to
everyone to play his/her role to achieve global goals. Artificial intelligence has provided the
way to operate education system. It has shifted the level of knowledge acquisition towards
knowledge creation. (UNESCO, 2011) Artificial intelligence has made marked changes in
education system. By using chatbot system, it supports teaching learning activities (Okonkwo
& Ade-Ibijola, 2020). By using different tools of Chatbot system, Teachers become able to
execute teaching process through classroom as well as online platform.
In education system, information is collected and transferred by using different tools of chatbot.
Students have opportunity to get desire results by uploading their relevant detail and data. By
using similar method, teachers may also share important information with students. A lot
research has been done on the benefits of using tools of chatbot in the education system. It is
used not only to answer the questions of students but also help them to understand the concept
of computer programming. It accesses the abilities of students.
Needs
Chatbot’s are the software programmers that respond messages by choosing correct expression
from a pre-programmed scheme. Some bots have the ability to run automatically, while some
perform commands when they receive relevant input (Colace et al., 2018). Thus, chatbots have
evolved over time and now some chatbots can include features like recognition and oral
expression, detection of emotional state to communicate with a person (ZEMCIK, 2019;
Gracia, Fuertes and Molas, 2018). The advantage of using chatbots in education is that they
can be made available 24 X 7 and have qualities like persistence, honest, reactive and friendly.
10 | P a g e
Objectives
Chatbots can support students in finding course details quickly by connecting them to key
information. This can lighten the load for instructional faculty, as the chatbot can serve as the
first line of communication regarding assignment details, homework resources, due dates etc.
Education Chatbot are conversational bots. Therefore Ed Tech companies, schools, universities
or any educational institute use them. They are virtual subordinates that help in many ways
such as to teach students, evaluate papers, get student and alumni data, update curriculums and
coordinate admission processes.
Goals
Business efficiency is improved by using Chatbot because it perform routine support task
automatically. It can save businesses as much as 30% on their customer support costs. It can
convert rejected cart transactions into sales and generate revenue. Through automation, it
supports customers.
1. It provides structured and up-to-date information in studies and their application areas.
2. It brings the advantages of using Chatbot systems for educational purposes
3. It recognizes the major challenges associated with the use of Chatbot systems in education.
4. It will aid in the identification of some important areas of education that require further
investigation to advance the educational system.
The aim of using chatbots in education is not to replace the teacher but to reduce the burden of
repetitive and low cognitive level tasks carried out by the teacher and thus increase her/his
efficiency. Chatbots can also engaged students in classroom activities by providing them with
interactive quizzes. Students can also ask take the help of chatbots to access information that
is difficult to find in a Learning Management System (LMS) environment at any time and
place.
Chatbots can also be useful in hybrid courses that mix face-to-face classroom experiences with
student self-directed learning online. In class, AI based chatbot applications can also take
attendance and perform other administrative functions. Some institutions have begun to use AI
to help grade tests and even assess some student work (Artificial Intelligence and Chatbots in
Higher Education, 2020)
Phases of chatbot
1) Menu/button-based chatbots
2) Linguistic Based (Rule-Based Chatbots)
3) Keyword recognition-based chatbots
4) Machine Learning chatbots
5) The hybrid model
6) Voice bots
Task of chatbot
11 | P a g e
Administrative companion
Proactive assistance
Feedback collection
Assessment and evaluation
Data repository
Student sentiment analysis
Chatbot Resource
Help center
API and developer
Blogger’s
User-friendliness
Speed
Support for languages
Compatibility with channels such as WhatsApp, Facebook Messenger, Slack, etc.
Back-end integrations such as CRM solutions, Google Calendar for extended usability.
Analytics and feedback provision
1) Audience
2) Goal
3) Performance
4) Key Intents
5) Storytelling
6) Platform Strengths
7) Feedback
12 | P a g e
The kind of internal processes you want the bot to handle
The complexity of data analysis with AI
ACRONYMS
Bots
ID
Opt
API
CRM
NLP
Abbreviation
SRS
Ed Tech
LMS
VU
ICT
DIY
UNESCO
FIFO
Definition
SRS
A software requirement specification (SRS) is a document that describe what the software will
do and how it will be expected to perform. It also describe the functionality the products needs
to fulfill the needs of all stakeholders.
API
An Application Programming Interface (API) is a way for two or more computer programs to
communicate with each other. It is a type of software interface, offering a service to other piece
of software.
CRM
Customer Relationship Management (CRM) is a set of integrated, data-driven software
solution that help manage, track and store information related to your company’s current and
potential customers.
ED Tech
Educational Technology (Ed Tech) is the combined used of computer hardware, software and
educational theory to practice and facilitate learning.
13 | P a g e
LMS
Learning Management System (LMS) is a software application for the administration,
documentation, tracking, reporting, automation and delivery of the educational courses,
training programs, materials and development programs.
ICT
Information and Communication Technologies (ICTs) is a broader term of information
technology (IT) which refers to all communication technologies, including the internet,
wireless network, cellphone, computer, software, middleware, video-conferencing, social
networking and other media application service.
UNESCO
The United Nations Educational, Scientific and Cultural Organization (UNESCO) is a
specialized agency of the United Nations aimed at promoting world peace and security through
international cooperation in education, arts, science and culture.
FIFO
First In First Out (FIFO) is an accounting method used in managing inventory and finical
matters involving the amount of money a company has to have tied within inventory produced
goods, raw materials, parts or components.
NLP
Natural Language Processing (NLP) is the ability of a computer program to understand human
language as it is spoken and written. It is a component of artificial intelligence (AI).
14 | P a g e
Functional Requirements:
1. Register
The system will allow administrator to register/add/remove the user.
2. Chabot Interface
The system will allow administrator to create chatbot interface.
3. User Role
The system will allow user to play different roles such as post a message and discuss on
something.
4. Chatbot Role
The system will allow chatbot to play different roles. The main role of chatbot is providing
information to user.
5. User login
The system will allow user to login to the interface.
6. Customize Chatbot
The system will allow the administrator to customize the chatbot interface.
9. Mange tickets
The chatbot allow administrator to manage live tickets.
14. Logout
The user will be able to logout from the interface.
15 | P a g e
Non-functional requirement
1. Performance
2. Usability
3. Accessibility
4. Availability
5. Efficiency
6. User friendly display
7. Reliability
8. Maintainability
9. Security
Performance
How fast does the system return results?
Usability
It refers to how easy is it for a customer to use the system?
Usability is a quality attribute that assesses how easy user interfaces are to use. The word
"usability" also refers to methods for improving ease-of-use during the design process
Accessibility:
Accessibility can be viewed as the "ability to access”. This software should have a reliable
access method.
Availability
Availability refers to the percentage of time that the infrastructure, system, or solution remains
operational under normal circumstances in order to serve its intended purpose.
Efficiency:
This application will be very efficient. It use advance tools and technique to share or get
information
User friendly display:
In this application, the atmosphere will be user friendly. The students can access his account
very easily. They ask queries about their related topics.
Reliability:
In this application, reliability will also be taken into consideration. Reliability specifies how
likely the system or its element would run without a failure for a given period of time under
predefined conditions.
For example
If a student with wrong password can want to get access, it will not permit to access his account.
Maintainability
Maintainability defines the time required for a solution or its component to be fixed, changed
to increase performance or other qualities, or adapted to a changing
16 | P a g e
Security
Security is a non-functional requirement assuring all data inside the system or its part will be
protected against malware attacks or unauthorized access.
17 | P a g e
Chatbot interface <<extend>> building of chatbot
Register
Chatbot selection/creation
<<extend>>
Create ticket
Reply to ticket
Customer
<<include>>
<<extend>>
extended Asking queries
Forward message
Forward responce
Chatbot API
Logout
18 | P a g e
Usage Scenario 1
Use Case Title Chatbot interface
Use Case Id CSIT-01
Requirement Id 1
Description: This use case is about creating a new interface for users. User can ask queries
about educational and business issues.
Pre-Conditions:
1. Admin add correct login ID.
Task Sequence Exceptions
1. Administrator opts to add a new user account. Cancel/remove
account of users.
2. System asks for necessary information. Create error if
information is un-
valid.
3. Administrator provides all the required information and opts to
complete the operation.
4. There is a problem in the data provided; some data needs to be Create error if login
corrected. ID or password is
Administrator checks the available information and incorrect.
corrects the error.
Administrator continues from the step 3.
5. System after confirmation adds the new account.
6. System sends the account creation email to the administrator’s
email id and user’s email address.
Post Conditions:
A new user account is successfully created.
Unresolved issues:
Authority: Administrator
Modification history: 1.0
Author: bc210423604
Usage scenario 2
Use Case Title Register
Use Case Id CSIT-02
Requirement Id 2
Description: This use case is about register the users on interface.
Pre-Conditions:
1. The user send request to admin for issue of registration form.
Task Sequence Exceptions
1. Administrator opts to add a new user account. Accept/reject
registration forum
of users.
2. System asks for necessary information. Create error if
information is un-
valid.
19 | P a g e
3. Administrator provides all the required information and opts to If information
complete the operation. provided by user
doesn’t verify then
system doesn’t
register the user.
4. There is a problem in the data provided; some data needs to be If user doesn’t
corrected. provide password
Administrator checks the available information and or if both password
corrects the error. are incorrect,
Administrator continues from the step 3. system will
respond to retype
password.
5. System after confirmation adds the new account.
6. System sends the account creation email to the administrator’s
email id and user’s email address.
Post Conditions:
System registers the user and saves its information in database.
Unresolved issues:
Authority: Administrator
Modification history: 1.0
Author: bc21042360
Usage scenario 3
20 | P a g e
User has successfully login in the system
Unresolved issues:
Authority: User
Modification history: 1.0
Author: bc210423604
Usage scenario 4
Use Case Title Customize Chatbot
Use Case Id CSIT-04
Requirement Id 4
Description: This use case is about change or alters the interface according to individual
specification.
Pre-Conditions:
The admin reboot/restart the system to make advancement.
Task Sequence Exceptions
1. Administrator opts to add new features in interface.
2. System asks for necessary information.
3. Administrator provides all the required information and opts to The system will
complete the operation. generate exception
if data/code is
incorrect or already
present in it.
4. There is a problem in the data provided; some data needs to be
corrected.
Administrator checks the available information and
corrects the error.
Administrator continues from the step 3.
5. System after confirmation adds new features.
Post Conditions:
The admin install new features in interface.
Unresolved issues:
Authority: Administrator
Modification history: 1.0
Author: bc210423604
Usage scenario 5
Use Case Title Access to chatbot setting
Use Case Id CSIT-05
Requirement Id 5
Description: The admin will be able to access the setting of interface anytime.
Pre-Conditions:
The admin will be able to access chatbot setting.
Task Sequence Exceptions
1. Administrator opts to change account.
21 | P a g e
2. System asks for necessary information. Create error if
information is not
true.
3. Administrator provides all the required information and opts to
complete the operation.
4. There is a problem in the data provided; some data needs to be
corrected.
Administrator checks the available information and
corrects the error.
Administrator continues from the step 3.
5. System after confirmation changes the setting.
Post Conditions:
The setting of interface change according to the user needs and requirements.
Unresolved issues:
Authority: Administrator
Modification history: 1.0
Author: bc210423604
Usage scenario 6
Use Case Title Create/compose ticket
Use Case Id CSIT-06
Requirement Id 6
Description: This use case is about to compose ticket.
Pre-Conditions:
The users go in the setting and click on compose button to compose ticket.
The users add his/her ID.
The users add the address of admin.
Task Sequence Exceptions
1. The users go to the setting to compose ticket.
2. The users click on compose button to compose ticket.
3. The users add his/her ID.
4. The users type question to be asked in rectangular box. Ignore invalid
question
5. The users add the address of admin and send it. If address is not
true it is not receive
by admin.
Post Conditions:
The user check the status whether the ticket is receive or not.
The user check the whether the ticket is answered or pending.
Unresolved issues:
Authority: User
Modification history: 1.0
Author: bc210423604
22 | P a g e
Usage scenario 7
Use Case Title Reply to ticket
Use Case Id CSIT-07
Requirement Id 7
Description: The admin give answer/response to user queries.
Pre-Conditions:
The user creates the ticket.
Task Sequence Exceptions
1. Administrator opts to receive ticket.
2. System asks for necessary information.
3. The queries receive in FIFO method.
4. There is a problem in the data provided; some data needs to be Not answer the
corrected. irrelevant query.
5. Admin answer the query and send response to user.
Post Conditions:
The users get response/answer of his/her query.
Unresolved issues:
Authority: Administrator
Modification history: 1.0
Author: bc210423604
Usage scenario 8
Use Case Title Asking queries
Use Case Id CSIT-08
Requirement Id 8
Description: This use case is about to ask queries.
Pre-Conditions:
The query should be valid.
The query should be related to topic.
Task Sequence Exceptions
1. The user read the data carefully.
2. If user found some problem in data then he/she ask query. The admin remove
the user if he/she
ask for invalid
information.
3. For asking queries user should compose ticket.
Post Conditions:
The users get the response of query.
Unresolved issues:
Authority: User
Modification history: 1.0
Author: bc210423604
23 | P a g e
Usage scenario 9
Use Case Title Forward the message
Use Case Id CSIT-09
Requirement Id 9
Description: This use case allows Chatbot API to forward the message.
Pre-Conditions:
The chatbot API receive the message from user.
Task Sequence Exceptions
1. The chatbot API receive the message from user.
2. The chatbot API forward the message to admin for further Error in database
processing.
Post Conditions:
The chatbot receive the response of message from admin.
Unresolved issues:
Authority: Chatbot API
Modification history: 1.0
Author: bc21042360
Usage scenario 10
Use Case Title Forward the response
Use Case Id CSIT-10
Requirement Id 10
Description: This use case allows chatbot API to forward the response to user.
Pre-Conditions:
The answer should have all information that asks in query.
The answer should be easily understood by user.
Task Sequence Exceptions
1. The admin send answer to chatbot API.
2. The chatbot API forward the message/response to user.
3. User read the answer and understands it. If user doesn’t
satisfy with answer
then he/she again
asks the same
question.
Post Conditions:
The user check the answer whether his/her confusion about query is solved or not.
Unresolved issues:
Authority: Chatbot API
Modification history: 1.0
Author: bc210423604
24 | P a g e
Usage scenario 11
Use Case Title Logout
Use Case Id CSIT-11
Requirement Id 11
Description: This use case provides a logout, by this customer logout on website/interface.
Pre-Conditions:
Customer has to request the system for logout by clicking on logout.
Task Sequence Exceptions
1. Student click at logout button in the system interface. System verifies the
status of user.
Post Conditions:
If user in payment status or data losable status show error message to user.
Unresolved issues:
Authority: Administrator
Modification history: 1.0
Author: bc210423604
25 | P a g e
Methodologies:
The software development life cycle is a process of organize information system and
methodologies that people use to develop these system.
Methodology is generally a protocol for solving a problem, with specific components such as
phases, task, method, technique and tools.
Existing Methodologies
There are a number of methodologies that are used in today’s computer life according to the
project. The existing methodologies are given below.
Waterfall Model
The waterfall model provides a precise sequence of development steps and help to ensure the
competency of documentation and design reviews to ensure the accuracy, quality and
maintainability of development software.
The waterfall model is a documentation-driven model. It therefore creates complete and far-
reaching documentation and hence makes the maintenance task much easier.
Advantages:
It is a linear model and therefore it is easy to implement.
Waterfall model provides a template into which methods for analysis, design, coding,
testing and support can be placed.
It remains a widely used procedural model for software engineering.
Least amount of resources is required to implement this model.
Production of documentation at every stage of this model is advantageous.
Disadvantages
26 | P a g e
Rapid Application Development Model:
It is a high speed adaptation of the linear sequential model in which fully functional system in
a very short time (2-3 months). This model is only applicable in the projects where
requirements are well understood and project scope is constrained. Because of this reason it is
used primarily for information system.
Spiral Model
The main focus of this model is to avoid risk as there is always an element of risk in
development of software. In its simplified form, the Spiral Model is Waterfall Model plus risk
analysis.
In every stage, firstly alternatives are identifies. Then we identify risk and do risk analysis. The
next step is evaluation and planning. If we are unable to solve the risk, then our project is
terminated.
Advantages
Risk managing features.
Reflects real world practice.
Systematics approach
Estimate budget and schedule.
Client satisfaction.
Quality result.
Disadvantages
Requires expertise in risk evaluation and reduction.
Complex
Relatively difficult to follow strictly.
Applicable only for large system.
High customized limiting re-usability.
Applied differently for each application.
Risk of not meeting budget or schedule.
27 | P a g e
Figure 4: Spiral Model
Incremental model:
Incremental model is a process of software development where demands are divided into
multiple separate modules of software development cycle. In this model, each module goes
through the requirements, design, implementation and testing phases. Every following release
of the module adds function to the previous release. The process continues until the complete
system achieved.
Advantages
Generate working software quickly.
More flexible
Less costly to change scope.
Easier to manage risk because risky pieces are identified and handled during its
iteration.
Iteration is easily managed milestone.
Disadvantages
28 | P a g e
Adopted Methodology:
I have studied all the methodologies then I choose the virtual university model from the
project. Universities also guide us that you must use virtual university model for project and
this model fulfill the project requirements.
SRS
Design phase
Test phase 1
Test phase 2
Development
Final Report
29 | P a g e
GANT CHART
Dec 2022 Jan 2023 Feb 2023 Mar 2023 Apr 2023
ID Task Name Start Finish Duration
12/25 1/1 1/8 1/15 1/22 1/29 2/5 2/12 2/19 2/26 3/5 3/12 3/19 3/26 4/2 4/9 4/16
30 | P a g e
CHAPTER DESIGNING
2 THE
PROJECT
31 | P a g e
The current document contains Entity relationship Diagram (ERD), Sequence Diagram, Class
Diagram, Architecture Design, Database Design, Interface Design and Test cases.
The purpose of the Design Phase is to modify the requirements into complete and detailed
design specifications to determine how product will made. Once the design is approved, the
Development Team begins the Development Phase.
Project scope is a way to set boundaries on your project and define exactly what goals,
deadlines and project deliverable you will be working towards. By clarifying your project
scope, you can ensure you hit your project goals and objective without delay or overwork.
32 | P a g e
Acronyms
NLU
INFO
API
ID
e.g
IT
Abbreviation
ERD
RASA
Definition
API
An Application Programming Interface (API) is a way for two or more computer programs to
communicate with each other. It is a type of software interface, offering a service to other piece
of software.
ERD
Entity Relationship Diagram (ERD) is a graphical representation that describe the relationship
among people, objects, places or events within an information technology (IT) system.
RASA
RASA is a tool to build custom AI chatbots using python and natural language understanding.
NLU
Natural Language Understanding (NLU) is a branch of artificial intelligence that use computer
software to understand input in the form of sentence using text or speech.
33 | P a g e
An entity relationship diagram (ERD), is a graphical representation that build connection
among people, objects, places, concept or events within an information technology (IT)
system.
It enables the engineers to identify the defects in designs and model of new database before
their production has started.
First name Sur name Layout Working
login ID Series
1 1
Admin modify Interface
Address 1 Language
1 1
Email ID
M Chatbot
setting Time zone
create
24*7
Avalability city
Multilingual
phone no address
Instance
responce
user ID
omni M M
channel
M M
Chatbot has User registration no
personalize M
interaction M M
user name
Data
security Easy live
date of
chat M registration
Response
Accept M
dataa
create
Ticket ID
Forward
Ticket no
Drop data ask
M
forward Ticket
Ticket
Authentication
address
M Perform
calculation
Data Add data
format
1 M
Change
1 M data
Error handling
Chatbot API reply Queries
Delete data
Troubleshooting
34 | P a g e
A sequence diagram is a type of interaction diagram because it show how and in what order a
group of objects works together.
These diagrams enable software developers and business professionals to understand needs for
new system or to report an existing system. Sequence diagram are sometimes known as event
diagram and event scenario.
A. Register User
Chatbot
Admin API Database
Register user
Create account
Okay
B. Admin/User login
Admin/ Chatbot
user API Database
login to account
sign up
Okay
login to account sucessfully
35 | P a g e
C. Create Chatbot
Chatbot
Admin API Database
Create Chatbot
create chatbot
Okay
D. Update/Modify interface
Chatbot
Admin API Database
Update/modify interface
modify interface
Okay
36 | P a g e
E. Handle Chatbot setting
Chatbot
Admin API Database
Handle/access chatbot
setting
Manage setting
Okay
Manage setting
sucessfully
F. Create ticket
Ticikting Chatbot
User system API Database
Create ticket
37 | P a g e
G. Update interface
Chatbot
Admin API Database Update UI
Click on update
database Get all items
Show result
Set filters
Save updation
Update part ID
Save to database
Interface update
sucessfully
H. Ask query
Chatbot
User API Database
Send request
process request
Ask query
Retrive information
Send information
loop
Display response [parameters]
38 | P a g e
I. Reply ticket
Chatbot
Admin API Database
Insert (Date, from, to)
Check the information
Insert student ID
J. Forward response
Chatbot
User API Database
Request for data
Forward request
Forward response
39 | P a g e
K. Logout
Admin/
Chatbot API Database
User
Logout to account
Sign out
Okay
Logout sucessfully
40 | P a g e
Architectural design is a discipline that focus on covering and meeting the needs and demands,
to create living spaces, using certain tools and especially creativity. Therefore, the aim is to
combine the technological and the aesthetic, despite the general belief that architecture is only
a technological task.
Database
Server
User External system
Dialogue Chatbot API information
mangement Pass message
Website Forward message
RASA NLU Forward response Core
Interaction system
recording Info
Analytics
Machine learning
41 | P a g e
It is a type of static structure diagram that represent the structure of a system by showing the
system classes, their features, operations (or methods) and the relationship among objects.
Create Ticket
Admin
+ticket_ID:int
-Admin_ID:int
+ticket_Description:string User Update interface
+Admin_Name:String
+ticket_type:string
+User_name:string -Password:String
+ticket_date:date
-User_ID:string #First_name:string
+add_ticket() #Last_name:string +Retrive_info(string); void
+edit_ticket() -Password:string +set_info: String
#First_name:string +Email_ID:String
+delete_ticket() -Phone_no:String Dependency +set_info:integer
+search_ticket() #Last_name:string +get_info():void
+profile_name:string +Status:String
+Call_Function(boolean,Long):bo
+email_ID:string +Create_Account();
olean
-Phone_no:String +search(User_name); void
+provide_service#10:string
+create_account(); +Manage_User();
+provide_service#20:integer
+Login(username,password):void +Create_Group();
+provide_service#30:Float
+Chat(); +Manage_Operation();
Ask Query
+get_activelist(); +Block_User(user_name): void
+question_ID:char +search(string):void -Delete_account();
+Title:string +Logout();
+Type_message:int
+Type_file:int
+Type_ack:int
+content:string
/time:sysdate
Handle setting
+get_type():int
+set_type():int
+display():Abstract +view_profile();
+set_notification();
Chatbot API +Update_image();
+version:integer +privacy();
-change_privacy();
+verification();
+help();
+Data_format();
+change_password();
+Error_handling();
+change_number();
+Troubleshotting();
+update_status();
....notify when new notification
receive
....notify when security threats
present
....notify when new message
Forward response Reply ticket received
+ID:int +ticket_ID:int
+mark:integer +ticket_description:string
+message:char(255) +ticket_type:string
+send_response(); +ticket_date:date
+give_response();
+forward_response():
42 | P a g e
Database design can be define as a collection of tasks or process that upgrade the designing,
development, implementation and maintenance of enterprise data management system.
Designing a proper database decrease the maintenance cost there by improving data flexibility
and the profitable measure are greatly influenced in terms of disk storage space.
Gender User
PK User ID
FK Phone no
Response
Chatboot User name
PK Accept Data
PK Multilingual Registration no
Reject/Drop Address
24*7 avaliability
Forward Date of registration
instance response
May be
Omni channel
Personalized
interaction
Ticket no Perform
PK
calculation
FK Ticket address
Chatbot API add data
Error handling
Troubleshooting
43 | P a g e
User interface design is a process that designers use to build interface in software or
computerized devices, focusing on looks and style. Designer’s aims to create interface which
user find convenient and pleasurable. It refers to graphical user interface and other forms e.g.
voice-controlled interface.
a) Register to account
Register Sign in
OR
Password
Stay sign in
Sign in
Forgot password?
Forgot username or email?
Reopen your account?
44 | P a g e
b) Profile
Basic information
Full name:
Email:
Password:
Phone no:
Sign up
c) Response
Response
Bot response
Image Text
Custom attribute
algorithm
User data
Name
Language
Time zone
Gender
City
45 | P a g e
d) Edit profile
First name:
Last name:
Phone no:
Email address:
Password:
Confirm password:
Keep me sign in
46 | P a g e
e) Chat box
We are online
47 | P a g e
f) Tools
Hey Sofia
Simply type your request and select from below
48 | P a g e
A test case is a document, which has a set of test data, preconditions, expected result and post
condition developed for a particular test scenario in order to verify compliance against a
specific requirement.
49 | P a g e
Test case#4: Update interface
50 | P a g e
Test case#7: Ask query
51 | P a g e
Test case#10: Logout
52 | P a g e
DEVELOPMET
CHAPTER
PLAN
3
(Architecture
Diagram)
53 | P a g e
Database
Server
User External system
Dialogue Chatbot API information
mangement Pass message
Website Forward message
RASA NLU Forward response Core
Interaction system
recording Info
Analytics
Machine learning
54 | P a g e
REFERENCES
Artificial Intelligence and Chatbots in Higher Education. (February, 2020). Retrieved from
http://www.oracle.com/us/ industries/education-and-research/he-artificial-intelligencebr-
5180773.pdf
Colace, F., at. al. (2018). Chatbot for e-learning: A case of study. International Journal of
Mechanical Engineering and Robotics Research, 7(5), 528-533
Garcia Brustenga, G., Fuertes-Alpiste, M., Molas-Castells, N. (2018). Briefing paper:
chatbots in education. Barcelona: eLearn Center. Universitat Oberta de Catalunya.,
https://doi. org/10.7238/elc.chatbots.
https://rasa.com/docs/rasa/nlu-training-data/
https://www.python.org/
https://www.tensorflow.org/
Okonkwo, C. W., & Ade-Ibijola, A. (2020). Python-bot: A chatbot for teaching python
programming. Engineering Letters, 29(1).
United Nations Educational, Scientific and Cultural Organization (UNESCO). (2011).
UNESCO ICT competency framework for teachers.
Zemcik, M. T. (2019). A brief history of chatbots. DEStech Transactions on Computer
Science and Engineering, (aicae). https: //doi. org/10. 12783/dtcse/aicae 2019/31439
55 | P a g e