Loading...

International Journal of Computer and Engineering Optimization - IJCEO

ENHANCING CONVERSATIONAL INTERFACES: A REACT AND LLM-BASED APPROACH TO WEBSOCKET CHATBOT APPLICATIONS


Chatbots have become integral to modern digital communication, particularly in industries like Retail, Supply Chain, and E-Commerce, where seamless interaction is key to customer satisfaction. This paper presents the design, development, and implementation of a WebSocket-based chatbot application that combines responsive front-end technologies with the advanced capabilities of large language models (LLMs). Leveraging React, JavaScript, HTML, and CSS, the chatbot interface ensures an intuitive and dynamic user experience while WebSocket facilitates real-time communication. By integrating LLMs, the chatbot enhances its ability to interpret user queries, deliver personalized responses, and transition to live agents when necessary. Comprehensive performance evaluation and user satisfaction metrics highlight the system's efficiency and accuracy. This research contributes to advancing chatbot design by integrating emerging technologies for seamless conversational experiences. User feedback indicated a high level of satisfaction with the system, with 92% of users reporting a positive experience. The combination of real-time interactions and accurate responses contributed to this outcome, with a 95% intent recognition accuracy achieved by the LLM-powered system.