Prompt engineering for library agents: development of an AI-based conversational reading recommendation system
The DOI matches its Crossref record; 39 of the 39 references it cites were found in a registry or an index.
Abstract
Purpose: This article presents the design, development and implementation of LaIABot, an artificial intelligence agent based on structured prompting for bibliographic recommendations in library environments. The system addresses common limitations such as staff shortages and time constraints, improving the accessibility and personalization of the service. A key innovation is the design of prompts that generate two simultaneous outputs: one for the user, with clear recommendations and another for the institution, in JSON format with metadata from the interaction, which allows for feedback and optimization of the system, integration into SIGB and enrichment of document analysis and management processes. Design/methodology/approach: A user-centered approach grounded in library science and ethical principles was adopted. LaIABot is developed with a configurable base prompt composed of five modules: user profile, suggestion filtering, collection typology, library services and feedback mechanisms. The technical architecture employs Flask, HTML5, JavaScript and CSS3, with SQLite for initial validation and the possibility of migration to more robust database managers. The pilot test, using 150 synthetic queries and a corpus of approximately 8,500 records, evaluated precision, diversity and JSON output consistency, achieving a 99.33% structural success rate and a 96.67% effective retrieval rate. Findings: Libraries are encouraged to explore the use of specialized conversational agents as a reader advisory tool, prioritizing structured prompting tailored to their specific context and collections. Documenting and auditing recommendations is essential to ensure authorial and thematic diversity, alongside implementing ethical oversight and data governance protocols. The dual output (user/JSON for institutional use) should be leveraged for usage analysis and catalog enrichment. The model's open-source and modular architecture supports its replication in public, academic and specialized libraries, enabling progressive AI integration aligned with institutional infrastructure and resources. Practical implications: LaIABot extends library service availability by operating 24/7, personalizes recommendations according to user profiles and integrates with existing systems, supporting reader advisory without requiring significant investment. Its JSON dual output enables integration with ILS platforms, statistical analysis and continuous service improvement. Pilot test results indicate adequate average response times, thematic and temporal diversity of authors and robust data structuring, confirming its viability as an applicable prototype. The system can enhance the visibility of historical collections and lesser-known authors, strengthening the library's social and educational role. Originality/value: This work introduces a pioneering approach to applying structured prompting with dual output for bibliographic recommendation. Unlike generic AI solutions, it offers a parameterizable architecture grounded in library science and ethical standards, capable of simultaneously producing valuable user-facing responses and structured institutional data. Its open and replicable nature, combined with technical validation in a controlled environment, lays the foundation for deployment in diverse contexts. This research advances the integration of generative AI into library services, combining technological innovation with the preservation of professional values such as neutrality, inclusion and equitable access to knowledge.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Cited works that were retracted
Works this paper cites that were later retracted, from the retraction notices publishers deposit. Major when the notice came out before this paper was published.
Rated major: it would touch a result — a value a result rests on, reported and recomputed p-values on opposite sides of the significance level, two passages that conflict with no sign which is right, or a cited work retracted before this paper was published.
In the paper
“Steele, 2025, Academic librarian perceptions on conducting research, The Journal of Academic Librarianship, 51, 10.1016/j.acalib.2025.103154”
Cited work 10.1016/j.acalib.2025.103154 · retracted 2025-11-01 · notice 10.1016/j.acalib.2025.103154 · this paper published 2026-07-13
Citations
Cites
1 retracted
RETRACTED: Academic librarian perceptions on conducting research
Steele, J. E. (2025) · The Journal of Academic Librarianship · doi:10.1016/j.acalib.2025.103154 · Cited by 2
RetractedLanguage Models are Few-Shot Learners
Brown, T. B., Mann, B., Ryder, N., Subbiah, M., Kaplan, J., Dhariwal, P., Neelakantan, A., Shyam, P., Sastry, G., Askell, A., et al. (2020) · arXiv · doi:10.48550/arxiv.2005.14165 · Cited by 23,372
Liu, P., Yuan, W., Fu, J., Jiang, Z., Hayashi, H., & Neubig, G. (2023) · ACM Computing Surveys · doi:10.1145/3560815 · Cited by 4,361
Deep Learning Based Recommender System: A Survey and New Perspectives
Zhang, S., Yao, L., Sun, A., & Tay, Y. (2020) · ACM Computing Surveys · doi:10.1145/3285029 · Cited by 3,485
Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigm
Reynolds, L., & McDonell, K. (2021) · Extended Abstracts of the 2021 CHI Conference on Human Factors in Computing Systems · doi:10.1145/3411763.3451760 · Cited by 952
Research-paper recommender systems: a literature survey
Beel, J., Gipp, B., Langer, S., & Breitinger, C. (2016) · International Journal on Digital Libraries · doi:10.1007/s00799-015-0156-0 · Cited by 823
Recommender systems: from algorithms to user experience
Konstan, J. A., & Riedl, J. (2012) · User Modeling and User-Adapted Interaction · doi:10.1007/s11257-011-9112-x · Cited by 762
Agentic AI: Autonomous intelligence for complex goals–a comprehensive survey
Acharya, D. B., Kuppan, K., & Divya, B. (2025) · IEEE Access · doi:10.1109/access.2025.3532853 · Cited by 717
(2022) · Springer eBooks · doi:10.1007/978-1-0716-2197-4 · Cited by 583
Getting to know you: learning new user preferences in recommender systems
Rashid, A. M., Albert, I., Cosley, D., Lam, S. K., McNee, S. M., Konstan, J. A., & Riedl, J. (2002) · Proceedings of the 7th international conference on Intelligent user interfaces · doi:10.1145/502716.502737 · Cited by 545
Research works printed but not linked: 6
- American Library Association (ALA), 2022, Ethics of AI and Libraries: Guidelines for Ethical Practice
- Cox, 2025, IFLA AI Entry Point to Libraries and AI
- García Márquez, 1967, One hundred years of solitude, Diálogos: Artes, Letras, Ciencias humanas, 3, 6
- Golub, 2024, Digital Humanities in the Nordic and Baltic Countries 8th conference Reykjavík
- International Federation of Library Associations and Institutions (IFLA), 2023, Responsible and Ethical Use of AI in Libraries: Principles and Guidelines
- RUSA Reference and User Services Association, 2008, Definitions of Reference
Metadata
- Authors
- Blázquez-Ochando, M., Prieto-Gutierrez, J.-J., & Ovalle-Perandones, M.-A.
- Affiliations
- Complutense University of Madrid Department of Biblioteconomia y Documentacion, , ,
- Universidad Complutense de Madrid (ES)
- Venue
- Library Hi Tech
- Publisher
- Emerald
- Published
- 2026-07-13
- Pages
- 1-18
- ISSN
- 0737-8831 (ISSN-L)
- 2054-166X
- OpenAlex
- W7167929479
- Cited by
- 0
- References
- 37
- FWCI
- 0.00
- Type
- journal article
- Language
- en
- Open access
- closed
- Locations
- Library Hi Tech (publishedVersion)
- Topics
- Social Sciences › Library and Information Sciences › Web and Library Services
- Physical Sciences › Computer Science › Information Systems › Recommender Systems and Techniques
- Social Sciences › Library and Information Sciences › Library Science and Information
- Keywords
- prompt engineering, chatbots, bibliographic recommendations, structured prompting, JSON metadata, library automation, integrated library systems, recommendation diversity, data governance, open source software, user profiles, catalog enrichment, user-centered design, pilot evaluation
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
How to cite
Cite CoChat for the checks on this page, and the paper for its own findings.
- This page
- CoChat. (2026). Citation check: Prompt engineering for library agents: development of an AI-based conversational reading recommendation system. https://app.cochat.ai/papers/10.1108/lht-08-2025-0196
- The paper
- Blázquez-Ochando, M., Prieto-Gutierrez, J.-J., & Ovalle-Perandones, M.-A. (2026). Prompt engineering for library agents: development of an AI-based conversational reading recommendation system. Library Hi Tech. https://doi.org/10.1108/lht-08-2025-0196
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.