Customized AI powered website chatbot using retrieval augmented generation (RAG) framework
The integration of Artificial Intelligence (AI) and web technologies has opened up new avenues for enhancing user experience. This project presents the development of an AI-powered website chatbot that leverages the Retrieval Augmented Generation (RAG) framework to provide intelligent and contextual...
Saved in:
Main Author: | |
---|---|
Other Authors: | |
Format: | Final Year Project |
Language: | English |
Published: |
Nanyang Technological University
2024
|
Subjects: | |
Online Access: | https://hdl.handle.net/10356/175274 |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Nanyang Technological University |
Language: | English |
id |
sg-ntu-dr.10356-175274 |
---|---|
record_format |
dspace |
spelling |
sg-ntu-dr.10356-1752742024-04-26T15:44:10Z Customized AI powered website chatbot using retrieval augmented generation (RAG) framework Zhou, Qiren Kong Wai-Kin, Adams School of Computer Science and Engineering AdamsKong@ntu.edu.sg Computer and Information Science Chatbot Generative AI RAG The integration of Artificial Intelligence (AI) and web technologies has opened up new avenues for enhancing user experience. This project presents the development of an AI-powered website chatbot that leverages the Retrieval Augmented Generation (RAG) framework to provide intelligent and contextualized responses to user queries. The chatbot employs web scraping techniques to extract relevant information from websites, and then utilizes OpenAI's embedding models to convert the content into machine-readable representations. These embeddings are stored in a Supabase database, enabling efficient similarity searches. When a user poses a query, the chatbot generates a standalone question, retrieves the most relevant context from the database, and combines it with the question to produce an accurate and informative response using OpenAI's language models. The frontend is built with React and Next.js, ensuring a responsive and intuitive user interface. The backend is designed for scalability and adaptability, allowing easy integration with different websites. The project includes a comprehensive business plan that outlines a strategic roadmap for commercializing the chatbot technology. The plan proposes an initial phase of offering personalized digital consultancy services, followed by targeting information-intensive websites across various sectors. The long-term goal is to transition into a Software as a Service (SaaS) model, leveraging the scalability and cost-efficiency of cloud computing to achieve rapid market penetration. The business plan also includes pricing strategies, market analysis, and a detailed SWOT analysis to identify strengths, weaknesses, opportunities, and threats. A proof-of-concept prototype tailored for the School of Computer Science and Engineering at Nanyang Technological University demonstrates the chatbot's effectiveness in assisting prospective students and parents with undergraduate admissions queries, showcasing the potential of this AI-driven solution to revolutionize user engagement and information accessibility on websites. Bachelor's degree 2024-04-23T05:36:09Z 2024-04-23T05:36:09Z 2024 Final Year Project (FYP) Zhou, Q. (2024). Customized AI powered website chatbot using retrieval augmented generation (RAG) framework. Final Year Project (FYP), Nanyang Technological University, Singapore. https://hdl.handle.net/10356/175274 https://hdl.handle.net/10356/175274 en SCSE0356 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 Chatbot Generative AI RAG |
spellingShingle |
Computer and Information Science Chatbot Generative AI RAG Zhou, Qiren Customized AI powered website chatbot using retrieval augmented generation (RAG) framework |
description |
The integration of Artificial Intelligence (AI) and web technologies has opened up new avenues for enhancing user experience. This project presents the development of an AI-powered website chatbot that leverages the Retrieval Augmented Generation (RAG) framework to provide intelligent and contextualized responses to user queries. The chatbot employs web scraping techniques to extract relevant information from websites, and then utilizes OpenAI's embedding models to convert the content into machine-readable representations. These embeddings are stored in a Supabase database, enabling efficient similarity searches. When a user poses a query, the chatbot generates a standalone question, retrieves the most relevant context from the database, and combines it with the question to produce an accurate and informative response using OpenAI's language models. The frontend is built with React and Next.js, ensuring a responsive and intuitive user interface. The backend is designed for scalability and adaptability, allowing easy integration with different websites. The project includes a comprehensive business plan that outlines a strategic roadmap for commercializing the chatbot technology. The plan proposes an initial phase of offering personalized digital consultancy services, followed by targeting information-intensive websites across various sectors. The long-term goal is to transition into a Software as a Service (SaaS) model, leveraging the scalability and cost-efficiency of cloud computing to achieve rapid market penetration. The business plan also includes pricing strategies, market analysis, and a detailed SWOT analysis to identify strengths, weaknesses, opportunities, and threats. A proof-of-concept prototype tailored for the School of Computer Science and Engineering at Nanyang Technological University demonstrates the chatbot's effectiveness in assisting prospective students and parents with undergraduate admissions queries, showcasing the potential of this AI-driven solution to revolutionize user engagement and information accessibility on websites. |
author2 |
Kong Wai-Kin, Adams |
author_facet |
Kong Wai-Kin, Adams Zhou, Qiren |
format |
Final Year Project |
author |
Zhou, Qiren |
author_sort |
Zhou, Qiren |
title |
Customized AI powered website chatbot using retrieval augmented generation (RAG) framework |
title_short |
Customized AI powered website chatbot using retrieval augmented generation (RAG) framework |
title_full |
Customized AI powered website chatbot using retrieval augmented generation (RAG) framework |
title_fullStr |
Customized AI powered website chatbot using retrieval augmented generation (RAG) framework |
title_full_unstemmed |
Customized AI powered website chatbot using retrieval augmented generation (RAG) framework |
title_sort |
customized ai powered website chatbot using retrieval augmented generation (rag) framework |
publisher |
Nanyang Technological University |
publishDate |
2024 |
url |
https://hdl.handle.net/10356/175274 |
_version_ |
1806059741336567808 |