Please use this identifier to cite or link to this item: http://hdl.handle.net/10400.5/96434
Title: Retrieval-Augmented Generative AI Chatbot
Author: Rodrigues, Rita Maria Oliveira
Advisor: Branco, António H.
Keywords: Robô de conversa
Geração Aumentada por Recuperação (RAG)
Alucinação
Grandes Modelos de Linguagem (LLMs)
Teses de mestrado - 2024
Defense Date: 2024
Abstract: This work consists on the development and evaluation of a chatbot that integrates retrieval-augmented generation (RAG) to tackle the issue of hallucination in large language models (LLMs). It begins with an introduction that outlines the evolution of chatbots from simple rule-based systems to advanced models using transformers. Then a detailed history of chatbots, their various categories, and their advantages and disadvantages is provided. It discusses the hallucination problem and introduces the RAG approach, which combines retrieval-based and generative techniques to improve the accuracy and reliability of chatbot responses. The related work section reviews existing literature on methods to mitigate hallucination in LLMs and examines techniques that tackle each stage within the RAG process. Next, a description of the datasets used is given, including the MS MARCO question-answering and passage retrieval datasets, and the ”Guia Tecnico do Alojamento Local.” The preprocessing steps and ´ dataset characteristics are thoroughly explained. The methods chapter outlines the six-phase methodology: data preprocessing, embedding model, vector database, conversational chain, response generation, and interface and deployment. Each phase is elaborated to illustrate the process of constructing the RAG chatbot. The results of the chatbot’s performance are presented using various metrics for retrieval and generation. It presents findings from experiments conducted with the local accommodation dataset and the MS MARCO dataset, demonstrating the chatbot’s enhanced performance due to the RAG approach. Finally, the conclusion summarizes the thesis’ contributions. It also suggests avenues for future research.
Description: Tese de Mestrado, Ciência de Dados, 2024, Universidade de Lisboa, Faculdade de Ciências
URI: http://hdl.handle.net/10400.5/96434
Designation: Mestrado em Ciência de Dados
Appears in Collections:FC-DI - Master Thesis (dissertation)

Files in This Item:
File Description SizeFormat 
TM_Rita_Rodrigues.pdf1,09 MBAdobe PDFView/Open


FacebookTwitterDeliciousLinkedInDiggGoogle BookmarksMySpace
Formato BibTex MendeleyEndnote 

Items in Repository are protected by copyright, with all rights reserved, unless otherwise indicated.