Skip to content

Latest commit

 

History

24 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RetailAI Project

Badge showing the total of project forks Badge showing the total of project stars Badge showing average commit frequency per month Badge showing when the last commit was made Badge showing the total of project issues Badge showing the total of project pull-requests Python Version Badge Badge showing project license type

Purpose

The Retailors Project aims to address common challenges faced by retailers:

Inventory Optimization:

By leveraging Generative AI models like ARIMA, the platform helps retailers optimize their inventory levels, reducing costs and minimizing stockouts.

Demand Forecasting:

The AI models provide accurate demand forecasts, aiding retailers in making informed decisions regarding stock replenishment and purchasing.

User Support:

The integration of the Llama Chatbot API enhances customer support by providing answers to questions related to data outcomes and retail operations.

How Predictive AI Models Address the Problem

ARIMA Model:

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 Model:

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.

Overview

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.

Project Structure

The project is organized into the following components:

Frontend:

This directory contains the HTML, CSS, and JavaScript files for the website's user interface.

Backend:

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.

AI Models:

We have incorporated two main Generative AI models into the project:

ARIMA (AutoRegressive Integrated Moving Average):

This model is used for time-series forecasting, helping retailers predict future demand based on historical data.

Linear Regression:

Linear regression is employed for additional predictive analytics.

API Integration:

The project integrates with external APIs, including the Llama Chatbot API, to enhance user experience and provide additional support to customers.

Database:

A database, implemented using PostgreSQL, stores historical sales and inventory data for analysis and training of AI models.

Run Locally

To run the Retailors Project locally, follow these steps:

Clone the repository

  git clone https://github.com/youssefboutaleb/A2SV_RetailAI.git

Go to the project directory

  cd A2SV_RetailAI

Set up a virtual environment and install the required Python packages

Create a Virtual Environment

  python -m venv <venv>

Activate the Virtual Environment:

  • On Windows:
.\<venv>\Scripts\activate
  • On macOS and Linux:
source venv/bin/activate

Install Required Packages

pip install -r requirements.txt

Start the server

  python app.py

Deactivate the Virtual Environment

When you're done working on the project, you can deactivate the virtual environment by running the following command:

deactivate

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages