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

The response message for Participants.SuggestArticles.

Attributes

  • articleAnswers (type: list(GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1ArticleAnswer.t), default: nil) - Output only. Articles ordered by score in descending order.
  • contextSize (type: integer(), default: nil) - Number of messages prior to and including latest_message to compile the suggestion. It may be smaller than the SuggestArticlesResponse.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/.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1SuggestArticlesResponse{
    articleAnswers:
      [
        GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1ArticleAnswer.t()
      ]
      | nil,
    contextSize: integer() | nil,
    latestMessage: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.