The objective of this study is to create a Thai-language chatbot analyzing mosquito-borne diseases using Jaccard similarity with an aim to develop an artificial intelligence (AI)-based chatbot used to analyze Aedes-borne diseases through natural language processing. The analysis occurred when the symptoms provided by users on the chatbot were assessed to select relevant words as text attributes using the term frequency-inverse document frequency (TF-IDF) before the Jaccard similarity was used to measure the similarity of the information on the mosquito-borne disease database. The Line Messaging API was applied to facilitate communication between users and the chatbot through the Line application. The chatbot applied PHP 7.2.34 and MySQL 5.7.32 for database management, with Apache 2.2.29 serving as the bot server. The performance evaluation of the chatbot revealed that the chatbot accurately understood user intentions with an intent accuracy of 85.00%. Likewise, the usability of the chatbot was assessed using the system usability scale (SUS), and it received a score of 89.75, indicating a high level of user-friendliness. Furthermore, it has been found that appropriate tokenization enables accurate feature selection. This leads to improved accuracy in measuring Jaccard similarity. Consequently, the chatbot is capable of providing precise responses that align with the user's intent.
Copyrights © 2024