hoangs commited on
Commit
8e9bb93
·
verified ·
1 Parent(s): e201cb1

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +22 -3
README.md CHANGED
@@ -1,3 +1,22 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # viet-robot-feedback-analyzer
2
+
3
+ A tiny helper that converts user feedback ratings into sentiment and priority
4
+ signals.
5
+
6
+ Function:
7
+
8
+ ```python
9
+ analyze_feedback(rating: int, followup_flag: str) -> FeedbackAnalysis
10
+ ```
11
+
12
+ Returns:
13
+
14
+ - `sentiment`: `negative`, `neutral`, or `positive`
15
+ - `needs_followup`: boolean
16
+ - `suggested_priority`: text such as `low`, `medium`, `high`
17
+
18
+ Designed to work together with the `viet-robot-user-feedback` dataset.
19
+
20
+ ## License
21
+
22
+ MIT