GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1MessageAnnotation (google_api_dialogflow v0.66.2) View Source

Represents the result of annotation for the message.

Attributes

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

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.GoogleCloudDialogflowV2beta1MessageAnnotation{
    containEntities: boolean() | nil,
    parts:
      [
        GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1AnnotatedMessagePart.t()
      ]
      | nil
  }

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.