View Source GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2beta1SmartReplyAnswer (google_api_dialogflow v0.88.0)

Represents a smart reply answer.

Attributes

  • answerRecord (type: String.t, default: nil) - The name of answer record, in the format of "projects//locations//answerRecords/"
  • confidence (type: number(), default: nil) - Smart reply confidence. The system's confidence score that this reply is a good match for this conversation, as a value from 0.0 (completely uncertain) to 1.0 (completely certain).
  • reply (type: String.t, default: nil) - The content of the reply.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2beta1SmartReplyAnswer{
    answerRecord: String.t() | nil,
    confidence: number() | nil,
    reply: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.