View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SuggestSmartRepliesRequest (google_api_dialogflow v0.74.0)

The request message for Participants.SuggestSmartReplies.

Attributes

  • contextSize (type: integer(), default: nil) - Max number of messages prior to and including [latest_message] to use as context when compiling the suggestion. By default 20 and at most 50.
  • currentTextInput (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2TextInput.t, default: nil) - The current natural language text segment to compile suggestion for. This provides a way for user to get follow up smart reply suggestion after a smart reply selection, without sending a text message.
  • latestMessage (type: String.t, default: nil) - The name of the latest conversation message to compile suggestion for. If empty, it will be the latest message of the conversation. Format: projects//locations//conversations//messages/.

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.GoogleCloudDialogflowV2SuggestSmartRepliesRequest{
    contextSize: integer() | nil,
    currentTextInput:
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2TextInput.t() | nil,
    latestMessage: String.t() | nil
  }

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.