GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse (google_api_dialogflow v0.66.2) View Source

The response message for Participants.SuggestSmartReplies.

Attributes

  • contextSize (type: integer(), default: nil) - Number of messages prior to and including latest_message to compile the suggestion. It may be smaller than the SuggestSmartRepliesRequest.context_size field in the request if there aren't that many messages in the conversation.
  • latestMessage (type: String.t, default: nil) - The name of the latest conversation message used to compile suggestion for. Format: projects//locations//conversations//messages/.
  • smartReplyAnswers (type: list(GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1SmartReplyAnswer.t), default: nil) - Output only. Multiple reply options provided by smart reply service. The order is based on the rank of the model prediction. The maximum number of the returned replies is set in SmartReplyConfig.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse{
    contextSize: integer() | nil,
    latestMessage: String.t() | nil,
    smartReplyAnswers:
      [
        GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1SmartReplyAnswer.t()
      ]
      | nil
  }

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.