Skip to content
Open access

Context-Aware Large Language Model for Customer Support Chatbots

Aug 2026 · ICCK Transactions on Machine Intelligence · 0 citations · 31 references

TL;DR

The results show that the RAG architecture provides a scalable alternative for creating precise, contextually grounded conversational agents, thereby mitigating some of the main drawbacks of LLMs.

Abstract

Despite their high conversational fluency, large language models (LLMs) tend to produce responses that are either contrived or factually inaccurate, a phenomenon known as hallucination. This constrains their dependability in areas where accuracy is crucial, like customer service. This study leverages a context-aware chatbot built on a Retrieval-Augmented Generation (RAG) pipeline to solve the problem. The system retrieves semantically relevant text from an external knowledge base by integrating neural information retrieval with LLMs to ensure factual correctness and enhanced contextual relevance. These externally retrieved documents are given as a reference during response generation. The LLM-as-a-judge approach is used to evaluate the system by comparing responses to a qualitative performance matrix using GPT-4o. Results show that the RAG-based chatbot increases context precision by a factor of 7.5, decreases hallucinations (measured through Faithfulness) by 73.20% and improves answer relevance by 6.97% when compared to a random retrieval baseline system. This study advances conversational AI by demonstrating how the retrieval method significantly enhances the usefulness and reliability of LLMs for enterprise-level customer service. The results show that the RAG architecture provides a scalable alternative for creating precise, contextually grounded conversational agents, thereby mitigating some of the main drawbacks of LLMs.

Read PDF

Similar papers

Open access Jul 2026

DEVELOPMENT OF A RAG-BASED SCHOLARLY RESEARCH CHATBOT WITH FINE-TUNED DENSE RETRIEVAL

Results show that fine-tuning and integrating the BAAI/bge-large model significantly improves the chatbot's ability to retrieve relevant information, demonstrating a significant boost in retrieving the most relevant scholarly information for user queries.

A. Oguntimilehin, Olamide Balogun · 0 citations
Review Open access Aug 2026

Large Language Models Hallucinate and How Retrieval- Augmented Generation Mitigates It

Large Language Models (LLMs) can generate fluent and convincing responses, but fluency does not guarantee factual correctness. Hallucination occurs when a model produces information that is false, unsupported, or inconsistent with available evidence. This paper reviews why hallucinations arise andexamine Retrieval-Augmented Generation (RAG) as a practical mitigation strategy. The discussion focuses on prediction-based generation, missing or outdated knowledge, ambiguous queries, and the absence of automatic verification. RAG addresses these limitations by retrieving relevant information from an external knowledge source and supplying it to the generator as contextual evidence. The paper describes the major stages of a RAG pipeline, including document ingestion, chunking, embeddings, vector storage, retrieval, context augmentation, and answer generation. It also examines the conditions under which RAG can fail, including poor retrieval, incomplete knowledge bases, unreliable sources, weak ranking, and incorrect interpretation of retrieved context. Finally, the paper discusses evaluation dimensions such as context relevance, answer faithfulness, and answer relevance, and outlines applications of RAG in education, enterprise search, technical support, research assistance, and document question answering. The analysis concludes that RAG should be viewed as a grounding and evidence-access mechanism rather than a guarantee of hallucination-free generation

Shyalaja L. N., Shantinath Patil, Pruthviraj S. R. et al. · 0 citations
Conference Jul 2026

An On-Premise Multilingual Academic Chatbot using Retrieval-Augmented Generation and Context-Aware Memory for University Assistance

Universities now use Large Language Models (LLMs) to transform their processes for managing student information. The paper introduces an upgraded chatbot system for Narasaraopeta Engineering College (NEC) which extends previous on-premise LLM chatbot research by providing four new functions. The system uses (1) Retrieval-Augmented Generation (RAG) to create citation-based responses through LlamaIndex and ChromaDB, (2) Context Memory which maintains conversation flow during multiple dialogue exchanges, (3) Voice Input through OpenAI Whisper Speech-to-Text (STT) technology, and (4) Multilingual Support which covers English and these seven languages: Hindi, Telugu, Tamil, Kannada, and Malayalam through IndicNLP. The system tested 60 benchmark questions across four academic categories which included regulations and examination policies and fee structures and multilingual queries and achieved 96.7% overall accuracy with sub-second text response times and 1.0–1.4 second voice response times. The system operates entirely on-premise through Docker which safeguards institutional data privacy while eliminating the need for recurring cloud API expenses. The upcoming development will create Emotion-Aware AI, FAQ Auto-Learning, Student Portal Integration, and a Mobile Application.

M. Yaswanth, Kopparapu Sai Amar Durgesh, Mogili Harsha Vardhan et al. · 0 citations
Open access Aug 2026

An Optimization Framework for Retrieval Augmented Generation in Indonesian Educational Question Answering

A RAG optimization framework for Indonesian-language educational question answering using a Human-Computer Interaction learning corpus as a case study is developed and provides a procedure for selecting retrieval and generation settings for a given corpus.

I. K. R. Arthana, N. Gunantara, Made Sudarma et al. · 0 citations
Open access 2026

Evaluating User Experience of a Retrieval-Augmented Generation-Based Customer Service Chatbot

— As digital services become increasingly widespread, online real-time customer support has become a key way for consumers to seek help. A good service experience can boost customer satisfaction and loyalty, particularly in the financial sector. However, traditional keyword-based chatbots often fail to capture users ’ intent, limiting the scenarios in which they can be used. This study introduces a system based on Retrieval-Augmented Generation (RAG) and Large Language Models (LLMs), aiming to better understand user queries and provide more helpful responses. Through interviews and sentiment analysis, we explored user reactions and what influenced their emotional responses. Findings revealed that traditional bots often triggered frustration and confusion due to rigid responses and poor understanding. In contrast, the RAG-based system demonstrated stronger natural language handling and was perceived as more empathetic. Some users even reported feeling emotionally supported. However, slow response times and difficulty in handling complex queries remained challenges. Based on these insights, we suggest improving response speed, adding voice interaction, and enhancing response reliability to guide future development of intelligent customer support tools.

Syuan-Yu Chen, C. Kao · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.