Implementing a Sharia Chatbot as a Consultation Medium for Questions About Islam
Wisnu Uriawan, Aria Octavian Hamza, Ade Ripaldi Nuralim, Adi Purnama, Ahmad Juaeni Yunus, Anissya Auliani Supriadi Putri

TL;DR
This paper develops a Sharia-compliant chatbot using reinforcement learning and semantic embedding to provide accurate Islamic answers, demonstrating high accuracy and potential for digital religious education.
Contribution
It introduces a novel implementation of a Sharia-compliant chatbot utilizing reinforcement learning and Sentence-Transformers, with a large Islamic QA dataset and a functional mobile interface.
Findings
87% semantic accuracy in testing
Effective across diverse Islamic topics
Potential to enhance religious literacy and digital da'wah
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAI in Service Interactions · Topic Modeling · Wikis in Education and Collaboration
