View Source GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2MessageAnnotation (google_api_dialogflow v0.88.3)

Represents the result of annotation for the message.

Attributes

  • containEntities (type: boolean(), default: nil) - Indicates whether the text message contains entities.
  • parts (type: list(GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2AnnotatedMessagePart.t), default: nil) - The collection of annotated message parts ordered by their position in the message. You can recover the annotated message by concatenating [AnnotatedMessagePart.text].

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2MessageAnnotation{
  containEntities: boolean() | nil,
  parts:
    [
      GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2AnnotatedMessagePart.t()
    ]
    | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.