AlbiBooks: chatboot
Date
2024
Journal Title
Journal ISSN
Volume Title
Publisher
IPCB. EST
Abstract
O AlbiBooks é um projeto que visa desenvolver um chatbot para interagir com a base de dados de uma biblioteca. O objetivo principal deste chatbot é democratizar o acesso aos serviços bibliotecários e torná-lo mais eficiente, permitindo consultas e recomendações de livros de forma prática e intuitiva.
Para fundamentar o desenvolvimento deste projeto, foi realizada uma revisão sistemática da literatura, seguindo a metodologia PRISMA. Esta revisão centrou-se na aplicação de chatbots em bibliotecas.
O projeto utiliza uma variedade de tecnologias e ferramentas modernas, incluindo o Python como linguagem de programação principal. Além disso, o Google Colab foi selecionado como ambiente de desenvolvimento.
Uma característica central do AlbiBooks é a implementação de um pipeline Retrieval-Augmented Generation (RAG). Para avaliar a eficácia da abordagem proposta, foram testados três modelos de linguagem diferentes: DistilGPT2, Llama-2-13b-chat-hf e Zephyr-7b-beta. Cada modelo foi escolhido pelas suas características específicas, de modo a atender às necessidades do projeto em termos de eficiência computacional e desempenho em tarefas de compreensão e geração de texto.
Este projeto não só responde às necessidades atuais das bibliotecas, como também abre caminho a soluções tecnológicas escaláveis e adaptáveis a diferentes contextos institucionais, prometendo transformar a interação entre utilizadores e serviços bibliotecários num futuro próximo.
Abstract: AlbiBooks is a project that aims to develop a chatbot to interact with a library's database. The main aim of this chatbot is to democratise and make access to library services more efficient, enabling book consultations and recommendations in a practical and intuitive way. To support the development of this project, a systematic literature review was carried out using the PRISMA methodology. This review centred on the application of chatbots in libraries. The project uses a variety of modern technologies and tools, including Python as the main programming language. In addition, Google Colab was selected as the development environment. A central feature of AlbiBooks is the implementation of a Retrieval-Augmented Generation (RAG) pipeline. To evaluate the effectiveness of the proposed approach, three different language models were tested: DistilGPT2, Llama-2-13b-chat-hf and Zephyr-7b-beta. Each model was chosen for its specific characteristics in order to meet the needs of the project in terms of computational efficiency and performance in text comprehension and generation tasks. This project not only responds to the current needs of libraries, but also paves the way for technological solutions that are scalable and adaptable to different institutional contexts, promising to transform the interaction between users and library services in the near future.
Abstract: AlbiBooks is a project that aims to develop a chatbot to interact with a library's database. The main aim of this chatbot is to democratise and make access to library services more efficient, enabling book consultations and recommendations in a practical and intuitive way. To support the development of this project, a systematic literature review was carried out using the PRISMA methodology. This review centred on the application of chatbots in libraries. The project uses a variety of modern technologies and tools, including Python as the main programming language. In addition, Google Colab was selected as the development environment. A central feature of AlbiBooks is the implementation of a Retrieval-Augmented Generation (RAG) pipeline. To evaluate the effectiveness of the proposed approach, three different language models were tested: DistilGPT2, Llama-2-13b-chat-hf and Zephyr-7b-beta. Each model was chosen for its specific characteristics in order to meet the needs of the project in terms of computational efficiency and performance in text comprehension and generation tasks. This project not only responds to the current needs of libraries, but also paves the way for technological solutions that are scalable and adaptable to different institutional contexts, promising to transform the interaction between users and library services in the near future.
Description
Keywords
Chatbot, Inteligência artificial, Retrieval-Augmented Generation (RAG), Large Language Model (LLM), Biblioteca, Artificial intelligence, Large language model, Libraries
Citation
DUARTE, Ana Margarida Pereira ; PEREIRA, Gabriel de Santana (2024) - AlbiBooks : chatboot. Castelo Branco : IPCB. EST. Trabalho de Projeto apresentado à Escola Superior de Tecnologia do Instituto Politécnico de Castelo Branco para cumprimento dos requisitos necessários à obtenção do grau de Licenciado em Informática e Multimédia.