View Source GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3SessionEntityType (google_api_dialogflow v0.74.0)

Session entity types are referred to as User entity types and are entities that are built for an individual user such as favorites, preferences, playlists, and so on. You can redefine a session entity type at the session level to extend or replace a custom entity type at the user session level (we refer to the entity types defined at the agent level as "custom entity types"). Note: session entity types apply to all queries, regardless of the language. For more information about entity types, see the Dialogflow documentation.

Attributes

  • entities (type: list(GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3EntityTypeEntity.t), default: nil) - Required. The collection of entities to override or supplement the custom entity type.
  • entityOverrideMode (type: String.t, default: nil) - Required. Indicates whether the additional data should override or supplement the custom entity type definition.
  • name (type: String.t, default: nil) - Required. The unique identifier of the session entity type. Format: projects//locations//agents//sessions//entityTypes/ or projects//locations//agents//environments//sessions//entityTypes/. If Environment ID is not specified, we assume default 'draft' environment.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3SessionEntityType{
    entities:
      [
        GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3EntityTypeEntity.t()
      ]
      | nil,
    entityOverrideMode: String.t() | nil,
    name: String.t() | nil
  }

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.