CHATBOT FAQ TELEGRAM BERBASIS PYTHON DAN RETRIEVAL TEKS

DOI: https://doi.org/10.33650/coreai.v7i1.15554
Authors

(1) * Mochammad Faid   (Universitas Nurul Jadid)  
        Indonesia
(*) Corresponding Author

Abstract


Artikel ini membahas implementasi chatbot FAQ Telegram yang dikembangkan menggunakan Python. Permasalahan yang diangkat adalah sulitnya menyediakan jawaban cepat dan konsisten terhadap pertanyaan layanan publik yang berulang, terutama ketika basis pengetahuan berjumlah besar dan sering berubah. Sistem yang diusulkan menyimpan pasangan pertanyaan dan jawaban di mem ori, mengekstraksi entri FAQ dari teks bebas, kemudian mengam bil jawaban terdekat menggunakan kemiripan teks melalui pustaka difflib. Bot juga dilengkapi menu tombol, mode kuis, reset FAQ, pembaruan FAQ dari pengguna, serta opsi perapihan jawaban meng gunakan model bahasa besar yang tetap dibatasi oleh konteks hasil pencarian. Analisis statis terhadap implementasi menunjukkan ter dapat 14 fungsi utama, 273 pasangan FAQ bawaan, dan 100 soal kuis. Hasil menunjukkan bahwa pendekatan retrieval ringan dapat digunakan sebagai prototipe praktis otomasi FAQ, meskipun masih memerlukanpenguatan keamanan, penyimpananpersisten, dan eval uasi dengan pertanyaan pengguna nyata


Keywords

chatbot FAQ; Telegram Bot; Python; retrieval teks; pencocokan fuzzy







References


J. Weizenbaum, “ELIZA - A computer program for the study of natural language communication between man and machine,” Communications of the ACM, vol. 9, no. 1, pp. 36-45, 1966.

E. Adamopoulou and L. Moussiades, “Chatbots: History, technology, and applications,” Machine Learning with Applications, vol. 2, Art. no. 100006, 2020.

B. A. Shawar and E. Atwell, “Chatbots: Are they really useful?” LDV Forum, vol. 22, no. 1, pp. 29-49, 2007.

C. D. Manning, P. Raghavan, and H. Schuetze, Introduction to Information Retrieval. Cambridge, U.K.: Cambridge University Press, 2008.

J. W. Ratcliff and D. E. Metzener, “Pattern matching: The Gestalt approach,” Dr. Dobb’s Journal, vol. 13, no. 7, pp. 46-72, 1988.

Python Software Foundation, “difflib - Helpers for computing deltas,” Python 3 Documentation. Accessed: May 3, 2026. [Online]. Available: https://docs.python.org/3/library/difflib.html

python-telegram-bot Authors, “python-telegram-bot documentation.” Accessed: May 3, 2026. [Online]. Available: https://docs.python-telegram-bot.org/

Telegram, “Telegram Bot API.” Accessed: May 3, 2026. [Online]. Available: https://core.telegram.org/bots/api

OWASP Foundation, “Secrets Management Cheat Sheet.” Accessed: May 3, 2026. [Online]. Available: https://cheatsheetseries.owasp.org/cheatsheets/Secrets_Management_Cheat_Sheet.html

OpenRouter, “Quickstart Guide.” Accessed: May 3, 2026. [Online]. Available: https://openrouter.ai/docs/quickstart


Dimensions, PlumX, and Google Scholar Metrics

10.33650/coreai.v7i1.15554


Refbacks

  • There are currently no refbacks.


Copyright (c) 2026 Mochammad Faid .

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


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

COREAI: Jurnal Kecerdasan Buatan, Komputasi dan Teknologi Informasi

Published by Technic Faculty of Nurul Jadid University, Probolinggo, East Java, Indonesia.