A Development of an AI Chatbot for TU Library FAQ Using ChatGPT Technology to Enhance Reference Services at Thammasat University Library
Main Article Content
Abstract
This study aims to develop and evaluate the performance of an AI chatbot system, MyGPTs: TU Library FAQ, built on the ChatGPT platform and designed to provide after-hours reference services at Thammasat University Library. The system was developed using an iterative model, focusing on questions related to library hours, basic services, and information resource retrieval. Performance evaluation was conducted in two rounds by experts in library reference services.
In the initial development phase, a plain-text knowledge base was employed. Testing results indicated that while the system could answer basic questions, it exhibited limitations in data accuracy and comprehensiveness. Subsequently, the knowledge base was redesigned using the Retrieval-Augmented Generation (RAG) approach, with service information organized in tabular format through Airtable. The post-improvement evaluation revealed significant enhancements in system performance and consistency, with average scores ranging from 4.51 to 5.00, placing the system within the excellent range. User satisfaction was rated as good (average scores of 4.00–4.29), particularly in terms of interaction convenience and information accuracy. However, certain limitations remained, such as outdated information on late return fees for Library of Things equipment and expired links to online databases.
The findings demonstrate the potential of AI chatbots in supporting after-hours library reference services and confirm that the choice of an appropriate knowledge base structure directly impacts system performance. Future development should focus on expanding access channels, implementing vector databases and semantic search systems, and supporting multilingual capabilities to better serve diverse user needs.
Downloads
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
References
หอสมุดแห่งมหาวิทยาลัยธรรมศาสตร์. (2567). สถิติผู้ใช้งาน Line พ.ศ. 2565 – พ.ศ.2567. https://docs.google.com/spreadsheets/d/1FL6Q4yvIj8AhoRJkA1HakCESKQ8-gX7G/edit?usp=sharing&ouid=102719018520349068363&rtpof=true&sd=true
หอสมุดแห่งมหาวิทยาลัยธรรมศาสตร์. (2568). ข้อเสนอแนะจากการประเมิน MyGPTs: TU Library FAQ.
Amazon Web Services. (n.d.). What is RAG (Retrieval-Augmented Generation). https://aws.amazon.com/th/what-is/retrieval-augmented-generation
EBSCO. (n.d.). EBSCO Discovery Service (EDS) API. https://support.ebsco.com/eit/api.php
Emmanuel, V. O., Ameh, M. P., & Oladokun, B. D. (2025). Generative chatbots in the era of Library 5.0: A dilemma for libraries? Metaverse Basic and Applied Research, 4,157 https://doi.org/10.56294/mr2025157
Huang, X., Chang, L.-H., Veermans, K., & Ginter, F. (2024). Breakpoints in iterative development and interdisciplinary collaboration of AI-driven automated assessment. 2024 21st International Conference on Information Technology Based Higher Education and Training (ITHET). IEEE. https://doi.org/10.1109/ITHET61869.2024.10837673
Labadze, L., Grigolia, M., & Machaidze, L. (2023). Role of AI chatbots in education: Systematic literature review. International Journal of Educational Technology in Higher Education, 20, 56. https://doi.org/10.1186/s41239-023-00426-1
Larman, C., & Basili, V. R. (2003). Iterative and incremental developments. a brief history. Computer, 36(6), 47–56. https://doi.org/10.1109/MC.2003.1204375
Mukk, K., Cushman, J., & Cargnelutti, M. (2025, February 15). What We Learned Building Chatbots for Law Professors Using Custom GPT. Library Innovation Lab, Harvard Law School. https://lil.law.harvard.edu/blog/2025/02/15/what-we-learned-building-chatbots-for-law-professors-using-custom-gpt
Neha, Mohanty, S., Alfurhood, B. S., Bakhare, R., Poongavanam, S., & Khanna, R. (2023). The role and impact of artificial intelligence on retail business and its developments. 2023 International Conference on Artificial Intelligence and Smart Communication (AISC), 1098-1101. IEEE. https://doi.org/10.1109/AISC56616.2023.10085624
OpenAI. (2023). GPT-4 Technical Report. https://cdn.openai.com/papers/gpt-4.pdf
University of Houston. (2025, July 1). Shasta Chatbot. https://uh.edu/infotech/aisolutions/tools/shastachatbot
Weise, K. (2023, November 28). Amazon’s answer to ChatGPT is a workplace assistant called Q. Wired. https://www.wired.com/story/amazon-q-ai-chatbot-aws
Zhao, P., Zhang, H., Yu, Q., Wang, Z., Geng, Y., Fu, F., Yang, L., Zhang, W., Jiang, J., & Cui, B. (2024). Retrieval-Augmented Generation for AI-Generated Content: A Survey. arXiv. https://arxiv.org/abs/2402.19473