Доленко, ГалинаГалинаДоленкоМановицька, ДаріяДаріяМановицькаСубботіна, ОленаОленаСубботінаЧаплінський, ЮрійЮрійЧаплінськийБудянський, ІгорІгорБудянський2026-06-302026-06-302025-07-07Доленко, Г., Мановицька, Д., Субботіна, О., Чаплінський, Ю., Будянський, І. (2025). Chatbot for customer support of a company which operates charging stations for electric cars. Bulletin of Taras Shevchenko National University of Kyiv. Physics and Mathematics, 80(1), 115–121. https://doi.org/10.17721/1812-5409.2025/1.1510.17721/1812-5409.2025/1.15https://ir.library.knu.ua/handle/15071834/25796A scenario for automated, around-the-clock interaction with users of electric vehicle charging stations, based on artificial intelligence, has been proposed. The relevance of an intelligent virtual assistant for supporting customers by the service departments of companies managing charging station networks is discussed. The necessity of employing market-leading technologies, such as OpenAI's generative artificial intelligence models, for the creation of a chatbot is substantiated. The importance and timeliness of integrating the developed chatbot into WhatsApp, the messenger with the largest audience reach, are described. To implement the solution, the potential for applying the most advanced OpenAI service technologies was analyzed and demonstrated. Specifically, the GPT-4o-mini model was selected for generating text-based responses and customized using system context. The model was subsequently configured in the OpenAIAssistant class, where a method specifying how the model should function according to the provided algorithm or scenario was developed. An algorithm for the model's operation was designed and reviewed. The model must be capable of communicating with users in various languages. Communication is guided by a predefined scenario based on prompt templates. Additionally, the model is programmed to respond to questions that fall outside the provided scenario or algorithm, to questions posed in unknown languages, and includes prompt-based safeguards against incorrect answers that AI occasionally generates. For the chatbot's implementation, technologies were employed, including Whapi.Cloud services (a platform for automating interactions with the WhatsApp messenger API) and Vultr Cloud Provider (a provider for hosting the server-side application). The chatbot's business logic was implemented using programming languages and frameworks such as JavaScript, NodeJS, and Express. The practical implementation of this development confirmed the feasibility and effectiveness of the proposed approach, as evidenced during testing within the WhatsApp messenger. The proposed article is of interest to software developers working in the field of generative artificial intelligence. Pages of the article in the issue: 115 - 121 Language of the article: UkrainianЗапропоновано сценарій автоматизованої цілодобової взаємодії з користувачами зарядних станцій для електромобілів на основі використання штучного інтелекту. Описано актуальність інтелектуального віртуального помічника для підтримки клієнтів службами власників мереж зарядних станцій електромобілів. Обґрунтовано необхідність застосування інтелектуальних технологій, таких як генеративний штучний інтелект компанії OpenAI, для створення чат-боту. Описано необхідність та актуальність інтеграції створеного чат-боту в найбільший за охопленням аудиторії месенджер WhatsApp. Для реалізації розробки проаналізовано і продемонстровано можливість застосування найпрогресивніших технологій сервіcу OpenAI, а саме: моделлю для генерування тексту відповідей було обрано модель GPT-4o-mini, яку кастомізовано за допомогою системного контексту. Модель було конфігуровано у класі OpenAIAssistant, де сформульовано підхід, що вказує, як модель має діяти за визначеним алгоритмом / сценарієм. Розроблено і представлено алгоритм дії моделі. Вона повинна вміти вести комунікацію з користувачем різними мовами. Комунікація моделі з користувачем проходить за конкретно заданим промптами сценарієм, а також запрограмована на відповіді, які вона має видавати на запитання не зі сценарію / алгоритму, на невідому їй мову, та запрограмована промптами на захист від помилкових відповідей, які іноді допускає генеративний штучний інтелект. Реалізація чат-боту здійснена із застосуванням технологій на основі сервісів Whapi.Cloud (платформа для автоматизації роботи з API месенджера WhatsApp), Vultr Cloud Provider (провайдер для хостингу серверної частини додатку). Бізнес-логіка чат-бота реалізована на JavaScript, NodeJS, Express. Практична реалізація розробки засвідчила конструктивність запропонованого підходу, що було підтверджено під час проведення тестування в месенджері WhatsApp. Запропонована стаття становить інтерес для фахівців у сфері генеративного штучного інтелекту.enartificial intelligenceWhatsAppAPIOpenAIchatbotWhapi.Cloudштучний інтелектчат-ботWhatsAppAPIOpenAIWhapiCloudChatbot for customer support of a company which operates charging stations for electric carsРозробка чат-боту служби підтримки клієнтів мережи зарядних станцій електромобілівСтаття