Naresh, A. S. and Ramkumar, J. and Janani, S. (2025) AI Chatbot Application using API Integration. International Journal of Advanced Research in Education and TechnologY(IJARETY), 12 (3).
AI chat paper.pdf
Download (841kB)
Abstract
In the rapidly evolving digital landscape, Artificial Intelligence (AI) has become an integral component
of user experience, especially in the development of intelligent assistants and automated customer support systems. This project focuses on the design and implementation of a lightweight, browser-based AI Chatbot Web Application that enables real-time, natural language communication between users and an intelligent backend model using modern web technologies. The chatbot not only processes user inputs and provides contextually accurate responses through integration with Google Generative AI, but it also engages users through simple built-in interactive games like Rock- Paper-Scissors and Number Guessing, enriching the conversational experience.The primary goal of this chatbot system is to demonstrate how AI can be seamlessly integrated into web-based platforms using minimal resources while offering meaningful interactions. The application is built using HTML, CSS, and JavaScript for the frontend, paired with a Node.js and Express.js backend that facilitates communication with the AI API. The application architecture emphasizes simplicity, responsiveness, and modularity, ensuring ease of use across devices and platforms. Users are first authenticated through a basic registration and login interface before accessing the chatbot screen. All UI components are styled with a modern dark theme, providing an aesthetically pleasing and accessible experienceOne of the key highlights of this project is its use of Google's Generative AI API, which provides intelligent, human-like responses. The backend handles AI communication asynchronously to ensure fast and reliable message processing. In addition, the chatbot supports markdown formatting for enhanced message rendering, and all messages are dynamically added to the interface in real-time. Built-in games are triggered using commands like /rps or /guess, and users receive step-by-step instructions within the chat, enabling game-play without leaving the conversation interface.Performance testing and validation have shown the system to be stable under concurrent usage, with average response times under two seconds. Though the current version is designed without a database for simplicity, the architecture is scalable and adaptable for future enhancements such as persistent user sessions, data analytics, admin dashboards, multilingual support, and offline access. Furthermore, the application is structured to support Progressive Web App (PWA) features, making it installable and usable across mobile devices.The project serves as a prototype that showcases how intelligent
conversational agents can be built and deployed using open-source tools and APIs. It emphasizes the growing role of AI
in enhancing user interaction while maintaining a strong focus on accessibility, performance, and user-centric design. This work contributes to the field by demonstrating a scalable approach to AI integration within web environments, and
it opens the door to future enhancements involving deeper personalization, voice input/output, and real-time user
feedback systems.
| Item Type: | Article |
|---|---|
| Subjects: | Computer Applications > Data Structure |
| Domains: | Computer Science |
| Depositing User: | Mr Prabakaran Natarajan |
| Date Deposited: | 16 Dec 2025 07:28 |
| Last Modified: | 16 Dec 2025 07:28 |
| URI: | https://ir.vistas.ac.in/id/eprint/11514 |


Dimensions
Dimensions