Korean Medical Consultation With Open-Weight Large Language Models: Pilot Comparative Evaluation of Retrieval-Augmented Generation With Metadata Filtering
JMIR Formative Research · 2026-04-30 · 10 · e72604-e72604
DOI: 10.2196/72604 ↗At a glance
Vergleichsstudie in JMIR Formative Research, published online on 2026-04-30. Written by Saeyoun Choi and 8 co-authors. Institution: MAIN Corp, 1 Gangwon-daehak-gil, Room 1201 (Bodeum-gwan), Chuncheon City, Gangwon Province, 24341, Republic of Korea, 82 10-9840-2120. Major MEDLINE topics: Information Storage and Retrieval, Metadata, Referral and Consultation. 34 references. The full text is freely available in PubMed Central.
Abstract (original language)
Background
This study develops an open-source large language model–based chatbot tailored for Korean health consultations. The chatbot was implemented using the retrieval-augmented generation (RAG) technique alongside metadata filtering to enhance its performance.
Objective
This study aims to analyze and compare the performance of a RAG-based chatbot with other leading language models in the context of Korean health consultations.
Methods
A 10.4 GB Korean medical document corpus (487,277 segments) was constructed from official websites of major Korean hospitals, public health sources, and medical textbooks. This study quantitatively compared 5 open-source large language models (Qwen3:4B, Mistral:7B, Llama-3.1:8B, Gpt-Oss:20B, and Gemma3:27B) in 3 configurations: baseline (model only), RAG-only, and RAG with metadata filtering. The RAG system used a specialized Korean embedding model (upskyy/bge-m3-korean) and an Elasticsearch store. Performance was assessed by an emergency medicine specialist using a validation set of 226 questions across 7 common diseases and scoring responses based on accuracy, safety, and helpfulness.
Results
The application of RAG alone failed to yield statistically significant performance improvements and, in some cases (Llama 3.1: 8B and Gemma 3: 27B), resulted in decreased scores. However, the combination of RAG with metadata filtering yielded statistically significant ( P
Subjects
MeSH terms (MEDLINE)
Author keywords
Authors and institutions
- MAIN Corp, 1 Gangwon-daehak-gil, Room 1201 (Bodeum-gwan), Chuncheon City, Gangwon Province, 24341, Republic of Korea, 82 10-9840-2120.
- Department of Industrial and Systems Engineering, Dongguk University, Seoul, Republic of Korea.
- InVisionLab Inc, Seoul, Republic of Korea.
- Department of Healthcare Management, Gachon University, Seongnam, Republic of Korea.
- KOI Healthcare Co, Ltd, Seongnam, Republic of Korea.
- Department of Preventive Medicine, College of Medicine, University of Ulsan, Seoul, Republic of Korea.
ORCID profiles: Saeyoun Choi, Donghyun Kim, Ji-Hwan Jeon, Minji Kim, Dong Hun Lee, DaeHwan Ahn, Eu Sun Lee, Yoon Ji Kim, Hyun Youk
Cite
APA
Choi, S., Kim, D., Jeon, J. H., Kim, M., Lee, D. H., Ahn, D., Lee, E. S., Kim, Y. J., & Youk, H. (2026). Korean Medical Consultation With Open-Weight Large Language Models: Pilot Comparative Evaluation of Retrieval-Augmented Generation With Metadata Filtering. JMIR Formative Research, 10, e72604-e72604. https://doi.org/10.2196/72604
Vancouver
Choi S, Kim D, Jeon JH, Kim M, Lee DH, Ahn D, et al. Korean Medical Consultation With Open-Weight Large Language Models: Pilot Comparative Evaluation of Retrieval-Augmented Generation With Metadata Filtering. JMIR Formative Research. 2026;10:e72604-e72604. doi:10.2196/72604
BibTeX
@article{Choi2026,
author = {Choi, Saeyoun and Kim, Donghyun and Jeon, Ji-Hwan and Kim, Minji and Lee, Dong Hun and Ahn, DaeHwan and Lee, Eu Sun and Kim, Yoon Ji and Youk, Hyun},
title = {Korean Medical Consultation With Open-Weight Large Language Models: Pilot Comparative Evaluation of Retrieval-Augmented Generation With Metadata Filtering},
journal = {JMIR Formative Research},
year = {2026},
volume = {10},
pages = {e72604--e72604},
doi = {10.2196/72604}
}
EUVIMED