WhatsApp Workout Assistant Chatbot with Gemini Large Language Model Integration and spaCy
Chatbot WhatsApp Asisten Workout dengan Integrasi Large Language Model Gemini dan spaCy
DOI:
https://doi.org/10.21070/ups.7006Keywords:
Workout, Chatbot, Natural Language Processing, Gemini, Large Language ModelAbstract
Exercise is essential for physical and mental health, reducing the risk of chronic diseases. However, the 2022 World Health Organization (WHO) report shows that 1.4 billion adults worldwide remain physically inactive. This research develops an exercise assistance chatbot to support individuals in maintaining a consistent workout routine. The system follows the Software Development Life Cycle (SDLC) iterative incremental model, with Natural Language Processing (NLP) via spaCy for text processing. The chatbot integrates Gemini’s Large Language Model (LLM) API for response generation. Evaluation results show strong performance, with an accuracy of 79%, precision of 85%, recall of 79%, and an F1-score of 77%. Black-box testing recorded a 91.67% success rate across 12 test scenarios. These results demonstrate that the exercise assistance chatbot effectively encourages a healthy lifestyle and serves as a practical solution for promoting physical activity.
Downloads
References
S. Salahudin and R. Rusdin, “Olahraga Menurut Pandangan Agama Islam,” JISIP (Jurnal Ilmu Sosial dan Pendidikan), vol. 4, no. 3, Jul. 2020, doi: 10.58258/jisip.v4i3.1236.
J. F. Hovland, E. Langeland, O. Ness, and B. O. Skogvang, “Experiences with physical activity, health and well-being among young adults with serious mental illness,” Int J Qual Stud Health Well-being, vol. 18, no. 1, 2023, doi: 10.1080/17482631.2023.2221911.
M. A. Elmagd, “Benefits, need and importance of daily exercise,” ~ 22 ~ International Journal of Physical Education, Sports and Health, vol. 3, no. 5, pp. 22–27, 2016, [Online]. Available: www.kheljournal.com
World Health Organization (WHO), “Global status report on physical activity 2022,” 2022. Accessed: Jun. 06, 2024. [Online]. Available: https://www.who.int/teams/health-promotion/physical-activity/global-status-report-on-physical-activity-2022
D. Ding et al., “Realigning the physical activity research agenda for population health, equity, and wellbeing,” The Lancet, vol. 404, no. 10451, pp. 411–414, Aug. 2024, doi: 10.1016/S0140-6736(24)01540-X.
F. H. D. K. Man and Joko Sutopo, “Rancang Bangung Aplikasi Monitoring Latihan Kebugaran Jasmani Berbasis Internet of Things,” Jurnal Komputer Terapan, vol. 9, no. 2, pp. 173–181, Dec. 2023, doi: 10.35143/jkt.v9i2.6183.
S. R. Lola, R. Dhadvai, W. Wang, and T. Zhu, “Chatbot for fitness management using IBM Watson,” Dec. 2021, [Online]. Available: http://arxiv.org/abs/2112.15167
F. P. Cardenas Hernandez, J. Schneider, D. Di Mitri, I. Jivet, and H. Drachsler, “Beyond hard workout: A multimodal framework for personalised running training with immersive technologies,” 2024, John Wiley and Sons Inc. doi: 10.1111/bjet.13445.
D. Damayanti and A. K. Nuzuli, “Studi Kasus Implementasi Teknologi Chatbot sebagai Asisten Virtual dalam Menjawab Pertanyaan Mahasiswa di Lingkungan Kampus,” Reslaj : Religion Education Social Laa Roiba Journal, vol. 6, no. 3, pp. 1178–1192, Sep. 2023, doi: 10.47467/reslaj.v6i3.4858.
H. Eka Rosyadi, F. Amrullah, R. David Marcus, and R. Rahman Affandi, “Rancang Bangun Chatbot Informasi Lowongan Pekerjaan Berbasis Whatsapp dengan Metode NLP (Natural Language Processing),” BRILIANT: Jurnal Riset dan Konseptual, vol. 5, 2020, doi: 10.28926/briliant.
N. Noor Kamala Sari, J. Irawan, and V. Handrianus Pranatawijaya, “Implementasi Gemini API untuk Generatif Teks Deskripsi Karya Otomatis dalam Aplikasi Pameran Berbasis Web dengan Metode Waterfall,” 2024. [Online]. Available: https://doi.org/10/25047/jtit.v11i1.356
S. Aprilia, R. Agustin, V. H. Pranatawijaya, and N. N. K. Sari, “Penerapan API Gemini dalam Layanan Peminjaman Novel Online pada Website Cozybook,” Jurnal Informatika dan Teknik Elektro Terapan, vol. 12, no. 3, Aug. 2024, doi: 10.23960/jitet.v12i3.4508.
P. A. Alia, R. W. Febriana, J. S. Prayogo, and R. Kriswibowo, “Implementation Chatbot on Whatsapp Using Artificial Intelligence With Natural Language Processing Method,” ELECTRON Jurnal Ilmiah Teknik Elektro, vol. 5, no. 1, pp. 8–14, May 2024, doi: 10.33019/electron.v5i1.134.
M. Imran and N. Almusharraf, “Google Gemini as a next generation AI educational tool: a review of emerging educational technology,” Dec. 01, 2024, Springer. doi: 10.1186/s40561-024-00310-z.
A. Almustaqim and A. N. Toscany, “Perancangan Sistem Chatbot sebagai Virtual Assistant pada PT. Everbright Jambi,” SKANIKA, vol. 5, no. 2, pp. 228–239, Jul. 2022, doi: 10.36080/skanika.v5i2.2953.
W. N. Akirini et al., “Perancangan Aplikasi Layanan Customer Service Menggunakan Chatbot Berbasis Website pada PT. Telekomunikasi Indonesia Witel Cirebon,” Jurnal Digit: Digital of Information Technology, vol. 14, no. 1, p. 79, Jun. 2024, doi: 10.51920/jd.v14i1.374.
R. A. Pratama and A. Fira Waluyo, “Implementasi Sistem E-Commerce Berbasis Mobile Android Menggunakan REST API dan Web Service pada Perusahaan Percetakan,” Journal of Information Technology and Computer Science (INTECOMS), vol. 7, no. 6, 2024, doi: https://doi.org/10.31539/intecoms.v7i6.12786.
A. S. Dewantara and J. Aryanto, “Implementation Of A Web-Based Chatbot Using Machine Learning For Question And Answer Services In Universities,” Advance Sustainable Science, Engineering and Technology, vol. 6, no. 1, Jan. 2024, doi: 10.26877/asset.v6i1.17590.
D. Prasetyo, “Rancang Bangun Sistem Informasi Manajemen Persediaan Barang Menggunakan Metode System Development Life Cycle (SDLC) di SMA Negeri 1 SoE,” Jurnal Digit: Digital of Information Technology, vol. 14, no. 2, pp. 100–108, 2024.
O. J. Okesola, A. A. Adebiyi, A. A. Owoade, O. Adeaga, O. Adeyemi, and I. Odun-Ayo, “Software Requirement in Iterative SDLC Model,” in Advances in Intelligent Systems and Computing, Springer, 2020, pp. 26–34. doi: 10.1007/978-3-030-51965-0_2.
I. Sommerville, Software Engineering. in International Computer Science Series. Pearson, 2011. [Online]. Available: https://books.google.co.id/books?id=l0egcQAACAAJ
R. Rosidin, R. Andreswari, and E. N. Alam, “Building Titipmasa.id Application Using Iterative Incremental Method,” in Proceedings of the International Seminar of Science and Applied Technology (ISSAT 2020), Paris, France: Atlantis Press, 2020. doi: 10.2991/aer.k.201221.059.
W. Novianti, R. Amalia, and F. S. Hasanusi, “Implementasi Metode Iterative Incremental pada Sistem Administrasi Organisasi Gerakan Antasari Sedekah Jakarta,” Jurnal Riset dan Aplikasi Mahasiswa Informatika (JRAMI), vol. 2, no. 03, Jul. 2021, doi: 10.30998/jrami.v2i03.1114.
L. K Gautam, “Natural Language Processing - Based Structured Data Extraction from Unstructured Clinical Notes,” International Journal of Science and Research (IJSR), vol. 13, no. 4, pp. 1541–1544, Apr. 2024, doi: 10.21275/sr24422134801.
M. A. Rosid, A. S. Fitrani, I. R. I. Astutik, N. I. Mulloh, and H. A. Gozali, “Improving Text Preprocessing for Student Complaint Document Classification Using Sastrawi,” in IOP Conference Series: Materials Science and Engineering, Institute of Physics Publishing, Jul. 2020. doi: 10.1088/1757-899X/874/1/012017.
T. Radillah, O. Veza, and S. Defit, “Analisis Perbandingan Model Bert Dan Xlnet Untuk Klasifikasi Tweet Bully Pada Twitter,” Jurnal Teknologi Informasi dan Ilmu Komputer, vol. 11, no. 6, pp. 1371–1376, Dec. 2024, doi: 10.25126/jtiik.1169096.
I. D. Haryanto and S. Saefurrahman, “Implementasi Chatbot Kesehatan Kucing Melalui Dialogflow dan Telegram untuk Pemberian Informasi Penyakit dan Perawatan,” JTIM : Jurnal Teknologi Informasi dan Multimedia, vol. 5, no. 4, pp. 365–376, Feb. 2024, doi: 10.35746/jtim.v5i4.484.
N. Nirsal, S. Bantun, J. Y. Sari, A. N. M. Auliani, and M. Syaiful, “Implementasi Quick Response Code pada Aplikasi Series (Sistem Informasi Inventaris) Lab Terpadu USN Kolaka,” semanTIK, vol. 8, no. 1, p. 17, Jun. 2022, doi: 10.55679/semantik.v8i1.25529.
Downloads
Additional Files
Posted
License
Copyright (c) 2025 UMSIDA Preprints Server

This work is licensed under a Creative Commons Attribution 4.0 International License.
