Class AnswerFeedback (1.33.0)

AnswerFeedback(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Stores information about feedback provided by users about a response.

Attributes

Name Description
rating google.cloud.dialogflowcx_v3.types.AnswerFeedback.Rating
Optional. Rating from user for the specific Dialogflow response.
rating_reason google.cloud.dialogflowcx_v3.types.AnswerFeedback.RatingReason
Optional. In case of thumbs down rating provided, users can optionally provide context about the rating.
custom_rating str
Optional. Custom rating from the user about the provided answer, with maximum length of 1024 characters. For example, client could use a customized JSON object to indicate the rating.

Classes

Rating

Rating(value)

Represents thumbs up/down rating provided by user about a response.

Values: RATING_UNSPECIFIED (0): Rating not specified. THUMBS_UP (1): Thumbs up feedback from user. THUMBS_DOWN (2): Thumbs down feedback from user.

RatingReason

RatingReason(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Stores extra information about why users provided thumbs down rating.