View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse (google_api_dialogflow v0.88.3)

The response message for Participants.SuggestDialogflowAssists.

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 SuggestDialogflowAssistsRequest.context_size field in the request if there aren't that many messages in the conversation.
  • dialogflowAssistAnswers (type: list(GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1DialogflowAssistAnswer.t), default: nil) - Output only. Multiple reply options provided by Dialogflow assist service. The order is based on the rank of the model prediction.
  • latestMessage (type: String.t, default: nil) - The name of the latest conversation message used to suggest answer. Format: projects//locations//conversations//messages/.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse{
    contextSize: integer() | nil,
    dialogflowAssistAnswers:
      [
        GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1DialogflowAssistAnswer.t()
      ]
      | nil,
    latestMessage: String.t() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.