Building of Informatics, Technology and Science
Vol 8 No 1 (2026): June 2026

ShelfMind: Demand Forecasting and Stock Control for Retail SMEs using Global XGBoost and Context-Injected AI Chatbot

Aulia Syafitri (Politeknik Negeri Sriwijaya, Palembang)
Aryanti Aryanti (Politeknik Negeri Sriwijaya, Palembang)
Sholihin Sholihin (Politeknik Negeri Sriwijaya, Palembang)



Article Info

Publish Date
01 Jul 2026

Abstract

SME retail stores in Indonesia face serious challenges in inventory management: stockouts of popular products, waste from perishable items that expire before being sold, and restocking decisions relying on owner intuition. This research develops ShelfMind, a web-based inventory management system integrating three main components: a demand prediction model using a global XGBoost algorithm, an AI chatbot based on real-time data context injection, and an active notification system for low-stock and expiry risk alerts. Dataset from Toko Tika Baru covered 47 products in 11 categories with 8,225 daily sales records over 205 days. The XGBoost model was trained with 29 time-engineered features and achieved an MAE of 0.4107 units/day and RMSE of 0.5081 units/day on a 40-day test set. The global XGBoost method and context injection approach were selected due to their computational efficiency, avoiding the high costs associated with LLM fine-tuning, thus making it an ideal solution for SMEs with limited budget and infrastructure data. The AI chatbot, using context injection from inventory, sales, and XGBoost forecast data, achieved an average relevance and data accuracy of 4.94/5 across 20 test scenarios with an average response time of 2.94 seconds. Black-box functional testing of 31 scenarios passed completely. Usability evaluation scored 3.77/5, with notes on improving the communication of prediction features to non-technical users. This system proves that integrating XGBoost and LLM in an SME inventory management platform is technically feasible and provides tangible value for retail operations.

Copyrights © 2026






Journal Info

Abbrev

bits

Publisher

Subject

Computer Science & IT

Description

Building of Informatics, Technology and Science (BITS) is an open access media in publishing scientific articles that contain the results of research in information technology and computers. Paper that enters this journal will be checked for plagiarism and peer-rewiew first to maintain its quality. ...