Penerapan Chatbot pada Aplikasi Web Tanya Jawab Tentang Fiqih Jual Beli Islam Menggunakan LangChain
Abstract
Fiqh is the field that studies Islamic rules on how humans behave, both in speech and action. Islamic Fiqh of buying and selling is a branch of fiqh that concentrates on the laws and rules relating to transactions and social interactions that occur in the daily lives of Muslims. There are many sources of learning about the fiqh of buying and selling, including books and the internet. However, manual searches can take a long time and make it difficult for some people to gain in-depth understanding. The application of a chatbot to a question and answer web application can provide a solution to provide easier access. This research aims to provide an effective and efficient solution in understanding fiqh muamalah (Islamic buying and selling). This research develops a question and answer system about the fiqh of Islamic buying and selling to make it easier for users to understand, by utilizing a deep learning approach through technologies such as LangChain, OpenAI, Large Language Model, and ChatGPT 3.5 turbo. Implementation is done through a chatbot web application that provides an initial display and menu, allowing users to ask questions about the fiqh of Islamic buying and selling and see the answers and references. Testing was conducted by students of UIN Sultan Syarif Kasim Riau and an ustaz who has a good understanding of fiqh muamalah using ten questions that were tested through the question and answer web application as a guide. The test results showed an answer evaluation of 88.8% with a very suitable category regarding the correctness of the responses given.
Downloads
References
Mardiah, “Pengembangan Media Pembelajaran Fiqih Berbasis Android Untuk Meningkatkan Penguasaan Materi Peserta Didik Madrasah Aliyah Ma’arif Qasmiyah Polewali Mandar,” jurnal pendidikan islam, vol. 5, pp. 108–123, 2021.
Hidayatullah, Fiqh, Cetakan Pertama 2019. Banjirmasin: Universitas Islam Kalimantan Muhammad Arsyad Al-Banjari, 2019.
Wahyuddin, “Pembidangan Ilmu Fiqih,” vol. I, no. 2, 2020, [Online]. Available: http://deskripsimakalah.blogspot.com/2017/01/pembidangan-ilmu-fiqh.html?m,
Dian Pramana, “Perancangan Aplikasi Fiqih Berbasis Web Dengan .NET Framework,” Seminar Nasional Sistem Informasi dan Teknologi Informasi, vol. 12, 2018.
R. P. Heriawan and N. Hayatin, “Aplikasi Tanya Jawab Otomatis Seputar Rekayasa Perangkat Lunak Dengan Menggunakan Metode Cosine Similarity Berbasis Android,” Repositor, vol. 2, no. 9, pp. 1183–1194, 2020.
R. F. Saldhi, Z. K. A. Baizal, and R. Dharayani, “Question Answering System at the Kingdom of Sumedang Larang with Naïve Bayes Method,” Journal of Computer System and Informatics (JoSYC), vol. 3, no. 4, pp. 322–329, 2022, doi: 10.47065/josyc.v3i4.2079.
R. Rosyadi and S. Al-Faraby, “Penerapan Question Answering System Pada Pembahasan Agama Islam Dengan Pendekatan Metode Pattern Based,” Media Informatika Budidarma, vol. 2, no. 4, 2018.
Y. Saputra and E. S. Nurpajriah, “Perancangan Strategis Sistem Informasi Question Answering System dengan Menggunakan Metode Rule-Based Tentang Nabi Ibrahim a.s dan Nabi Muhammad saw,” IJNU: Indonesian Journal of Nahdlatul Ulama E, vol. 1, no. 1, 2023.
A. N. Khusna and M. M. Mardhia, “Perancangan Aplikasi Question Answering System Pada Terjemahan Alquran,” Journal of Information System Management (JOISM), vol. 1, no. 1, pp. 8–12, 2019, doi: 10.24076/joism.2019v1i1.19.
T. Tahsin Mayeesha, A. Md Sarwar, and R. M. Rahman, “Deep learning based question answering system in Bengali,” Journal of Information and Telecommunication, vol. 5, no. 2, pp. 145–178, 2021, doi: 10.1080/24751839.2020.1833136.
D. T. Phuc, D. Van Nghiem, B. B. Minh, T. M. Linh, and D. S. Hieu, “Apply deep learning to improve the question analysis model in the Vietnamese question answering system,” International Journal of Electrical and Computer Engineering, vol. 13, no. 3, pp. 3311–3321, 2023, doi: 10.11591/ijece.v13i3.pp3311-3321.
H. Husamuddin, D. Boedi Prasetyo, and H. Cahya Rustamadji, “OTOMATISASI LAYANAN FREQUENTLY ASK QUESTIONS BERBASIS NATURAL LANGUGAE PROCESSING PADA TELEGRAM BOT,” TELEMATIKA, vol. 17, no. 2, pp. 145–157, 2020.
N. Tejaswisni, Vidya S, and Dr. T Vijaya Kumar, “LangChain-Powered Virtual Assistant for PDF Communication,” International Research Journal of Modernization in Engineering Technology and Science, Jul. 2023, doi: 10.56726/irjmets43587.
O. Topsakal and T. C. Akinci, “Creating Large Language Model Applications Utilizing LangChain: A Primer on Developing LLM Apps Fast,” International Conference on Applied Engineering and Natural Sciences, vol. 1, no. 1, pp. 1050–1056, Jul. 2023, doi: 10.59287/icaens.1127.
I. O. William and M. Altamimi, “Large Language Model for Creative Writing and Article Generation,” International Journal of Advanced Natural Sciences and Engineering Researches, 2024, [Online]. Available: https://as-proceeding.com/index.php/icsis
D. Chen, “Challenges of Natural Language Processing from a Linguistic Perspective,” International Journal of Education and Humanities, vol. 13, no. 2, 2024.
A. Primadita, M. Arif Bijaksana, and E. Darwiyanto, “Pencarian Kesamaan Redaksional pada Terjemahan Al-Quran Bahasa Indonesia Menggunakan Metode Rule-based Chunking,” Jurnal Linguistik Komputasional, vol. 3, no. 1, 2020.
N. N. Moon et al., “Natural language processing based advanced method of unnecessary video detection,” International Journal of Electrical and Computer Engineering, vol. 11, no. 6, pp. 5411–5419, Dec. 2021, doi: 10.11591/ijece.v11i6.pp5411-5419.
P. Kavehzadeh, M. M. Abdollah Pour, and S. Momtazi, “A Transformer-based Approach for Persian Text Chunking,” Technology Journal of Artificial Intelligence and Data Mining, vol. 10, no. 3, pp. 373–383, 2022, doi: 10.22044/jadm.2022.11035.2250.
Y. Ahn, E. Rhee, and J. Lee, “Dual embedding with input embedding and output embedding for better word representation,” Indonesian Journal of Electrical Engineering and Computer Science, vol. 27, no. 2, pp. 1091–1099, Aug. 2022, doi: 10.11591/ijeecs.v27.i2.pp1091-1099.
I. Moudhich and A. Fennan, “Evaluating sentiment analysis and word embedding techniques on Brexit,” IAES International Journal of Artificial Intelligence (IJ-AI), vol. 13, no. 1, p. 695, Mar. 2024, doi: 10.11591/ijai.v13.i1.pp695-702.
I. R. Wijayanto, I. Cholissodin, and Y. A. Sari, “Pengaruh Metode Word Embedding dalam Vector Space Model pada Pemerolehan Informasi Materi IPA Siswa SMP,” Jurnal Pengembangan Teknologi Informasi dan Ilmu Komputer, vol. 5, no. 3, pp. 950–959, 2021, [Online]. Available: http://j-ptiik.ub.ac.id
A. Nurdin, B. Anggo, S. Aji, A. Bustamin, and Z. Abidin, “Perbandingan Kinerja Word Embedding Word2Vec, Glove, dan FastText Pada Klasifikasi Teks,” Jurnal Teknokompak, vol. 14, no. 2, p. 74, 2020.
A. I. Abdulsada, D. G. Honi, and S. Al-Darraji, “Efficient multi-keyword similarity search over encrypted cloud documents,” Indonesian Journal of Electrical Engineering and Computer Science, vol. 23, no. 1, pp. 510–518, Jul. 2021, doi: 10.11591/ijeecs.v23.i1.pp510-518.
M. Zhang, L. Yang, Y. Dong, J. Wang, and Q. Zhang, “Picture semantic similarity search based on bipartite network of picture-tag type,” PLoS One, vol. 16, no. November, Nov. 2021, doi: 10.1371/journal.pone.0259028.
Y. Hanyf and H. Silkan, “A fast and scalable similarity search in high-dimensional image datasets,” International Journal of Computer Applications in Technology, vol. 59, no. 1, p. 95, 2019, doi: 10.1504/ijcat.2019.10018181.
Y. Hanyf and H. Silkan, “A queries-based structure for similarity searching in static and dynamic metric spaces,” Journal of King Saud University - Computer and Information Sciences, vol. 32, no. 2, pp. 188–196, Feb. 2020, doi: 10.1016/j.jksuci.2018.05.004.
M. Hasnain, B. Mehboob, and S. Imran, “The role of ChatGPT in sports trauma: a mini review on strengths and limits of open AI application,” Discover Artificial Intelligence, vol. 3, no. 1, p. 40, Nov. 2023, doi: 10.1007/s44163-023-00093-1.
Q. Rizqie, N. Afifah, and A. Bardadi, “Eksplorasi Penggunaan Large Language Model (LLM) dalam Pembangunan Permainan Minesweeper dengan Python Programming,” NetPLG Journal of Network and Computer Applications, vol. 2, no. 3, 2023, [Online]. Available: https://jurnal.netplg.com/jnca
Wulandari, H. Hasugian, and Nofiyani, “User Acceptance Testing (UAT) pada Electornic Data Prepocessing Guna Mengetahui Kualitas Sistem,” Jurnal Mahasiswa Ilmu Komputer, vol. 4, no. 1, pp. 20–27, 2023.
A. Farroh Hasan, Fiqh Muammalah dari Klasik hingga Kontemporer (Teori dan Praktek), Cetakan I. Malang: UIN-Maliki Malang Press, 2018. [Online]. Available: www.malikipress.uin-malang.ac.id
Subairi, Fiqh Muamalah. Jl. Masjid Nurul Falah Lekoh Barat Bangkes Kadur Pamekasan: Duta Media Publishing, 2021.
U. Hani, Fiqih Muamalah, Cetakan Pertama. Banjarmasin: Universitas Islam Kalimantan Muhammad Arsyad Al-Banjary, 2021.
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Penerapan Chatbot pada Aplikasi Web Tanya Jawab Tentang Fiqih Jual Beli Islam Menggunakan LangChain
Pages: 548-557
Copyright (c) 2024 Nurhapiza Nurhapiza, Nazaruddin Safaat Harahap, Muhammad Fikry, Muhammad Affandes

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (Refer to The Effect of Open Access).






















