Back to search

Nanyang Technological University

A retrieval-augmented generation-based intelligent customer service system for a small-scale café website

Abstract

dc:description.abstract

Small-scale café websites commonly use static page-based structures to present information such as menus, prices, and opening hours. While effective for basic information display, this approach does not support efficient access to specific, context-dependent answers. Direct use of large language models can improve interaction but may also produce inaccurate or unsupported responses. This thesis addresses this problem by designing and implementing a RAG-based intelligent customer service system for a café website. The proposed system combines a conventional static website with a document-grounded conversational assistant. A hybrid retrieval strategy, combining semantic vector recall with BM25-based re-ranking, is used to retrieve relevant evidence before response generation. To evaluate the system, a domain-specific QA dataset of 50 questions was constructed, covering direct, paraphrased, multi-condition, inference, out-of-scope, and ambiguous queries. Evaluation focused on retrieval effectiveness, response quality, and hallucination behaviour. The system achieved Recall@3 of 35/38 and Recall@5 of 36/38 on answerable queries. Human evaluation showed that the proposed system outperformed a non-retrieval baseline in accuracy and completeness while maintaining similarly high fluency. Hallucination analysis further showed that the RAG-based system remained more closely grounded in the document collection. These results indicate that RAG is a practical and effective solution for improving information accessibility and reliability in small-scale café websites.

Degree

thesis:*
College dc:contributor.school
School of Electrical and Electronic Engineering
Grantor dc:publisher
Nanyang Technological University
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Wang, Bin
Advisor dc:contributor.supervisor
  • Hu Xiao (EEE)

Subjects

dc:subject × 1

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/10356/219046

Chain of custody

source
Harvested from
Nanyang Technological University
Base URL
dr.ntu.edu.sg/oai/request
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Wang, Bin. A retrieval-augmented generation-based intelligent customer service system for a small-scale café website. Nanyang Technological University, 2026. https://hdl.handle.net/10356/219046