Product Filter & AI Web App
Product data filtering, sales predictions with a two-part (hurdle) model, and a local Llama 3 chatbot in one web app.
- Role
- Solo project
- Year
- 2025
- Stack
A web app that puts three kinds of AI and data work side by side: rule-based filtering of a product feed against sales data, machine-learning sales predictions, and a chatbot running on a local LLM.
- The product filter takes thresholds for contribution margin (DB) and units sold, then lets you sort the matching products in a table, explore them in charts and download them as CSV.
- scikit-learn models predict sales and revenue from a product's price. Because 73% of the products never sold, a two-part (hurdle) model first predicts whether a product sells at all, and only then how much.
- The chatbot runs Llama 3 locally through Ollama, so no data leaves the machine, and it keeps the conversation across pages.
The frontend is React, the backend NestJS, and the models are trained and served from Python scripts.