Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

Design and Development of a Web-Based Library Chatbot with Integration of a Local Database (MySQL) and Artificial Intelligence Services (OpenAI API)

Domain:

natural language processing

Record type:

software
Creator:
AsrEllFirMur
Publisher:
Soc
Host:
Academic libraries increasingly require intelligent digital services to improve information accessibility, responsiveness, and service efficiency. However, conventional FAQ-based chatbots often suffer from limited semantic understanding, while fully AI-based systems may introduce higher latency and inconsistent institutional responses. This study aims to design and evaluate a hybrid web-based library chatbot integrating a local MySQL FAQ database with OpenAI API services to support digital library services at Universitas Negeri Padang (UNP). The system was developed using a hybrid architecture combining semantic FAQ retrieval and AI-based fallback generation. The implementation utilized HTML, CSS, JavaScript, Node.js, and MySQL, while Bahasa Indonesia Natural Language Processing (NLP) techniques, including normalization, tokenization, stopword removal, and stemming, were applied to improve semantic query matching. Evaluation was conducted using 100 library-related queries, validated by three experts: senior librarians and an information systems lecturer. Experimental results demonstrated that the proposed hybrid chatbot achieved 92% response correctness accuracy with a 95% confidence interval ranging from 86.7% to 97.3%. Routing evaluation also confirmed effective query classification between local FAQ retrieval and AI fallback mechanisms, while benchmarking experiments showed that the proposed architecture outperformed keyword-based FAQ systems, semantic retrieval-only models, and pure LLM-based chatbots in terms of response accuracy and balanced response latency. The findings indicate that integrating semantic retrieval with AI-based fallback mechanisms can improve response quality, scalability, and contextual relevance in academic library services. Future research may focus on adaptive threshold optimization, multilingual support, and domain-specific prompt engineering to further enhance routing precision and the generation of contextual responses.

Visit

doi.org

Languages

Dinka, Northeastern

Licenses

http://creativecommons.org/licenses/by-sa/4.0

Similar

DESIGN AND IMPLEMENTATION OF A WEB-BASED CHATBOT SYSTEMDESIGN AND IMPLEMENTATION OF A MYSQL BASED DATABASE FOR AN ONLINE FAULT REPORTING SYSTEM.Integration of a city GIS data with Google Map API and Google Earth API for a web based 3D Geospatial ApplicationA review of artificial intelligence implementation in academic library servicesamaan23/Openai-ChatbotDevelopment of a hydrometeorological drought severity composite index based on the integration of multisource characteristics and an explainable artificial intelligence model

DESIGN AND IMPLEMENTATION OF A WEB-BASED CHATBOT SYSTEM

A project submitted to the Department of Mathematical and Computing Sciences, Faculty of Applied Sci

DESIGN AND IMPLEMENTATION OF A MYSQL BASED DATABASE FOR AN ONLINE FAULT REPORTING SYSTEM.

In this paper, a Mysql-based database was developed for the implementation of an online fault report

Integration of a city GIS data with Google Map API and Google Earth API for a web based 3D Geospatial Application

International audience Geospatial applications are becoming indispensable part of inf

A review of artificial intelligence implementation in academic library services

Artificial intelligence (AI) has emerged as a transformative force across various sectors, including

amaan23/Openai-Chatbot

This was a chatbot created for the purpose of answering immigration questions specific to South Afri

Development of a hydrometeorological drought severity composite index based on the integration of multisource characteristics and an explainable artificial intelligence model

International audience The Oum Er Rbia watershed, Morocco, is a region facing severe