[Purpose/Significance] Addressing the issue that intelligent reference services in libraries cannot directly handle specific business operations and the lack of interfaces with third-party business systems, which leads to insufficient integration of intelligent reference services with business processes, this study proposes a construction scheme for intelligent reference services based on BERT, AIML, and HTTP protocol. [Method/Process] First, a local knowledge base and AIML corpus are established, and the performance of intent classification is compared between BERT-Base-Chinese and the large language model Chinese-LLaMA-2-7b. Second, BERT-Base-Chinese is used for semantic matching in the knowledge base, AIMLBot is employed for dialogue management, and user queries are initiated to collect user information. Finally, HTTP communication technology is utilized to achieve deep integration with both local and remote library business systems. [Results/Conclusion] The study found that using BERT-Base-Chinese for intent classification achieved an accuracy of 0.958 3, while semantic matching in the knowledge base achieved an accuracy of 0.946 1. Moreover, HTTP communication technology proved to be feasible and effective for integrating local and remote library business systems.
[1] 王毅, 董怡婷. 类ChatGPT人工智能在图书馆智慧服务中的应用与思考[J]. 图书馆理论与实践, 2023(6): 129-136. (WANG Y, DONG Y T. Application and reflection of ChatGPT-like artificial intelligence in library intelligence service [J]. Library theory and practice, 2023(6): 129-136.)
[2] 杨文建. 人工智能驱动下的图书馆变革[J]. 图书馆, 2020(10): 40-46. (YANG W J. A Study of library transformation driven by artificial intelligence [J]. Library, 2020(10): 40-46.)
[3] ABOELMAGED M G, BANI-MELHEM S, AL-HAWARI M A, et al. Conversational AI chatbots in library research: an integrative review and future research agenda[J]. Journal of librarianship and information science, 2024(4): 1-17.
[4] 余望枝, 刘芳. 基于智能问答的图书馆参考咨询服务设计及优化[J]. 图书馆理论与实践, 2024(1): 128-136. (YU W Z, LIU F. Design and optimization of library reference service based on intelligent question and answer system [J]. Library theory and practice, 2024(1): 128-136.)
[5] 吴志强, 杨学霞. 智慧图书馆的研究与实践在中国的发展[J]. 图书情报工作, 2021, 65(4): 20-27. (WU Z Q, YANG X X. A preliminary survey on research and practice of smart library in China[J]. Library and information service, 2021, 65(4): 20-27.)
[6] 宋灵超. 路在何方?——科研视域下的图书馆智能咨询服务现状与未来[J]. 图书馆论坛, 2023, 43(7): 91-99. (SONG L C. Where is the road? Research on the present situation and future of library intelligent consulting service in China from the perspective of scientific research [J]. Library tribune, 2023, 43(7): 91-99.)
[7] 王超, 潘雪峰. ChatGPT赋能高校图书馆智能咨询服务研究[J]. 图书馆研究与工作, 2023(11): 49-53. (WANG C, PAN X F. Empowering intelligent consultation in university libraries with ChatGPT [J]. Library science research & work, 2023(11): 49-53.)
[8] KAUSHAL V, YADAV R. The role of chatbots in academic libraries: An experience-based perspective[J]. Journal of the australian library and information association, 2022, 71(3): 215-232.
[9] 李雪婷, 李莘. 图书馆微信平台自动问答机器人语言体系研究[J]. 现代情报, 2016, 36(10): 99-101, 122. (LI X T, LI X. Research on language system of library automatic question-answering system based on wechat [J]. Journal of modern information, 2016, 36(10): 99-101, 122.)
[10] 姚飞, 纪磊, 张成昱, 等. 实时虚拟参考咨询服务新尝试——清华大学图书馆智能聊天机器人[J]. 现代图书情报技术, 2011(4): 77-81. (YAO F, JI L, ZHANG C Y, et al. New attempt on real - time virtual reference service - he smart chat robot of tsinghua university library [J]. Data analysis and knowledge discovery, 2011(4): 77-81.)
[11] YAO F, ZHANG C, CHEN W. Smart talking robot Xiaotu: participatory library service based on artificial intelligence[J]. Library hi tech, 2015, 33(2): 245-260.
[12] 李文江, 陈诗琴. AIMLBot智能机器人在实时虚拟参考咨询中的应用[J]. 现代图书情报技术, 2012(Z1): 127-132. (LI W J, CHEN S Q. Application of AIMLBot intelligent robot in real-time virtual reference service [J]. Data analysis and knowledge discovery, 2012(Z1): 127-132.)
[13] 张乐. 词向量语义扩展技术在图书馆智能咨询系统的应用与实现[J]. 图书情报工作, 2020, 64(18): 126-136. (ZHANG L. Application and implementation of word vector semantic extension technology in library intelligent consulting system[J]. Library and information service, 2020, 64(18): 126-136.)
[14] 王翼虎, 白海燕, 孟旭阳. 大语言模型在图书馆参考咨询服务中的智能化实践探索[J]. 情报理论与实践, 2023, 46(8): 96-103. (WANG Y H, BAI H Y, MENG X Y. An intelligent practical exploration of large language model in library reference consulting service[J]. Information studies: theory & application, 2023, 46(8): 96-103.)
[15] PANDA S, KAUR N. Exploring the viability of ChatGPT as an alternative to traditional chatbot systems in library and information centers[J]. Library hi tech news, 2023, 40(3): 22-25.
[16] 郭亚军, 马慧芳, 张鑫迪, 等. ChatGPT赋能图书馆知识服务:原理、场景与进路[J]. 图书馆建设, 2024(3): 60-68. (GUO Y J, MA H F, ZHANG X D. ChatGPT empowers library knowledge services: principles, scenarios, and approaches[J]. Library development, 2024(3): 60-68.)
[17] RODRIGUEZ S, MUNE C. Uncoding library chatbots: Deploying a new virtual reference tool at the San Jose State University library[J]. Reference services review, 2022, 50(3/4): 392-405.
[18] 宋灵超, 李红钢, 静发冲. 基于服务反馈机制的图书馆智能咨询系统的构建和应用:南开大学案例研究[J]. 图书馆杂志, 2023, 42(6): 56-67. (SONG L C, LI H G, JING F C. The construction and implementation of an intelligent library consulting system based on service feedback mechanism: a case study of nankai university [J]. Library journal, 2023, 42(6): 56-67.)
[19] 潘雪峰, 王超. 功能视域下ChatGPT对高校图书馆智能咨询的影响研究[J]. 图书情报导刊, 2023, 8(5): 15-20. (PAN X F, WANG C. Research on the impact of ChatGPT on intelligent consultation of university libraries from the functional perspective [J]. Journal of library and information science, 2023, 8(5): 15-20.)
[20] 吴若航, 茆意宏. ChatGPT热潮下的图书馆服务:理念、机遇与破局[J]. 图书与情报, 2023(2): 34-41. (WU R H, MAO Y H. Library services under the ChatGPT boom: concepts, opportunities, and breakthroughs [J]. Library & information, 2023(2): 34-41.)
[22] 刘泽, 邵波. 元宇宙场景下人工智能生成内容(AIGC)赋能图书馆用户服务研究[J]. 图书馆, 2024(2): 10-16. (LIU Z, SHAO B. Research on artificial intelligence generated content (AIGC) empowering library user services in a metaverse scenario [J]. Library, 2024(2): 10-16.)
[22] 张强, 高颖, 赵逸淳, 等. ChatGPT在智慧图书馆建设中的机遇与挑战[J]. 图书馆理论与实践, 2023(6): 116-122. (ZHANG Q, GAO Y, ZHAO Y C, et al. Opportunity and challenge of ChatGPT in the construction of intelligent library[J]. Library theory and practice, 2023(6): 116-122.)
[23] ASEMI A, KO A, NOWKARIZI M. Intelligent libraries: a review on expert systems, artificial intelligence, and robot[J]. Library hi tech, 2021, 39(2): 412-434.
[24] 李宇, 石磊, 姚天泓, 等. 国际视野下图书馆机器人应用现状及其机遇与挑战[J]. 图书馆, 2021(9): 34-41. (LI Y, SHI L, YAO T H, et al. Current situation of library robot application and its opportunities and challenges from an international perspective [J]. Library, 2021(9): 34-41.)
[25] “清小图”智能问答系统服务简介[EB/OL]. [2024-06-31]. https://lib.tsinghua.edu.cn/info/1073/4018.htm. (Introduction to the “Qingxiaotu” Intelligent Q&A System Service [EB/OL]. [2024-06-31]. https://lib.tsinghua.edu.cn/info/1073/4018.htm.)
[26] 超星AI馆员试用通知[EB/OL]. [2024-07-24]. https://www.zzrvtc.edu.cn/tsg/2024/0724/c1561a124700/page.htm. (Notice of Chaoxing AI librarian trial [EB/OL]. [2024-07-24]. https://www.zzrvtc.edu.cn/tsg/2024/0724/c1561a124700/page.htm.)
[27] 张光照. 基于HTTP通信技术的高校科研诚信服务优化实践研究[J]. 信息记录材料, 2022, 23(5): 110-112. (ZHANG G Z. Research on optimization practice of university research integrity service based on http communication technology [J]. Information recording materials, 2022, 23(5): 110-112.)
[28] 胡潇戈, 戚越, 王玉琦, 等. 面向智能问答的图书馆参考咨询知识库体系设计及构建[J]. 图书情报知识, 2019(5): 101-108, 119. (HU X G, QI Y, WANG Y Q, et al. Design and construction of intelligent question-answer knowledge base for library reference and consultancy [J]. Documentation, information & knowledge, 2019(5): 101-108, 119.)