AI-powered demand forecasting and inventory optimization platform for small retailers in Bharat.
- 📤 CSV Data Upload - Easy sales data ingestion
- 📈 Demand Forecasting - 7/14/30 day predictions with Prophet ML
- 📦 Inventory Optimization - Automated reorder recommendations
- 🎯 Stockout Risk Scoring - Prioritized alerts (0-100 scale)
- 🤖 AI Copilot - Natural language Q&A with Amazon Bedrock
- 🇮🇳 Bharat-Specific - Festival dates, regional factors, ₹ formatting
- Backend: Python, FastAPI, boto3
- ML: Prophet, scikit-learn, pandas, numpy
- AI: Amazon Bedrock (Claude 3 Sonnet)
- AWS: Lambda, S3, DynamoDB, API Gateway
- Frontend: HTML/CSS/JavaScript, Bootstrap, Chart.js
pip install -r requirements.txtaws configure
- Enter your AWS credentials
- Region: ap-south-1
python config/aws_setup.pypython -m api.main- Open the terminal:
cd frontend python -m http.server 3000
retailiq-prototype/ ├── api/ # FastAPI application ├── lambda_functions/ # AWS Lambda handlers │ ├── data_ingestion/ │ ├── forecasting/ │ ├── inventory/ │ └── copilot/ ├── utils/ # Shared utilities │ ├── csv_validator.py │ ├── forecasting.py │ ├── inventory_optimizer.py │ ├── regional_factors.py │ └── copilot.py ├── config/ # AWS setup scripts ├── frontend/ # Web dashboard ├── data/ # Sample data └── tests/ # Test files
POST /data/upload - Upload sales CSV POST /forecast - Generate demand forecast POST /inventory/recommendations - Get reorder recommendations POST /copilot/chat - AI Copilot Q&A GET /health - Health check
User ID: demo_user API Key: test-key-123
S3 Buckets:
- retailiq-raw-data-varun
- retailiq-processed-data-varun
- retailiq-model-artifacts-varun
DynamoDB Tables:
- retailiq-metadata
- retailiq-model-registry
Free Tier: Lambda, S3, DynamoDB, API Gateway (covered) Bedrock: ~$0.03-0.10 for hackathon testing Total: < $1 for 3-day hackathon
Team: Coding Gladiators
Event: AI for Bharat Hackathon
Category: Retail AI Solutions
- Solves real problem for Bharat retailers
- Uses AWS AI services (Bedrock)
- Serverless architecture (scalable, cost-effective)
- Regional customization (festivals, languages)
- Production-ready architecture
- Responsible AI practices
- Mobile app (React Native)
- WhatsApp alerts for retailers
- Multi-language UI (Hindi, Tamil, Telugu)
- Advanced ML models (XGBoost, LSTM)
- POS system integration
- Pricing optimization recommendations