PROSPECTS OF USING CHATBOTS IN MEDICINE
DOI:
https://doi.org/10.32014/2023.2518-1726.182Keywords:
chatbot, medicine, Python, variables, Framework, telegram.Abstract
A chatbot is a computer program that provides users with the necessary services through messaging. Chatbots can be used primarily not as a means of their communication, but as an "auxiliary" tool that facilitates access to special information in any industry. In the medical field, chatbots are developed for various purposes, such as the prevention of diseases, the identification of a mental state. They provide patients with timely information that can be crucial in some scenarios. This article discusses the development of a chatbot in the field of medicine using a Python program. In addition, a scheme for the development of common chatbots is shown. The full-featured chatbot structure consists of a client, a server and a database. The chatbot is configured to convert natural language queries into corresponding SQLLite queries. SQL queries are created using the knowledge base, and the results are returned to the user in a natural dialog box. During the development of the chatbot software, first of all, the BotFather chatbot was registered and, accordingly, the necessary tokens were obtained. Python was linked to the program code to get the necessary information from the database according to each button of the Chatbot Menu. The chatbot is designed to solve common template queries. Methods of obtaining knowledge were used to answer queries. As a result of the development of the chatbot, a sequence of approbation works was carried out to test the service. This article will allow medical professionals to understand information technology tools on an accessible basis, in particular programming languages, create a database in the SQLLite environment, as well as perfectly understand the principles of creating chatbots in general and how its components work, how the server executes requests developed by the client.




