Development of a Chatbot Using Machine Learning Algorithms to Automate Educational Processes
The use of chatbots in educational processes is relevant, where point communication with each student on common issues is required. A chatbot with artificial intelligence has been developed to automate educational processes. The cross-platform Telegram messenger is used to interact with the user. To increase the efficiency of creating a dataset, a graphical application interface in Python has been developed. Using libraries for creating graphical interfaces based on the Qt5 platform allows you to quickly navigate the intents, requests, responses that are already in the dataset. At the stage of developing the model structure, various vectorizers with different parameters were tested. To determine the intentions of users, a machine learning model was developed and implemented. The accuracy of the classification of user requests after training the model was 97%. An additionally developed algorithm based on the Levenshtein distance increased the classification accuracy. If the user's intent is not defined, a “stub” is triggered: “I did not understand the meaning of your question. Please rephrase it.” Besides, the chatbot implements voice message recognition. As a result of the chatbot's interaction with users, statistics on requests are collected and all events occurring in the program are recorded. All information is presented graphically. After authentication, the user gets access to all statistics and can send messages on behalf of the bot, so the teacher can give a detailed answer. The architecture of the chatbot model allows it to be used on datasets of any educational process.