Skip to main navigation Skip to search Skip to main content

Optimizing Confidence Scoring in RAG-Based LLM Chatbots for Technical Support Services: A Prompt Engineering Approach

  • Wing Tung Chan
  • , Kevin Hung
  • , Raymond Ho
  • , Gary Man-Tat Man

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

3 Citations (Scopus)

Abstract

The global shortage of skilled personnel in technical support has spurred significant interest in AI-driven solutions, particularly Large Language Model (LLM)-based customer service chatbots. However, a critical challenge in deploying these systems lies in addressing AI hallucination, wherein models generate responses that are plausible yet factually incorrect. This study investigates a prompt engineering approach to enhance confidence estimation and mitigate AI hallucinations in LLM chatbots. Three distinct prompt strategies - Basic, Advanced, and Combo prompts-are systematically evaluated to improve response reliability. Given that LLMs inherently lack the ability to explicitly express uncertainty (e.g., by stating 'I don't know'), a structured confidence scoring mechanism is employed to refine accuracy and reduce the Expected Calibration Error (ECE). Experimental results reveal that Basic prompts achieve an accuracy of 69.33% (ECE: 23.33), Advanced prompts improve accuracy to 75.33% (ECE: 14.87), and Combo prompts further enhance accuracy to 81.33% while reducing ECE to 8.4. These findings underscore the efficacy of prompt engineering in mitigating AI hallucinations and advancing the performance of LLM chatbots in real-world customer support applications.

Original languageEnglish
Title of host publication15th IEEE Symposium on Computer Applications and Industrial Electronics, ISCAIE 2025
Pages540-545
Number of pages6
Edition2025
ISBN (Electronic)9798331521660
DOIs
Publication statusPublished - 2025
Event15th IEEE Symposium on Computer Applications and Industrial Electronics, ISCAIE 2025 - Penang, Malaysia
Duration: 24 May 2025 → 25 May 2025

Conference

Conference15th IEEE Symposium on Computer Applications and Industrial Electronics, ISCAIE 2025
Country/TerritoryMalaysia
CityPenang
Period24/05/25 → 25/05/25

Keywords

  • AI Hallucination
  • Confidence Score
  • Customer Support
  • LLM Chatbot
  • Prompt Engineering

Fingerprint

Dive into the research topics of 'Optimizing Confidence Scoring in RAG-Based LLM Chatbots for Technical Support Services: A Prompt Engineering Approach'. Together they form a unique fingerprint.

Cite this