Fikr: AI Chatbot Powered with Vector Search
Fikr is a cutting-edge chatbot designed to enhance access to Islamic knowledge by leveraging advanced AI technologies such as vector search and Large Language Models (LLMs), including GPT-3.5. Developed using a combination of Streamlit for the frontend, Flask for the backend, and Firebase for data storage and authentication, Fikr provides users with precise and reliable responses, complete with accurate citations from verified sources such as Hadiths and Quranic verses. A key feature of Fikr is its vector-based search capability, which allows for efficient retrieval of semantically relevant information, improving the accuracy of query responses compared to traditional keyword-based methods. The development process encountered challenges, particularly in data vectorization and ingestion, addressed through iterative troubleshooting and data cleaning methods, resulting in a refined dataset of 33,535 entries. Fikr's answer generation algorithm, incorporating vector database results and LLM -generated responses, ensures that users receive contextually appropriate and well-supported answers. Comparative testing with other AI models, including GPT-4 and Gemini, demonstrated Fikr's superior accuracy and source citation performance.
Authors
- Dini Handayani (ORCID: https://orcid.org/0000-0002-1544-0688)
- Zeldi Suryady
- Daniah Al-Madani
- Zahra Khusnul Lathifah (ORCID: https://orcid.org/0000-0003-3624-8983)
- Sulaeman Ramadhani Nurfikri
- Alghifari Muhammad Fahreza
Institutions
- International Islamic University Malaysia (MY)
- Telekom Malaysia Berhad (Malaysia) (MY)
- Universitas Djuanda (ID)
- Arab Open University (SA)
Publication Details
- Published
- 2024-12-11
- DOI
- https://doi.org/10.1109/icced64257.2024.10983626
- Citations
- 1
- Primary Topic
- Topic Modeling
- Type
- article
- Field-Weighted Citation Impact
- 0.35