Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -17,4 +17,173 @@ sdk_version: 1.52.2
|
|
| 17 |
Edit `/src/streamlit_app.py` to customize this app to your heart's desire. :heart:
|
| 18 |
|
| 19 |
If you have any questions, checkout our [documentation](https://docs.streamlit.io) and [community
|
| 20 |
-
forums](https://discuss.streamlit.io).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
Edit `/src/streamlit_app.py` to customize this app to your heart's desire. :heart:
|
| 18 |
|
| 19 |
If you have any questions, checkout our [documentation](https://docs.streamlit.io) and [community
|
| 20 |
+
forums](https://discuss.streamlit.io).
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
---
|
| 24 |
+
title: Review Intelligence System
|
| 25 |
+
emoji: π―
|
| 26 |
+
colorFrom: blue
|
| 27 |
+
colorTo: purple
|
| 28 |
+
sdk: streamlit
|
| 29 |
+
sdk_version: 1.28.0
|
| 30 |
+
app_file: app.py
|
| 31 |
+
pinned: false
|
| 32 |
+
---
|
| 33 |
+
|
| 34 |
+
# π― Review Intelligence System
|
| 35 |
+
|
| 36 |
+
**Multi-Agent AI-Powered Review Analysis Platform**
|
| 37 |
+
|
| 38 |
+
Analyze customer reviews from App Store and Play Store with 7 specialized AI models working in parallel.
|
| 39 |
+
|
| 40 |
+
## π What This Does
|
| 41 |
+
|
| 42 |
+
This application provides **intelligent, multi-stage analysis** of customer reviews using a sophisticated AI pipeline:
|
| 43 |
+
|
| 44 |
+
- π± Scrapes reviews from **App Store** and **Play Store**
|
| 45 |
+
- π€ Classifies reviews by **type**, **department**, and **priority**
|
| 46 |
+
- π Analyzes **sentiment** with dual BERT models
|
| 47 |
+
- π₯ Identifies **user types** and **emotional states**
|
| 48 |
+
- π Generates **actionable insights** and **batch analytics**
|
| 49 |
+
- π― Routes issues to appropriate teams
|
| 50 |
+
|
| 51 |
+
Perfect for **product managers**, **UX teams**, **support teams**, and **business analysts**.
|
| 52 |
+
|
| 53 |
+
## β¨ Key Features
|
| 54 |
+
|
| 55 |
+
### 4-Stage AI Pipeline
|
| 56 |
+
|
| 57 |
+
| Stage | What It Does | Models Used |
|
| 58 |
+
|-------|-------------|-------------|
|
| 59 |
+
| **Stage 0** | Web Scraping | App Store RSS & Play Store API |
|
| 60 |
+
| **Stage 1** | Classification | Qwen 72B + Llama 3B + Llama 70B |
|
| 61 |
+
| **Stage 2** | Sentiment | Twitter-RoBERTa + BERTweet |
|
| 62 |
+
| **Stage 3** | Synthesis | Llama 70B |
|
| 63 |
+
| **Stage 4** | Analytics | Statistical aggregation |
|
| 64 |
+
|
| 65 |
+
### What You Get
|
| 66 |
+
|
| 67 |
+
- β
**Review Type**: praise, complaint, suggestion, question, bug_report
|
| 68 |
+
- β
**Department**: engineering, ux, support, business
|
| 69 |
+
- β
**Priority**: critical, high, medium, low
|
| 70 |
+
- β
**Sentiment**: POSITIVE, NEUTRAL, NEGATIVE (with confidence)
|
| 71 |
+
- β
**Emotion**: joy, satisfaction, frustration, anger, disappointment
|
| 72 |
+
- β
**User Type**: new_user, regular_user, power_user, churning_user
|
| 73 |
+
- β
**Actions**: Specific recommendations for each review
|
| 74 |
+
- β
**Analytics**: Churn risk, critical issues, quick wins
|
| 75 |
+
|
| 76 |
+
## π¬ How to Use
|
| 77 |
+
|
| 78 |
+
### Step 1: Get HuggingFace API Key
|
| 79 |
+
|
| 80 |
+
1. Visit [HuggingFace Settings](https://huggingface.co/settings/tokens)
|
| 81 |
+
2. Create new token with **Read** access
|
| 82 |
+
3. Copy token (starts with `hf_`)
|
| 83 |
+
|
| 84 |
+
### Step 2: Enter App URLs
|
| 85 |
+
|
| 86 |
+
**App Store:**
|
| 87 |
+
- Format: Just the app ID number
|
| 88 |
+
- Example: `1022164656`
|
| 89 |
+
- Find in URL: `apps.apple.com/app/id1022164656`
|
| 90 |
+
|
| 91 |
+
**Play Store:**
|
| 92 |
+
- Format: Package name
|
| 93 |
+
- Example: `com.disney.wdpro.dlr`
|
| 94 |
+
- Find in URL: `play.google.com/store/apps/details?id=com.disney.wdpro.dlr`
|
| 95 |
+
|
| 96 |
+
### Step 3: Run Analysis
|
| 97 |
+
|
| 98 |
+
1. Paste HuggingFace API key
|
| 99 |
+
2. Enter URLs (one per line)
|
| 100 |
+
3. Choose reviews per app (5-100)
|
| 101 |
+
4. Click **"π Start Analysis"**
|
| 102 |
+
5. Wait ~7 seconds per review
|
| 103 |
+
6. View results!
|
| 104 |
+
|
| 105 |
+
### Step 4: Manage Database
|
| 106 |
+
|
| 107 |
+
- **Reset Database**: Click when analyzing different apps
|
| 108 |
+
- **Keep Database**: Don't reset to track trends over time
|
| 109 |
+
|
| 110 |
+
## π‘ Use Cases
|
| 111 |
+
|
| 112 |
+
**Product Management**
|
| 113 |
+
- Identify critical issues
|
| 114 |
+
- Prioritize feature requests
|
| 115 |
+
- Track sentiment trends
|
| 116 |
+
|
| 117 |
+
**UX/Design Teams**
|
| 118 |
+
- Find usability issues
|
| 119 |
+
- Discover improvement ideas
|
| 120 |
+
- Understand user emotions
|
| 121 |
+
|
| 122 |
+
**Support Teams**
|
| 123 |
+
- Route issues automatically
|
| 124 |
+
- Categorize requests
|
| 125 |
+
- Identify quick wins
|
| 126 |
+
|
| 127 |
+
**Business Analytics**
|
| 128 |
+
- Measure satisfaction
|
| 129 |
+
- Calculate churn risk
|
| 130 |
+
- Track competitive position
|
| 131 |
+
|
| 132 |
+
## ποΈ Technical Details
|
| 133 |
+
|
| 134 |
+
**AI Models:**
|
| 135 |
+
1. Qwen/Qwen2.5-72B-Instruct - Classification
|
| 136 |
+
2. meta-llama/Llama-3.2-3B-Instruct - User analysis
|
| 137 |
+
3. meta-llama/Llama-3.3-70B-Instruct - Synthesis
|
| 138 |
+
4. cardiffnlp/twitter-roberta-base-sentiment-latest - Sentiment
|
| 139 |
+
5. finiteautomata/bertweet-base-sentiment-analysis - Validation
|
| 140 |
+
6. meta-llama/Llama-3.1-70B-Instruct - Final reasoning
|
| 141 |
+
|
| 142 |
+
**Technology Stack:**
|
| 143 |
+
- Frontend: Streamlit
|
| 144 |
+
- AI: LangGraph + HuggingFace Inference API
|
| 145 |
+
- Database: SQLite (49 columns)
|
| 146 |
+
- Visualization: Plotly
|
| 147 |
+
|
| 148 |
+
**Performance:**
|
| 149 |
+
- β‘ ~7 seconds per review
|
| 150 |
+
- π Parallel processing
|
| 151 |
+
- π― 100% model agreement
|
| 152 |
+
|
| 153 |
+
## π Sample Output
|
| 154 |
+
|
| 155 |
+
```
|
| 156 |
+
Dashboard Metrics:
|
| 157 |
+
π Total Reviews: 20
|
| 158 |
+
π Positive: 15 (75%)
|
| 159 |
+
π Negative: 4 (20%)
|
| 160 |
+
π¨ Critical: 0
|
| 161 |
+
π Churn Risk: 7.5%
|
| 162 |
+
|
| 163 |
+
Department Routing:
|
| 164 |
+
π’ Engineering: 4
|
| 165 |
+
π¨ UX: 9
|
| 166 |
+
πΌ Business: 6
|
| 167 |
+
```
|
| 168 |
+
|
| 169 |
+
## π Privacy & Data
|
| 170 |
+
|
| 171 |
+
- β
All processing on HuggingFace servers
|
| 172 |
+
- β
No permanent data storage
|
| 173 |
+
- β
Public reviews only
|
| 174 |
+
- β
Reset database anytime
|
| 175 |
+
- β
Export your data
|
| 176 |
+
|
| 177 |
+
## π Support
|
| 178 |
+
|
| 179 |
+
For issues:
|
| 180 |
+
1. Check HuggingFace API key is valid
|
| 181 |
+
2. Verify URL format is correct
|
| 182 |
+
3. Try resetting database
|
| 183 |
+
4. Check internet connection
|
| 184 |
+
|
| 185 |
+
---
|
| 186 |
+
|
| 187 |
+
**Made with β€οΈ for Product Teams**
|
| 188 |
+
|
| 189 |
+
β Star this space if you find it useful!
|