nemo_microservices.types.intake.user_feedback_event#
Module Contents#
Classes#
API#
- class nemo_microservices.types.intake.user_feedback_event.UserFeedbackEvent(/, **data: typing.Any)#
Bases:
nemo_microservices._models.BaseModel- categories: Optional[Dict[str, Union[float, str]]]#
None
Application-specific category ratings as key-value pairs.
Use this for custom rating dimensions (e.g., {‘helpfulness’: 4, ‘accuracy’: 5, ‘tone’: ‘professional’}). Useful for radio buttons, dropdowns, or multi-dimensional rating systems.
- chosen_index: Optional[int]#
None
Zero-based index of the response option the user selected when multiple responses were returned. Use this when showing users multiple completion choices and tracking which one they picked.
- created_at: Optional[datetime.datetime]#
None
UTC timestamp when the record was created.
- created_by: Optional[Dict[str, str]]#
None
Identifier of the user or system that generated the record.
Can be set of key-value pairs.
- event_type: Optional[typing_extensions.Literal[user_feedback]]#
None
- id: Optional[str]#
None
Unique identifier for the event. Populated when retrieved from database.
- opinion: Optional[str]#
None
Free-text comment from the end user describing their opinion of the response.
- rating: Optional[float]#
None
Numeric rating (e.g., 1-5 stars) provided by the end user.
Mutually exclusive with
thumb. Use this for star ratings or numeric scales.
- rewrite: Optional[str]#
None
End-user’s suggested text replacement for the generated response.
This is the user’s idea of what the response should have been.
- thumb: Optional[nemo_microservices.types.intake.thumb_direction.ThumbDirection]#
None
Possible thumb feedback choices.