Powered by OpenAIRE graph
Found an issue? Give us feedback
image/svg+xml art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos Open Access logo, converted into svg, designed by PLoS. This version with transparent background. http://commons.wikimedia.org/wiki/File:Open_Access_logo_PLoS_white.svg art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos http://www.plos.org/ Universidade de Lisb...arrow_drop_down
image/svg+xml art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos Open Access logo, converted into svg, designed by PLoS. This version with transparent background. http://commons.wikimedia.org/wiki/File:Open_Access_logo_PLoS_white.svg art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos http://www.plos.org/
image/svg+xml art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos Open Access logo, converted into svg, designed by PLoS. This version with transparent background. http://commons.wikimedia.org/wiki/File:Open_Access_logo_PLoS_white.svg art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos http://www.plos.org/
UTL Repository
Master thesis . 2024
Data sources: UTL Repository
versions View all 2 versions
addClaim

Retrieval-Augmented Generative AI Chatbot

Authors: Rodrigues, Rita Maria Oliveira;

Retrieval-Augmented Generative AI Chatbot

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.

Tese de Mestrado, Ciência de Dados, 2024, Universidade de Lisboa, Faculdade de Ciências

Country
Portugal
Keywords

Alucinação, Teses de mestrado - 2024, Domínio/Área Científica::Ciências Naturais::Ciências da Computação e da Informação, Geração Aumentada por Recuperação (RAG), Grandes Modelos de Linguagem (LLMs), Robô de conversa

  • BIP!
    Impact byBIP!
    selected citations
    These citations are derived from selected sources.
    This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
    0
    popularity
    This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network.
    Average
    influence
    This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
    Average
    impulse
    This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network.
    Average
Powered by OpenAIRE graph
Found an issue? Give us feedback
selected citations
These citations are derived from selected sources.
This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
BIP!Citations provided by BIP!
popularity
This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network.
BIP!Popularity provided by BIP!
influence
This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
BIP!Influence provided by BIP!
impulse
This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network.
BIP!Impulse provided by BIP!
0
Average
Average
Average
Green