Year: 2026
Type: article
Abstract: Every year, college offices answer the same questions from students and parents about admissions, fees, courses, eligibility, scholarships, hostels, examinations and contact details. Handling these by hand takes up staff time, is possible only in office hours, and does not always give the same answer twice. In this work we build a college enquiry chatbot that reads a question written in ordinary language and returns the best matching answer from a college knowledge base. The system is written in Python with scikit-learn and a small rule-based text normalizer, and users reach it through a simple Flask chat page. Each question is cleaned, tokenized, lemmatized and turned into a TF-IDF vector. A Logistic Regression classifier predicts the topic of the question, and cosine similarity then picks the closest stored question within that topic. When the classifier is not confident enough, the bot gives a fallback reply instead of guessing. We tested the system on a dataset prepared for this study, with 270 questions in 9 intents and 40 out-of-scope questions, over five random splits. It reached an intent accuracy of 84.4% and a weighted F1-score of 84.3%, against 59.6% for a retrieval-only baseline. It declined 83.2% of the out-of-scope questions and needed about 1.4 ms per query. The whole system runs on an ordinary computer with no GPU or paid service, and it can later be extended with deep learning models, more languages, or voice and mobile interfaces.
DOI: 10.55041/ijsrem68596
Author: Shaikh Irfan Amjad
Language: English
Topic: AI in Service Interactions
Subfield: Marketing
Domain: Social Sciences
SDG: Quality education
Open Access status: hybrid
OpenAlex ID: W7225007946
