google_api_dialogflow v0.38.0 GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2AnnotatedMessagePart View Source

Represents a part of a message possibly annotated with an entity. The part can be an entity or purely a part of the message between two entities or message start/end.

Attributes

  • entityType (type: String.t, default: nil) - The Dialogflow system entity type of this message part. If this is empty, Dialogflow could not annotate the phrase part with a system entity.
  • formattedValue (type: any(), default: nil) - The Dialogflow system entity formatted value of this message part. For example for a system entity of type @sys.unit-currency, this may contain:
    {
      "amount": 5,
      "currency": "USD"
    }
    
  • text (type: String.t, default: nil) - A part of a message possibly annotated with an entity.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2AnnotatedMessagePart{
    entityType: String.t(),
    formattedValue: any(),
    text: String.t()
  }

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.