Proposal
Proposal
Graduation project
Admission Enquiry Chat-Bot
Prepare by :
Elaf Dafallah Abdalla
Zakiay Hassan Abdalla Eissa
Supervisor :
Intissar
Date :
1
Abstract
2
Table of content
Abstract....................................................................................................................................................................2
Chapter 1: Introduction..................................................................................................................................................5
1.1 Context...............................................................................................................................................................5
1.4 Achievements.....................................................................................................................................................7
1.4 Methodology.....................................................................................................................................................8
1.6 Contributions.....................................................................................................................................................8
2.4 Development of Chatbot-Provided Registration Information Services for Distance Learning Students:......11
3.1 Introduction.....................................................................................................................................................16
3
4.4 Designing and Integrating the User Interface with Rasa.................................................................................28
4
Chapter 1: Introduction
1.1 Context
The process of university admissions is often complex and time-consuming for both
prospective students and administrative staff. With the increasing number of applicants,
universities face significant challenges in managing inquiries related to application forms,
eligibility, deadlines, scholarships, and program details. Traditional communication
channels, such as phone calls and emails, tend to overload the admissions offices,
resulting in delayed responses and administrative inefficiency.
In recent years, advancements in artificial intelligence (AI) and natural language processing
(NLP) have provided innovative solutions to automate such processes. Chatbots, powered
by AI, have been widely adopted in various sectors, including customer service,
healthcare, and education, to enhance user experience and operational efficiency. In the
context of higher education, AI-powered chatbots are particularly useful in automating
responses to routine admission inquiries. This research focuses on developing an
Admission Enquiry Chatbot, which is designed to automate the university admission
process, providing prospective students with quick and accurate responses to their
inquiries, thereby easing the workload on administrative staff.
confusion. Students are often left uncertain about where they stand in the admission
process, especially when response times are lengthy.
5
Additionally, limited accessibility is a significant issue. Universities generally operate
within standard working hours, making it difficult for students in different time zones or
those with busy schedules to access the information they need. This lack of timely access
to essential admission details could lead to students missing deadlines or missing out on
critical information.
The chatbot aims to solve these problems by offering an instantaneous, 24/7 response
system. It will handle the repetitive questions, offer real-time assistance, and ensure that
students receive accurate and timely information, anytime, anywhere. Furthermore, the
chatbot can personalize interactions, making the process more relevant to each
applicant's needs, whether it's guiding them through the application process or providing
detailed answers based on their academic interests.
6
By achieving these objectives, the chatbot will aim to enhance the accessibility and
efficiency of the admission process, enabling 24/7 assistance for prospective students and
reducing the administrative burden on university staff.
1.4 Achievements
As part of this project, a working prototype of the Admission Enquiry Chatbot has been
developed, which is capable of answering basic queries related to university admissions.
The chatbot has been designed using the Rasa framework, which facilitates the
implementation of Natural Language Understanding (NLU) and dialogue management. Key
achievements of this research include:
Chatbot Development: The chatbot successfully processes text-based queries,
interprets user intent, and provides automated responses based on the information
stored in the database.
Database Integration: A MySQL database has been implemented to store
admission-related data, such as deadlines, eligibility criteria, and program
information, enabling the chatbot to provide accurate and up-to-date responses.
User Interface: A web-based interface has been developed, allowing students to
interact with the chatbot in a simple and efficient manner.
User Testing: Initial user testing has been conducted with a group of prospective
students, gathering feedback on the chatbot’s usability, accuracy, and response
time. This feedback will be used to improve the chatbot in subsequent development
phases.
These accomplishments have paved the way for further refinement and deployment of
the chatbot, ultimately contributing to the improvement of the university’s admissions
process.
This iterative development process, along with regular testing and feedback, ensured that
the chatbot evolved in line with the project’s objectives and user requirements.
1.4 Methodology
The design and development of the system followed the agile model as described below.
7
Figure 1.1 aglie model
Agile model in the project Chatbot for expertise inquiries to better participate in the
development of the system via short sprints. Allows continuous subscriptions from users,
enabling the activation of the system. Continuous engagement with student jobs allows
for quick modification of tasks on their items, increasing and ensuring that actual value is
delivered with all releases.
1.6 Contributions
This research contributes to the field of artificial intelligence in education by
demonstrating the practical application of AI-driven chatbots in the university admission
process. The primary contributions of this project include:
Development of an AI-powered Chatbot: The creation of a functional and scalable
Admission Enquiry Chatbot that can assist prospective students with routine
inquiries, improving the efficiency of the admission process.
8
Integration of NLP and Machine Learning: The integration of Natural Language
Processing (NLP) and machine learning models to enhance the chatbot’s ability to
understand and respond to diverse student queries.
Evaluation of Effectiveness: Through user testing and feedback, the project
evaluates the chatbot's effectiveness in automating admission inquiries, providing
valuable insights into the benefits and challenges of AI applications in education.
Improvement of Student Experience: The chatbot contributes to enhancing the
overall student experience by providing 24/7 access to admission-related
information, reducing response times, and ensuring that students receive timely
and accurate responses.
9
websites, messaging applications, and social media platforms. Built on artificial
intelligence technology, chatbots can simulate and process human conversation, enabling
them to interact with people in a manner that feels considerably natural.
Chatbots can be programmed to respond in different ways. Some are set up to respond to
specific inputs with pre-defined responses, while others use machine learning algorithms
to adapt their responses to fit the situation. The latter type, also known as AI chatbots, can
learn from past interactions to improve their accuracy over time. Chatbots are widely used
in various industries for tasks such as customer service, ordering products, or providing
information
“Chatbots are computer programs that interact with users using natural languages”
User: How many lecturers are there in the department of computer science?
Chatbot: I am sorry but I don't know the answer. Perhaps you can help me learn
User: There are 28 lecturers at the department
Chatbot: Is this the correct answer?
User: Yes
Chatbot: Thank you for helping
10
User: How many lecturers are there in the department of computer science?
Chatbot: There are 28 lecturers at the department
13
4. Data analysis.
Findings
Key findings included:
Identification of privacy and transparency concerns.
Ethical guidelines for responsible chatbot deployment.
Proposed accountability mechanisms for educational institutions.
Comparative Analysis
Focus Comparison
Studies 1, 3, and 4 prioritize delivering accurate information to students.
Study 2 focuses on ethical considerations of chatbot use.
Methodological Comparison
14
Study 1 and 4 emphasize iterative improvement, while Study 2 employs qualitative
approaches.
All studies address user-centered design, though Study 2 uniquely highlights ethics.
Impact Comparison
All studies aim to enhance student satisfaction and institutional efficiency.
Study 2 uniquely emphasizes ethical responsibility.
Conclusion
These studies demonstrate the transformative potential of chatbots in higher education.
They highlight benefits such as improved efficiency, better student experience, and
operational cost reduction. However, ethical considerations like privacy and fairness
remain critical. Institutions must prioritize user feedback, data security, and iterative
refinement to fully harness the potential of chatbot technology.
3.1 Introduction
This chapter provides a comprehensive analysis and design of the Admission Enquiry
Chatbot project. It highlights the system requirements, architecture, and detailed design
considerations to ensure the efficient operation of the chatbot. The project aims to
simplify admission-related inquiries for the College of Computer Science at Sudan
University of Science and Technology by creating an interactive and user-friendly platform.
15
1. The chatbot should understand and process user queries written in Arabic,
focusing on questions related to admission processes, deadlines, fees, and
required documents.
2. It should be capable of identifying the intent (e.g., "What are the admission
deadlines?") and extracting entities (e.g., dates, document names).
Web Integration:
1. The chatbot will be embedded in a web application developed using Flask.
2. It should load as a widget or a dedicated page where users can interact with
it.
Search Functionality:
1. The chatbot should perform database searches to retrieve accurate
responses.
2. Example: A query about application fees will trigger a database query to fetch
the latest fee amount and return it to the user.
Query Logging:
1. Every user query and response must be logged into the database for auditing,
analysis, and improving future interactions.
16
Performance:
1. The chatbot must respond to user queries within 2-3 seconds.
2. Queries to the database should be optimized to minimize delay.
Scalability:
1. The system should support up to 500 concurrent users without performance
degradation.
2. Additional servers or containers (e.g., Docker) can be deployed for load
balancing if needed.
Reliability:
1. Ensure 99.9% uptime for the chatbot service.
2. Implement error-handling mechanisms to gracefully manage unexpected
failures, such as database connection issues.
Security:
1. All data transmitted between users and the chatbot must be encrypted using
HTTPS.
2. Sensitive data, such as user feedback, must be stored securely with
encryption in the database.
Usability:
1. The chatbot interface must be intuitive and accessible to users of all technical
backgrounds.
2. The text input box should guide users by providing examples or hints, such as
"Type your question here, e.g., 'What are the admission requirements?'"
Language Accuracy:
1. Achieve a minimum accuracy rate of 85% in Arabic query understanding
during testing.
2. Regularly retrain the NLP model using new data to improve accuracy and
adapt to user trends.
Cross-Platform Compatibility:
1. The web application should work seamlessly across desktop and mobile
browsers.
17
Feedback Analysis:
1. Provide analytical tools for university staff to review chatbot performance
metrics, such as the number of queries handled, response accuracy, and
common unresolved questions.
2. Chatbot Engine:
The Chatbot Engine is responsible for processing user input and generating
responses. It uses Rasa Framework for Natural Language Processing (NLP) and
dialogue management.
18
Rasa is open-source and enables flexible customization, meaning it can be tailored
to understand and respond to specific queries related to university admission
processes.
The chatbot will handle all incoming inquiries related to the admission process such
as deadlines, eligibility criteria, scholarship details, and course offerings.
3. Database:
A Database (e.g., MySQL) will store all the critical information related to the
admission process. This includes:
o Application deadlines.
19
MySQL: For storing data like deadlines, programs, eligibility, and other admission
information.
Python: For implementing NLP, Flask backend, and data handling.
JavaScript, HTML, CSS: For front-end development (if building a web interface).
20
For a Chat-bot, selecting the right NLP framework is crucial for understanding user
queries and providing accurate, real-time responses. Below are some of the best chat-
bot NLP frameworks specifically suited for such use cases:
21
In our Admission Enquiry Chat-bot project, we will use Natural Language Processing (NLP)
technology through the Rasa framework to develop an intelligent chat-bot capable of
understanding and responding to inquiries in Arabic. Rasa is a powerful, open-source
library that allows the development of advanced chat-bots with a high capability to
analyze and understand text, making it ideal for meeting the needs of Arabic-speaking
users.
Why did we choose Rasa?
Arabic Language Support : Rasa enables efficient handling of text written in Arabic
through its built-in Natural Language Processing library. We will use customized models
and configurations for Arabic processing, such as WhitespaceTokenizer and DIETClassifier
, to ensure accurate understanding of user queries.
Flexibility and Customization : Rasa allows us to fully customize the chat-bot, including
the intents and entities that we want the chat-bot to recognize in the students' admission-
related inquiries.
Integration with Other Systems : Rasa can be integrated with internal databases to
provide dynamic information on admission deadlines, tuition fees, and available programs.
Easy integration with messaging platforms (e.g., Whats App, Telegram).
22
The use case diagram describes the functionality of the system as designed from the
requirements and can be found below.
23
Chapter 4: Design
4.1 Introduction:
This chapter provides a detailed explanation of the practical steps taken to develop
the Admission Enquiry Chatbot project. The project aims to deliver an interactive
system based on artificial intelligence techniques to handle students’ inquiries about
admissions and registration. The system was implemented using the Rasa
framework for natural language processing (NLP) and Flask to build a user-friendly
web interface.
The chapter outlines the step-by-step process followed during development, starting
with setting up the programming environment and installing necessary tools,
customizing project files, training the model, integrating the user interface with the
Rasa backend, and thoroughly testing the system to ensure its efficiency.
Implementation Steps
4.2 Setting up the Environment and Installing Tools
1- Creating a virtual environment to manage project dependencies:
On Windows:
Adm\Scripts\activate
3- Installing the Rasa library:
4_ Installing Flask for developing the user interface and backend integration:
pip install flask
rasa init
The project includes essential files such as:
o domain.yml: Defines intents and responses.
intent:التحية
examples: |
- مرحبا
- السالم عليكم
- السالم عليكم ورحمة الله
- اهال وسهال
- هاي
A. The domain.yml File:
Intents such as admission inquiry and program details were added.
Example responses:
responses:
utter_ التحية:
- text: ""!مرحبا وسهال كيف يمكنني مساعدتك ؟
- text: ""مرحبا بك في جامعة السودان للعلوم والتكنولوجيا كيف اساعدك؟
25
C. The stories.yml File:
Possible conversation scenarios were defined:
- story: التحية
steps:
- intent: التحية
- action: utter_التحية
rasa train
The trained model was saved in the models directory.
app = Flask(__name__)
@app.route('/')
def index():
return render_template('index.html')
@app.route('/chat', methods=['POST'])
def chat():
user_message = request.form['message']
response = requests.post(
'http://localhost:5005/webhooks/rest/webhook',
json={"sender": "user", "message": user_message}
)
return response.json()[0]['text']
if __name__ == '__main__':
app.run(debug=True)
26
27