View Source GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1Feedback (google_api_discovery_engine v0.23.0)

Information about the user feedback. This information will be used for logging and metrics purpose.

Attributes

  • comment (type: String.t, default: nil) - Optional. The additional user comment of the feedback if user gives a thumb down.
  • conversationInfo (type: GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1FeedbackConversationInfo.t, default: nil) - The related conversation information when user gives feedback.
  • feedbackType (type: String.t, default: nil) - Required. Indicate whether the user gives a positive or negative feedback. If the user gives a negative feedback, there might be more feedback details.
  • llmModelVersion (type: String.t, default: nil) - The version of the LLM model that was used to generate the response.
  • reasons (type: list(String.t), default: nil) - Optional. The reason if user gives a thumb down.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1Feedback{
  comment: String.t() | nil,
  conversationInfo:
    GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1FeedbackConversationInfo.t()
    | nil,
  feedbackType: String.t() | nil,
  llmModelVersion: String.t() | nil,
  reasons: [String.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.