View Source GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3AnswerFeedback (google_api_dialogflow v0.78.0)

Stores information about feedback provided by users about a response.

Attributes

  • customRating (type: String.t, default: nil) - 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.
  • rating (type: String.t, default: nil) - Optional. Rating from user for the specific Dialogflow response.
  • ratingReason (type: GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason.t, default: nil) - Optional. In case of thumbs down rating provided, users can optionally provide context about the rating.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3AnswerFeedback{
  customRating: String.t() | nil,
  rating: String.t() | nil,
  ratingReason:
    GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason.t()
    | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.