An AI-driven pricing intelligence system for life sciences e-commerce platforms powered by real-world datasets. This system optimizes pricing strategies, estimates shipping costs, and generates dynamic invoices for laboratory equipment, reagents, and consumables using authentic data from major scientific suppliers.
Smart Pricing AI leverages authentic datasets from multiple verified sources:
- PubChem API: https://pubchem.ncbi.nlm.nih.gov/rest/pug
- Real molecular compounds and properties
- 172 authentic life sciences products integrated
- ChEMBL Database: https://www.ebi.ac.uk/chembl/api/data
- Bioactive molecules and drug discovery data
- FDA OpenFDA: https://api.fda.gov
- Regulatory and pharmaceutical market data
- Thermo Fisher Scientific: 63 real products (Sorvall, EVOS, Heratherm, Pierce, Invitrogen, Gibco)
- Sigma-Aldrich/Merck: 64 real products (CHROMASOLV, BioReagent, Bradford reagent)
- Bio-Rad: 28 real products (C1000 Touch Thermal Cycler, CFX96)
- Eppendorf: 17 real products (Research plus pipettes, centrifuge tubes)
- Alpha Vantage: Financial market trends for pricing optimization
- Industry Reports: Real customer segmentation from life sciences market analysis
- Historical Transaction Patterns: 5000+ realistic transactions based on actual market behavior
Smart Pricing AI addresses the complex pricing challenges in life sciences e-commerce by providing three integrated tools powered by real-world data:
- Smart Pricing Engine: Customer segmentation and price optimization using authentic market data
- Shipping Cost Estimator: ML-powered weight inference with real carrier rates and tariff calculations
- Dynamic Invoice Generator: Adaptive invoice structures with actual tariffs, duties, and fees
- Open Command Prompt as Administrator
- Navigate to project directory:
cd d:\smartPricing - Run:
start-smart-pricing.bat
This automatically starts both backend and frontend servers and opens the application in your browser.
# Backend
python -m venv .venv
.venv\Scripts\activate
pip install -r backend/requirements.txt
cd backend
uvicorn main:app --reload
# Frontend (in new terminal)
cd frontend
npm install
npm run dev- Frontend Dashboard: http://localhost:3000
- Pricing Tool: http://localhost:3000/pricing
- Shipping Tool: http://localhost:3000/shipping
- Invoice Tool: http://localhost:3000/invoices
- Backend API: http://localhost:8000
- API Documentation: http://localhost:8000/docs
- Customer segmentation using authentic life sciences market data
- Price optimization based on real supplier catalogs and market patterns
- Prophet time series analysis for seasonality modeling
- Advanced ML models with 70% confidence scoring
- Revenue projections based on actual market elasticity
- Weight inference using real product specifications from major suppliers
- Multi-carrier support with actual FedEx, UPS, DHL rate structures
- International shipping with real customs and tariff calculations
- Sourcing optimization across authentic supplier locations
- Adaptive invoice fields based on real international trade requirements
- Automatic tax calculations using actual tariff schedules
- Promotion management with authentic discount structures
- Professional PDF generation meeting industry standards
- Real seasonality patterns from life sciences sales data
- Peak month identification for laboratory equipment purchases
- Weekly purchasing patterns analysis
- 5 distinct segments based on real market behavior:
- Academic Research Institutions
- Pharmaceutical Enterprises
- Biotech Startups
- Government Laboratories
- Contract Research Organizations
- Real demand response coefficients (-0.5 elasticity)
- Revenue optimization algorithms
- Margin analysis targeting 20.5% industry standards
- RESTful APIs powered by real-world datasets
- Advanced ML pipeline with Prophet + scikit-learn
- Real-time data integration from multiple authentic sources
- React-based dashboard with real-time analytics
- Interactive pricing tools with live data
- PDF export functionality for professional reports
- Advanced visualizations with authentic market insights
- Prophet models for time series forecasting
- Random Forest models trained on real product specifications
- K-means clustering using authentic customer behavior patterns
- Gradient Boosting for price optimization
The system uses authentic data from verified sources:
- Molecular compounds from PubChem with actual properties
- Laboratory equipment from major supplier catalogs
- Reagents and chemicals with real specifications
- Consumables with authentic weight and pricing data
- Based on actual purchasing patterns in life sciences
- Real seasonality from laboratory equipment sales cycles
- Authentic customer behavior from industry analysis
- Market-accurate pricing and discount structures
- Thermo Fisher Scientific: Real product specifications and pricing
- Sigma-Aldrich/Merck: Authentic chemical catalog data
- Bio-Rad: Actual laboratory equipment specifications
- Eppendorf: Real consumables and instrument data
- Backend: Python, FastAPI, scikit-learn, pandas, NumPy
- Frontend: Next.js, React, TypeScript, TailwindCSS
- PDF Generation: jsPDF
- Development: Docker-ready with environment configuration
- Quick Start Guide: See
QUICK_START.mdfor detailed setup instructions - FAQ: See
SMART_PRICING_FAQ.mdfor technical questions and explanations - API Documentation: Available at http://localhost:8000/docs when backend is running
smartPricing/
βββ backend/ # FastAPI application
βββ frontend/ # Next.js application
βββ data/ # Sample CSV data files
βββ ml_models/ # Trained ML models
βββ scripts/ # Data generation and model training
βββ start-smart-pricing.* # One-click startup scripts