Views
No views yet
| Component | What it does |
|---|---|
| NLP | Sentiment analysis on customer reviews/messages (TextBlob) |
| ML | Sales trend forecasting (linear regression, 14-day forward) |
| Generative AI | Auto-drafted customer reply suggestions (Claude/OpenAI API, with offline template fallback) |
| Descriptive Analytics | KPI cards, sentiment breakdown, sentiment-over-time, sales chart |
1# 1. Create a virtual environment (recommended)
2python3 -m venv venv
3source venv/bin/activate # on Windows: venv\Scripts\activate
4
5# 2. Install dependencies
6pip install -r requirements.txt
7
8# 3. Run the app
9streamlit run app.pyhttp://localhost:8501.review column (and optionally a date column)date and sales columnsdistilbert-sst2) for higher accuracy