A web system for LLM-based Q&A

Chatbots based on Large Language Models have gained popularity in the last year. However, they may not be informed on all topics, especially recent events or a user’s queries about very specific subjects. These LLMs have token limits so the user cannot copy large amounts of text into the chat interf...

Full description

Saved in:
Bibliographic Details
Main Author: Banerjee, Tanya
Other Authors: Long Cheng
Format: Final Year Project
Language:English
Published: Nanyang Technological University 2024
Subjects:
Q&A
Online Access:https://hdl.handle.net/10356/175236
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Nanyang Technological University
Language: English
id sg-ntu-dr.10356-175236
record_format dspace
spelling sg-ntu-dr.10356-1752362024-04-26T15:41:56Z A web system for LLM-based Q&A Banerjee, Tanya Long Cheng School of Computer Science and Engineering c.long@ntu.edu.sg Computer and Information Science Q&A Chatbots based on Large Language Models have gained popularity in the last year. However, they may not be informed on all topics, especially recent events or a user’s queries about very specific subjects. These LLMs have token limits so the user cannot copy large amounts of text into the chat interface. There is also a growing number of chatbots available for users to choose from, and they have to explore each option before deciding on one that suits their needs. Therefore, it would be helpful to have a system where the user can provide some text data (may be larger than token limit) and then ask questions about the topics in the text. The context sent to the LLM should be concise and relevant to the questions so as not to exceed the token limit. Given such a context, an LLM would be able to answer the required questions. The user should also be able to choose between a few LLM options so that they can compare all of them in one place. The aim of this project is to develop a web system that allows users to input text in three ways: uploading a text file, providing a link to a web page and pasting text into an input component. They can choose an LLM from the provided options and ask questions about the text using a chat interface. The Q&A will be implemented using Retrieval Augmented Generation. Bachelor's degree 2024-04-21T23:52:08Z 2024-04-21T23:52:08Z 2024 Final Year Project (FYP) Banerjee, T. (2024). A web system for LLM-based Q&A. Final Year Project (FYP), Nanyang Technological University, Singapore. https://hdl.handle.net/10356/175236 https://hdl.handle.net/10356/175236 en SCSE23-0649 application/pdf Nanyang Technological University
institution Nanyang Technological University
building NTU Library
continent Asia
country Singapore
Singapore
content_provider NTU Library
collection DR-NTU
language English
topic Computer and Information Science
Q&A
spellingShingle Computer and Information Science
Q&A
Banerjee, Tanya
A web system for LLM-based Q&A
description Chatbots based on Large Language Models have gained popularity in the last year. However, they may not be informed on all topics, especially recent events or a user’s queries about very specific subjects. These LLMs have token limits so the user cannot copy large amounts of text into the chat interface. There is also a growing number of chatbots available for users to choose from, and they have to explore each option before deciding on one that suits their needs. Therefore, it would be helpful to have a system where the user can provide some text data (may be larger than token limit) and then ask questions about the topics in the text. The context sent to the LLM should be concise and relevant to the questions so as not to exceed the token limit. Given such a context, an LLM would be able to answer the required questions. The user should also be able to choose between a few LLM options so that they can compare all of them in one place. The aim of this project is to develop a web system that allows users to input text in three ways: uploading a text file, providing a link to a web page and pasting text into an input component. They can choose an LLM from the provided options and ask questions about the text using a chat interface. The Q&A will be implemented using Retrieval Augmented Generation.
author2 Long Cheng
author_facet Long Cheng
Banerjee, Tanya
format Final Year Project
author Banerjee, Tanya
author_sort Banerjee, Tanya
title A web system for LLM-based Q&A
title_short A web system for LLM-based Q&A
title_full A web system for LLM-based Q&A
title_fullStr A web system for LLM-based Q&A
title_full_unstemmed A web system for LLM-based Q&A
title_sort web system for llm-based q&a
publisher Nanyang Technological University
publishDate 2024
url https://hdl.handle.net/10356/175236
_version_ 1814047089239261184