实现一个符合伊斯兰教法的聊天机器人作为咨询媒介以回答关于伊斯兰的问题
Implementing a Sharia Chatbot as a Consultation Medium for Questions About Islam
AI总结:
本研究提出一个基于强化学习和语义嵌入的伊斯兰教法聊天机器人,旨在提升宗教知识获取与数字传教效率。
摘要:
本研究提出了一个符合伊斯兰教法的聊天机器人作为互动媒介,用于咨询关于伊斯兰的问题,利用强化学习(Q学习)结合句子嵌入器(Sentence-Transformers)来确保语义准确的响应。利用CRISP-DM方法论,系统处理了一个经过精心挑选的伊斯兰问答数据集,包含25,000对问题-答案对,这些数据来自权威来源如《古兰经》、圣训和学者的法特瓦,以JSON格式存储以确保灵活性和可扩展性。该聊天机器人原型采用Flask API后端和基于Flutter的移动前端开发,功能性测试中在涵盖教义、信仰、仪式和交易等不同主题方面实现了87%的语义准确性,展示了其在提升宗教素养、数字传教和在工业4.0时代获取验证的伊斯兰知识方面的潜力。尽管在封闭领域查询中表现有效,但静态学习和数据集依赖性等限制凸显了未来改进的机会,如持续适应和多轮对话支持,使这一创新成为传统伊斯兰学术与现代AI驱动咨询之间的桥梁。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。