View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SuggestArticlesRequest (google_api_dialogflow v0.78.0)

The request message for Participants.SuggestArticles.

Attributes

  • assistQueryParams (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2AssistQueryParameters.t, default: nil) - Parameters for a human assist query.
  • contextSize (type: integer(), default: nil) - Optional. 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.
  • latestMessage (type: String.t, default: nil) - Optional. 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/.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SuggestArticlesRequest{
    assistQueryParams:
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2AssistQueryParameters.t()
      | nil,
    contextSize: integer() | nil,
    latestMessage: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.