The Retailors Project aims to address common challenges faced by retailers:
By leveraging Generative AI models like ARIMA, the platform helps retailers optimize their inventory levels, reducing costs and minimizing stockouts.
The AI models provide accurate demand forecasts, aiding retailers in making informed decisions regarding stock replenishment and purchasing.
The integration of the Llama Chatbot API enhances customer support by providing answers to questions related to data outcomes and retail operations.
The ARIMA model is employed for time-series forecasting. It analyzes historical sales and inventory data to generate predictions for future demand. These predictions guide retailers in making inventory decisions, reducing excess stock, and improving overall efficiency.
Linear regression complements ARIMA by providing additional insights. It helps retailers understand how various factors, such as promotions or marketing campaigns, impact demand. This information aids in fine-tuning inventory strategies.
The Retailors Project is a web-based platform that utilizes Generative AI models to assist retailers in optimizing their inventory management and demand forecasting. This README file provides an overview of the project structure, its purpose, and how Generative AI models are addressing the problem.
The project is organized into the following components:
This directory contains the HTML, CSS, and JavaScript files for the website's user interface.
The backend is built using Flask, a Python web framework. It includes routes for handling user input, making predictions with Generative AI models, and serving results.
We have incorporated two main Generative AI models into the project:
This model is used for time-series forecasting, helping retailers predict future demand based on historical data.
Linear regression is employed for additional predictive analytics.
The project integrates with external APIs, including the Llama Chatbot API, to enhance user experience and provide additional support to customers.
A database, implemented using PostgreSQL, stores historical sales and inventory data for analysis and training of AI models.
To run the Retailors Project locally, follow these steps:
git clone https://github.com/youssefboutaleb/A2SV_RetailAI.git cd A2SV_RetailAICreate a Virtual Environment
python -m venv <venv>Activate the Virtual Environment:
- On Windows:
.\<venv>\Scripts\activate- On macOS and Linux:
source venv/bin/activatepip install -r requirements.txt python app.py
When you're done working on the project, you can deactivate the virtual environment by running the following command:
deactivate