Implementing a Sharia Chatbot as a Consultation Medium for Questions About Islam
By: Wisnu Uriawan , Aria Octavian Hamza , Ade Ripaldi Nuralim and more
This research presents the implementation of a Sharia-compliant chatbot as an interactive medium for consulting Islamic questions, leveraging Reinforcement Learning (Q-Learning) integrated with Sentence-Transformers for semantic embedding to ensure contextual and accurate responses. Utilizing the CRISP-DM methodology, the system processes a curated Islam QA dataset of 25,000 question-answer pairs from authentic sources like the Qur'an, Hadith, and scholarly fatwas, formatted in JSON for flexibility and scalability. The chatbot prototype, developed with a Flask API backend and Flutter-based mobile frontend, achieves 87% semantic accuracy in functional testing across diverse topics including fiqh, aqidah, ibadah, and muamalah, demonstrating its potential to enhance religious literacy, digital da'wah, and access to verified Islamic knowledge in the Industry 4.0 era. While effective for closed-domain queries, limitations such as static learning and dataset dependency highlight opportunities for future enhancements like continuous adaptation and multi-turn conversation support, positioning this innovation as a bridge between traditional Islamic scholarship and modern AI-driven consultation.
Similar Papers
SARHAchat: An LLM-Based Chatbot for Sexual and Reproductive Health Counseling
Computers and Society
Helps people get safe health advice online.
Arabic Chatbot Technologies in Education: An Overview
Computation and Language
Finds few Arabic chatbots use new AI tricks.
Transforming Mentorship: An AI Powered Chatbot Approach to University Guidance
Information Retrieval
AI mentor helps students with university questions.