File size: 456 Bytes
8e9bb93 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # viet-robot-feedback-analyzer
A tiny helper that converts user feedback ratings into sentiment and priority
signals.
Function:
```python
analyze_feedback(rating: int, followup_flag: str) -> FeedbackAnalysis
```
Returns:
- `sentiment`: `negative`, `neutral`, or `positive`
- `needs_followup`: boolean
- `suggested_priority`: text such as `low`, `medium`, `high`
Designed to work together with the `viet-robot-user-feedback` dataset.
## License
MIT
|