| # 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 | |