Implementing Retrieval-Augmented Generation (RAG) Pipeline for a Virtual Library Assistant (ViLA): An In-house Approach

Authors

DOI:

https://doi.org/10.56042/alis.v73i3.32444

Keywords:

Artificial Intelligence, Retrieval Augmented Generation, AI Integration into Libraries, Virtual Library Assistant, Library Chatbot, Ask a Librarian

Abstract

This paper demonstrates the application of technique in AI called Retrieval-Augmented Generation (RAG) for integration into a Virtual Library Assistant (ViLA). The RAG technique helps in the retrieval of relevant information from a database, which is then used by an LLM to generate accurate responses to user queries. The paper shows the entire process of setting up a RAG pipeline to LLM inferencing. The RAG pipeline employs an open-source embedding model alongside a vector database to function as the knowledge base. Various LLMs, typically ranging from approximately 150 million to 8 billion parameters in size were tested with the RAG output, using BERTScore, ROUGE-L and AI evaluation techniques, to identify the most suitable model for ViLA. The knowledge base consists of a collection of frequently asked questions (FAQs) from a library setting. The resulting system serves as a concrete example of AI integration into the daily workflows of information professionals and managers.

Author Biographies

  • Kaustav Kumar Khanikar, Research Scholar

    Department of Library and Information Science, Gauhati University, Guwahati, 781014,

    India.

  • Niraj Barua, Assistant Professor

    Department of Library and Information Science, Gauhati University, Guwahati, 781014,

    India

  • Gitanjali Gogoi, Research Scholar

    Department of Library and Information Science, Gauhati University, Guwahati, 781014,

    India.

Downloads

Published

2026-09-03

How to Cite

Implementing Retrieval-Augmented Generation (RAG) Pipeline for a Virtual Library Assistant (ViLA): An In-house Approach. (2026). Annals of Library and Information Studies , 73(3), 297-306. https://doi.org/10.56042/alis.v73i3.32444

Similar Articles

21-30 of 130

You may also start an advanced similarity search for this article.