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

Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted. Dialogflow provides predefined system entities that can match many common types of data. For example, there are system entities for matching dates, times, colors, email addresses, and so on. You can also create your own custom entities for matching custom data. For example, you could define a vegetable entity that can match the types of vegetables available for purchase with a grocery store agent. For more information, see the Entity guide.

Attributes

  • autoExpansionMode (type: String.t, default: nil) - Optional. Indicates whether the entity type can be automatically expanded.
  • displayName (type: String.t, default: nil) - Required. The name of the entity type.
  • enableFuzzyExtraction (type: boolean(), default: nil) - Optional. Enables fuzzy entity extraction during classification.
  • entities (type: list(GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1EntityTypeEntity.t), default: nil) - Optional. The collection of entity entries associated with the entity type.
  • kind (type: String.t, default: nil) - Required. Indicates the kind of entity type.
  • name (type: String.t, default: nil) - The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Supported formats: - projects//agent/entityTypes/ - projects//locations//agent/entityTypes/

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1EntityType{
  autoExpansionMode: String.t() | nil,
  displayName: String.t() | nil,
  enableFuzzyExtraction: boolean() | nil,
  entities:
    [
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1EntityTypeEntity.t()
    ]
    | nil,
  kind: String.t() | nil,
  name: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.