riazmo commited on
Commit
ae24ce2
Β·
verified Β·
1 Parent(s): 98131a1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +170 -1
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!