Chatbot for customer support of a company which operates charging stations for electric cars

Authors

  • Galyna Dolenko Taras Shevchenko National University of Kyiv https://orcid.org/0000-0001-5708-4880
  • Dariia Manovytska V.M. Glushkov Institute of Cybernetics, NAS of Ukraine, Kyiv, Ukraine
  • Olena Subbotina V.M. Glushkov Institute of Cybernetics, NAS of Ukraine, Kyiv, Ukraine https://orcid.org/0009-0008-3681-0263
  • Yuriy Chaplinskyy V.M. Glushkov Institute of Cybernetics, NAS of Ukraine, Kyiv, Ukraine
  • Igor Budyansky Yale University, New Haven, USA

DOI:

https://doi.org/10.17721/1812-5409.2025/1.15

Keywords:

artificial intelligence, WhatsApp, API, OpenAI, chatbot, Whapi.Cloud

Abstract

A 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

References

Adam, M., Wessel, M., & Benlian, A. (2021). AI-based chatbots in customer service and their effects on user compliance. Electronic Markets, 31(2), 427–445. https://doi.org/10.1007/s12525-020-00414-7.

Adamopoulou, E., & Moussiades, L. (2020). Chatbots: History, technology, and applications. Machine Learning with Applications, 2, 100006. https://doi.org/10.1016/j.mlwa.2020.100006

Aleedy, M., Shaiba, H., & Bezbradica, M. (2019). Generating and analyzing chatbot responses using natural language processing. International Journal of Advanced Computer Science and Applications, 10(9), 60–68. https://dx.doi.org/10.14569/IJACSA.2019.0100910

Castro, D., & New, J. (2016). The promise of artificial intelligence. Center for Data Innovation. https://www2.datainnovation.org/2016-promise-of-ai.pdf

Dolenko G., Маnovytska, D., & Semenova, N. (2021). Problems of decision making in subject domain "electric vehicle". CEUR Workshop Proseedings, 3018, 175–183. https://ceur-ws.org/Vol-3018/Paper_17.pdf

Krishnan, C., Gupta, A., Gupta, A., & Singh, G. (2022). Impact of artificial intelligence-based chatbots on customer engagement and business growth. In T. P. Hong, L. Serrano-Estrada, A. Saxena, & A. Biswas (Eds.), Deep Learning for Social Media Data Analytics. Studies in Big Data, vol 113 (pp. 195–210). Springer International Publishing. http://dx.doi.org/10.1007/978-3-031-10869-3_11

Mykhailov, N. O. (2023). Classifications of users on online platforms using machine learning techniques. Bulletin of Taras Shevchenko National University of Kyiv. Physical and Mathematical Sciences, 4, 66–71. https://doi.org/10.17721/1812-5409.2022/4.8

Nakonechnyi, O. G., Kapustian, O. A., Shevchuk, I. M., Loseva, M. V., & Kosukha, O. Y. (2022). A intellectual system of analysis of reactions to news based on data from Telegram channels. Bulletin of Taras Shevchenko National University of Kyiv. Physical and Mathematical Sciences, 3, 55–61. https://doi.org/10.17721/1812-5409.2022/3.7

Paliwal, S., Bharti, V., & Mishra, A.K. (2020). Ai chatbots: Transforming the digital world. In V. Balas, R. Kumar, & R. Srivastava (Eds.), Recent Trends and Advances in Artificial Intelligence and Internet of Things, Intelligent Systems Reference Library, vol. 172 (pp. 455–482). Springer International Publishing. https://doi.org/10.1007/978-3-030-32644-9_34

Rogers, D. L. (2016). The digital transformation playbook: Rethink your business for the digital age. Columbia University Press. https://doi.org/10.7312/roge17544

Wei, J., Wang, X., Schuurmans, D., Bosma, M., Chi, E.H., Xia, F., Le, Q., & Zhou, D. (2022). Chain of Thought Prompting Elicits Reasoning in Large Language Models. https://doi.org/10.48550/arXiv.2201.11903.

Zierau, N., Flock, K., Janson, A., Söllner, M., & Leimeister, J. M. (2021). The Influence of AI-Based Chatbots and Their Design on Users Trust and Information Sharing in Online Loan Applications. In Proceedings of the 54th Hawaii International Conference on System Sciences 2021 (HICSS 54) (pp. 5483–5492). https://dx.doi.org/10.24251/HICSS.2021.666

Downloads

Published

2025-07-07

Issue

Section

Computer Science and Informatics

How to Cite

Dolenko, G., Manovytska, D., Subbotina, O., Chaplinskyy, Y., & Budyansky, I. (2025). Chatbot for customer support of a company which operates charging stations for electric cars. Bulletin of Taras Shevchenko National University of Kyiv. Physical and Mathematical Sciences, 80(1), 115-121. https://doi.org/10.17721/1812-5409.2025/1.15