Laporkan Masalah

MODEL CHATBOT BERBASIS CRM UNTUK PERSONALISASI LAYANAN ADUAN PUBLIK MENGGUNAKAN RIWAYAT INTERAKSI PELANGGAN

Nurul Widyastuti, Prof. Dr. Ir. Ridi Ferdiana, S.T., M.T., IPM.; Prof. Ir. Lukito Edi Nugroho, M.Sc., Ph.D.

2026 | Tesis | S2 Teknologi Informasi

Layanan aduan WiFi Padukuhan Sleman masih bergantung pada satu admin yang merespons keluhan secara manual, sementara chatbot berbasis pola statis belum mampu mengenali variasi kalimat aduan sehingga relevansi jawabannya rendah. Penelitian ini merancang dan mengevaluasi model chatbot berbasis Customer Relationship Management (CRM) yang mengintegrasikan pencocokan kemiripan kalimat berbasis TF-IDF dan Cosine Similarity, mekanisme fallback generatif berbasis Retrieval-Augmented Generation (RAG) menggunakan ChromaDB dan Llama 3.2 melalui LangChain untuk menjaga relevansi jawaban di luar basis pengetahuan, serta personalisasi respons berdasarkan riwayat interaksi pelanggan yang tersimpan dalam basis data CRM berbasis JSON. Evaluasi dilakukan melalui empat skema: kalibrasi nilai ambang Cosine Similarity pada 40 pertanyaan uji (28 in-domain, 12 Out-of-Domain), pengujian fungsionalitas menggunakan Webqual 4.0 terhadap 300 responden, pengujian relevansi semantik jawaban menggunakan METEOR, dan validasi kebenaran jawaban model generatif melalui pengukuran hallucination rate serta perbandingan tiga kondisi penanganan pertanyaan. Hasil Pengujian Kalibrasi menunjukkan akurasi terbaik ada pada nilai threshold 0,5. Hasil pengujian Webqual 4.0 menghasilkan indeks kualitas sistem sebesar 82,1%, mengindikasikan bahwa chatbot dapat diterima dengan baik oleh pengguna. Pengujian pada METEOR menunjukkan hasil final score sebesar 0,5904 menunjukkan bahwa hasil jawaban chatbot relevan dengan pertanyaan yang diberikan oleh pengguna. Terakhir, validasi pada 12 pertanyaan Out-of-Domain menghasilkan hallucination rate 0%, dengan rata-rata Human Judgment Score 3,67 dari 4 (91,7%) dan rata-rata METEOR jalur fallback 0,6997, mengonfirmasi bahwa RAG berhasil mengarahkan model generatif menghasilkan jawaban relevan dengan konteks domain. Penelitian ini menyimpulkan bahwa model chatbot hibrida berbasis CRM dengan pendekatan TF-IDF dan RAG dapat diimplementasikan untuk layanan dukungan masyarakat dengan penerimaan pengguna yang baik dan tingkat halusinasi rendah, meskipun akurasi pengarahan pertanyaan pada domain dengan kemiripan leksikal tinggi masih memiliki ruang perbaikan untuk penelitian lanjutan.

The WiFi complaint service for the Sleman hamlets still relies on a single administrator who manually responds to user complaints. Meanwhile, conventional rule based chatbots are unable to recognize diverse complaint expressions, resulting in low response relevance. This study designs and evaluates a Customer Relationship Management (CRM) based chatbot model that integrates sentence similarity matching using TF-IDF and Cosine Similarity, a generative fallback mechanism based on Retrieval-Augmented Generation (RAG) using ChromaDB and Llama 3.2 through LangChain to maintain response relevance for queries outside the knowledge base, and response personalization based on customer interaction history stored in a JSON-based CRM database. The evaluation was conducted using four assessment schemes: threshold calibration for Cosine Similarity using 40 test queries consisting of 28 in-domain and 12 Out-of-Domain questions, functionality evaluation using the WebQual 4.0 framework with 300 respondents, semantic relevance evaluation of chatbot responses using the METEOR metric, and validation of the factual correctness of the generative model through hallucination rate measurement and comparison of three question handling conditions. The threshold calibration results indicated that the optimal performance was achieved with a Cosine Similarity threshold of 0.5. The WebQual 4.0 evaluation produced a system quality index of 82.1%, indicating that the chatbot was well accepted by users. The METEOR evaluation achieved a final score of 0.5904, demonstrating that the chatbot responses were semantically relevant to the users' queries. Finally, validation using the 12 Out-of-Domain questions resulted in a hallucination rate of 0%, with an average Human Judgment Score of 3.67 out of 4 (91.7%) and an average fallback METEOR score of 0.6997. These findings confirm that the RAG mechanism successfully guided the generative model to produce responses relevant to the domain context. This study concludes that the proposed hybrid CRM based chatbot model integrating TF-IDF and RAG provides an effective solution for community support services. The model achieved strong user acceptance and a low hallucination rate. Although the question routing accuracy for queries with high lexical similarity still requires improvement, the proposed approach provides a solid foundation for future research on intelligent customer support systems.

Kata Kunci : cChatbot, Customer Relationship Management, TF-IDF, Cosine Similarity, Retrieval-Augmented Generation, METEOR, hallucination rate, Webqual 4.0, personalization, public complaint service.

  1. S2-2026-502216-abstract.pdf  
  2. S2-2026-502216-bibliography.pdf  
  3. S2-2026-502216-tableofcontent.pdf  
  4. S2-2026-502216-title.pdf