Please use this identifier to cite or link to this item: http://hdl.handle.net/10400.5/96434
Full metadata record
DC FieldValueLanguage
dc.contributor.advisorBranco, António H.-
dc.contributor.authorRodrigues, Rita Maria Oliveira-
dc.date.accessioned2024-12-17T17:06:06Z-
dc.date.available2024-12-17T17:06:06Z-
dc.date.issued2024-
dc.date.submitted2024-
dc.identifier.urihttp://hdl.handle.net/10400.5/96434-
dc.descriptionTese de Mestrado, Ciência de Dados, 2024, Universidade de Lisboa, Faculdade de Ciênciaspt_PT
dc.description.abstractThis 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.pt_PT
dc.language.isoengpt_PT
dc.rightsopenAccesspt_PT
dc.subjectRobô de conversapt_PT
dc.subjectGeração Aumentada por Recuperação (RAG)pt_PT
dc.subjectAlucinaçãopt_PT
dc.subjectGrandes Modelos de Linguagem (LLMs)pt_PT
dc.subjectTeses de mestrado - 2024pt_PT
dc.titleRetrieval-Augmented Generative AI Chatbotpt_PT
dc.typemasterThesispt_PT
thesis.degree.nameMestrado em Ciência de Dadospt_PT
dc.identifier.tid203880471-
dc.subject.fosDomínio/Área Científica::Ciências Naturais::Ciências da Computação e da Informaçãopt_PT
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.