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