%0 Journal Article
	%A Md. Ashfaqur Rahman
	%D 2025
	%J International Journal of Computer and Information Engineering
	%B World Academy of Science, Engineering and Technology
	%I Open Science Index 221, 2025
	%T Hallucination Detection and Mitigation in Chatbot: A Multi-Agent Approach with Llama2
	%U https://publications.waset.org/pdf/10014113
	%V 221
	%X Hallucination in Large Language Models (LLMs) poses a significant challenge in chatbot reliability, especially in critical domains such as healthcare, finance, and education. This paper presents a multi-agent approach to hallucination detection and mitigation using Llama2, integrating retrieval-based verification, fact-checking mechanisms, and response correction strategies. The proposed framework consists of specialized agents, including a Web Retrieval Agent that fetches factual information from external sources (e.g., Wikipedia, DuckDuckGo & Google Serper), Fact-Checking Agents that evaluate response accuracy using semantic similarity scoring, a Correction Agent that refines outputs when hallucinations are detected, and a Monitoring Agent that logs hallucination scores and calculates truthfulness metrics. Experimental results demonstrate that incorporating retrieval-augmented generation (RAG) and multi-agent verification significantly reduces hallucination rates. The study highlights the effectiveness of using Llama2 alongside external knowledge sources and multi-agent collaboration to improve chatbot reliability and factual accuracy. Future research will explore reinforcement learning for dynamic agent optimization and enhancing real-time fact verification methods.
	%P 228 - 242