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

A session represents a conversation between a Dialogflow agent and an end-user. You can create special entities, called session entities, during a session. Session entities can extend or replace custom entity types and only exist during the session that they were created for. All session data, including session entities, is stored by Dialogflow for 20 minutes. For more information, see the session entity guide.

Attributes

  • entities (type: list(GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2EntityTypeEntity.t), default: nil) - Required. The collection of entities associated with this session 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 this session entity type. Format: projects//agent/sessions//entityTypes/, or projects//agent/environments//users//sessions//entityTypes/. If Environment ID is not specified, we assume default 'draft' environment. If User ID is not specified, we assume default '-' user. `` must be the display name of an existing entity type in the same agent that will be overridden or supplemented.

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.GoogleCloudDialogflowV2SessionEntityType{
  entities:
    [GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2EntityTypeEntity.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.