Implementasi Langchain dan Large Language Models Dalam Automatic Question Generation Untuk Computer Assisted Test
Open Access
- 3 June 2025
- journal article
- Published by Forum Kerjasama Pendidikan Tinggi (FKPT) in Bulletin of Computer Science Research
- Vol. 5 (4) , 434-446
Abstract
The advancement of Artificial Intelligence (AI), particularly Large Language Models (LLM), presents new opportunities in transforming educational assessment systems. This study aims to implement the LangChain framework integrated with LLM for an Automatic Question Generation (AQG) system within a Computer Assisted Test (CAT) platform, using eleventh-grade Biology subject matter as a case study. The methodology includes data collection from PDF-based instructional materials, text embedding using Facebook AI Similarity Search (FAISS) as the knowledge base, and automatic question generation through the GPT-4o model. The system is developed using a microservices architecture comprising frontend and backend services built with the Next.js, FastAPI, and Express.js frameworks. System evaluation was conducted using the User Acceptance Test (UAT) and the DeepEval framework. The evaluation results show a teacher satisfaction rate of 92.7% and a positive response from students at 67.5%. Meanwhile, the DeepEval assessment reported average scores of 3,69% for hallucination, 97,44% for contextual precision, 83,30% for contextual relevancy, 70,63% for answer relevancy, and 92,47% for prompt alignment. These findings indicate that the integration of LangChain and LLM is effective in generating contextually accurate and relevant questions, although improvements are still needed in answer relevancy. This study is expected to provide an efficient solution for digital-based educational assessment and contribute to future developments in educational AI.Keywords
This publication has 22 references indexed in Scilit:
- Comprehensive Bibliometric Literature Review of Chatbot Research: Trends, Frameworks, and Emerging ApplicationsInternational Journal of Advanced Computer Science and Applications, 2025
- PENGEMBANGAN WEB SERVICE MENGGUNAKAN FRAMEWORK FASTAPI UNTUK MENINGKATKAN KEMUDAHAN INTEGRASI SISTEM INFORMASI AKADEMIK MULTIPLATFORMJurnal Teknoif Teknik Informatika Institut Teknologi Padang, 2024
- PENERAPAN RETRIEVAL AUGEMENTED GENERATION MENGGUNAKAN LANGCHAIN DALAM PENGEMBANGAN SISTEM TANYA JAWAB HADIS BERBASIS WEBZONAsi: Jurnal Sistem Informasi, 2024
- IMPLEMENTASI QUESTION ANSWERING SYSTEM TAFSIR AL-AZHAR MENGGUNAKAN LANGCHAIN DAN LARGE LANGUAGE MODEL BERBASIS CHATBOT TELEGRAMJurnal Teknoif Teknik Informatika Institut Teknologi Padang, 2024
- Large language model based agent for process planning of fiber composite structuresManufacturing Letters, 2024
- Implementasi Sistem Computer-Based Test (CBT) Dalam Pengelolaan Ujian di MAN Insan Cendekia PaserJurnal Tarbiyah dan Ilmu Keguruan Borneo, 2024
- Computer Assessment Test at the Association of Indonesian Independent Housing Experts with Waterfall ModelJurnal CoreIT: Jurnal Hasil Penelitian Ilmu Komputer dan Teknologi Informasi, 2023
- Computerized adaptive assessment of understanding of programming concepts in primary school childrenComputer Science Education, 2021
- Pemilihan Warga Penerima Bantuan Program Keluarga Harapan (PKH) Menggunakan Metode Simple Additive Weighting (SAW) dan User Acceptance Testing (UAT)Jurnal Informatika Universitas Pamulang, 2020
- Artificial Intelligence in Education: A ReviewIEEE Access, 2020