Vol. 7 No. 1 (2026) Articles
Open Access

Implementasi Chatbot Cuaca Berbasis SBERT dan LLM Gemini Menggunakan OpenWeather API

Hanif luthfi Irfanudin
Universitas Mercu Buana
Mohamad Yusuf
Universitas Mercu Buana
Published: January 10, 2026 Pages: 218-228
Original Full-Text Article
Download published version for reading and archiving
Abstract

This study discusses the development of a Natural Language Processing (NLP)-based weather chatbot dashboard capable of receiving natural Indonesian language queries and displaying weather information interactively. The system combines Sentence-BERT (SBERT) paraphrase-multilingual-MiniLM-L12-v2 as a text similarity engine, Gemini 2.5-flash Large Language Model (LLM) as a natural language summary generator, and the OpenWeather API as a real-time weather data source. A zero-shot semantic similarity approach is used without fine-tuning, with intent determination based on cosine similarity and a threshold of 0.5 optimized through testing several threshold values. The development method used is the Waterfall model with stages of requirements analysis, architectural design, NLP module implementation and API integration, React dashboard frontend development, as well as functional black-box testing and performance metric evaluation. The test results show that SBERT with a threshold of 0.5 produces an intent classification accuracy of 90% in 20 test scenarios, which increases to 100% after being combined with rule-based auto-adjust and fallback mechanisms. City entity extraction with a 1–3 word sliding window against city.list.json achieved 100% accuracy on 15 city-based queries, while macro metrics yielded a precision of 0.9286, a recall of 0.90, and an F1‑score of 0.8958. The integration of the OpenWeather API and Gemini enables the presentation of natural, informative weather summaries and visualization of real-time weather data in the form of interactive graphs on a React-based dashboard.

Article Metrics & Downloads Graph
Monthly Download Trends:
Author Biographies
Hanif luthfi Irfanudin Universitas Mercu Buana

Program Studi Teknik Informatika, Fakultas Ilmu Komputer, Universitas Mercu Buana,  Kota Jakarta Barat, Daerah Khusus Ibukota Jakarta, Indonesia.

Mohamad Yusuf Universitas Mercu Buana

Program Studi Teknik Informatika, Fakultas Ilmu Komputer, Universitas Mercu Buana,  Kota Jakarta Barat, Daerah Khusus Ibukota Jakarta, Indonesia.

How to Cite
Irfanudin, H. luthfi, & Yusuf, M. (2026). Implementasi Chatbot Cuaca Berbasis SBERT dan LLM Gemini Menggunakan OpenWeather API. Jurnal Indonesia : Manajemen Informatika Dan Komunikasi, 7(1), 218-228. https://doi.org/10.63447/jimik.v7i1.1770
License

Creative Commons Attribution 4.0 International License (CC BY 4.0)

This is an open-access article distributed under the terms of the Creative Commons Attribution 4.0 International License .

  • Share: You are free to copy, distribute, and transmit the work in any medium or format.
  • Adapt: You are free to remix, transform, and build upon the work for any purpose, even commercially.
  • Attribution: You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
Copyright & Retention: Authors retain copyright without restrictions and grant this journal the right of first publication under an open-access model. The journal retains non-exclusive publishing rights for archiving, indexing, and scholarly dissemination.

References
Total: 16 References
  1. Abdul, M., Fathuddin, H., Prakarsa Mandyartha, E., & Nurlaili, A. L. (2025). Penerapan Sentence-BERT dan cosine similarity untuk pencarian semantik dokumen skripsi dalam format PDF. R2J, 8(1). https://doi.org/10.38035/rrj.v8i1.
  2. Amur, Z. H., Kwang Hooi, Y., Bhanbhro, H., Dahri, K., & Soomro, G. M. (2023). Short-text semantic similarity (STSS): Techniques, challenges and future perspectives. Applied Sciences (Switzerland), 13(6). MDPI. https://doi.org/10.3390/app13063911.
  3. Bharath, D., Dolok Lauro Sitorus, M., Teknologi Informasi, F., & Tarumanagara, U. (2024). Perancangan dashboard sebagai perbandingan visualisasi data iklim BMKG di Jakarta. Journal of Information Technology and Computer Science (INTECOMS), 7(6).
  4. Hardiman, J. P. W., Thio, D. C., Zakiyyah, A. Y., & Meiliana. (2024). AI-powered dialogues and quests generation in role-playing games using Google’s Gemini and Sentence-BERT framework. Procedia Computer Science, 245(C), 1111–1119. https://doi.org/10.1016/j.procs.2024.10.340.
  5. Holis, R. M., Utomo, P. E. P., & Hutabarat, B. F. (2025). Semantic FAQ chatbot using SBERT (Sentence-BERT) and cosine similarity for academic services. Brilliance: Research of Artificial Intelligence, 5(2), 915–922. https://doi.org/10.47709/brilliance.v5i2.7027.
  1. Khadija, M. A., Harjito, B., Saberi, M., Paradhita, A. N., & Nurharjadmo, W. (2025). Generative Indonesian chatbot for university major selection using transformers embedding. IAES International Journal of Artificial Intelligence, 14(4), 3474–3482. https://doi.org/10.11591/ijai.v14.i4.pp3474-3482.
  2. Lee, J. S., & Hsiang, J. (2020). Patent classification by fine-tuning BERT language model. World Patent Information, 61. https://doi.org/10.1016/j.wpi.2020.101965.
  3. Owen, C., & Suhartono, D. (2025). Intent classification in artificial intelligence-based customer service chatbot for e-wallet service providers. International Journal of Computing and Digital Systems, 17(1). https://doi.org/10.12785/ijcds/1571046212.
  4. Peyton, K., & Unnikrishnan, S. (2023). A comparison of chatbot platforms with the state-of-the-art Sentence-BERT for answering online student FAQs. Results in Engineering, 17. https://doi.org/10.1016/j.rineng.2022.100856.
  5. Rashid, H. W., & Ahmed, S. H. (2025). Fine-tuning SBERT for semantic research title classification in trilingual university repository. Kurdistan Journal of Applied Research, 10(2), 119–135. https://doi.org/10.24017/science.2025.2.9.
  6. Rusydi, A. S., Win Afgani, Fatimah, Dian Septaria, Salsabila, & Gebriella Zahira. (2024). Metode penelitian kuantitatif pendekatan ilmiah untuk analisis data. Jurnal Review Pendidikan dan Pengajaran, 7(3), 11279–11289.
  7. Safitri, L., & Erfina, A. (2025). Analisis sentimen perbandingan Lange Language Model study kasus: GPT, Gemini dan Llama menggunakan BERT sentiment analysis. Jurnalnya Orang Pintar Komputer, 14(3). https://doi.org/10.30591/smartcomp.v13i1.8373.
  8. Setiawan, E. I., Purnomo, M. H., & Saputra, D. G. (2024). Pemrograman multiplatform dengan Flutter dilengkapi pengembangan AI chatbot dan retrieval augmented generation dengan Gemini. Deepublish.
  9. Siddik Hasibuan, M., Rifqi Al Fauzan, M., Komputer, I., dan Teknologi, S., & Islam Negeri Sumatera Utara, U. (2024). Kombinasi TF-IDF dan Neural Network untuk pelayanan informasi Al-Qur’an dalam bentuk chatbot. Jurnal Fasilkom, 14(2), 318–324.
  10. Sopyandi, D., Tria Sati, A., Prabowo, A., Maulana Putra Setya, D., Agung Nugroho, F., Studi Teknik Informatika Universitas Pamulang, P., Raya Puspitek, J., Pamulang, K., & Tangerang Selatan, K. (2024). Bangun aplikasi tracking cuaca (Weather App) menggunakan public API berbasis website. Jurnal Ilmiah Wahana Pendidikan, 2024(20), 209–215. https://doi.org/10.5281/zenodo.14274718.
  11. Tat, O., & Aydoğan, İ. (2024). Discovering hidden patterns: Applying topic modeling in qualitative research. Journal of Measurement and Evaluation in Education and Psychology, 15(3), 247–259. https://doi.org/10.21031/epod.1539694.
Similar Articles

Articles sharing related keywords and machine learning classifications:

Aplikasi Chatbot Rekomendasi Laptop Menggunakan Natural Language Processing
SISTEM REKOMENDASI FILM MENGGUNAKAN METODE CONTENT-BASED FILTERING STUDI KASUS MATERI DATA MINING DI SMK IDN BOARDING SCHOOL
IMPLEMENTASI WEB SERVICE PADA SISTEM LAPORAN ARUS KAS DENGAN METODE RESTFUL API STUDI KASUS YAYASAN RUMAH DERMAWAN INDONESIA
Pembuatan Chatbot Telegram untuk Layanan Pencarian Al-Quran
Implementasi REST API Aplikasi Pendaftaran Siswa Baru di SMA Hikmah Yapis Papua Berbasis Android