GoogleCloudDialogflowCxV3EntityType class
Entities are extracted from user input and represent parameters that are meaningful to your application.
For example, a date range, a proper name such as a geographic location or
landmark, and so on. Entities represent actionable data for your
application. When you define an entity, you can also include synonyms that
all map to that entity. For example, "soft drink", "soda", "pop", and so on.
There are three types of entities: * System - entities that are defined
by the Dialogflow API for common data types such as date, time, currency,
and so on. A system entity is represented by the EntityType
type. *
Custom - entities that are defined by you that represent actionable data
that is meaningful to your application. For example, you could define a
pizza.sauce
entity for red or white pizza sauce, a pizza.cheese
entity
for the different types of cheese on a pizza, a pizza.topping
entity for
different toppings, and so on. A custom entity is represented by the
EntityType
type. * User - entities that are built for an individual
user such as favorites, preferences, playlists, and so on. A user entity is
represented by the SessionEntityType type. For more information about entity
types, see the
Dialogflow documentation.
Constructors
-
GoogleCloudDialogflowCxV3EntityType({String? autoExpansionMode, String? displayName, bool? enableFuzzyExtraction, List<
GoogleCloudDialogflowCxV3EntityTypeEntity> ? entities, List<GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase> ? excludedPhrases, String? kind, String? name, bool? redact}) - GoogleCloudDialogflowCxV3EntityType.fromJson(Map json_)
Properties
- autoExpansionMode ↔ String?
-
Indicates whether the entity type can be automatically expanded.
Possible string values are:
getter/setter pair
- displayName ↔ String?
-
The human-readable name of the entity type, unique within the agent.
getter/setter pair
- enableFuzzyExtraction ↔ bool?
-
Enables fuzzy entity extraction during classification.
getter/setter pair
-
entities
↔ List<
GoogleCloudDialogflowCxV3EntityTypeEntity> ? -
The collection of entity entries associated with the entity type.
getter/setter pair
-
excludedPhrases
↔ List<
GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase> ? -
Collection of exceptional words and phrases that shouldn't be matched.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind ↔ String?
-
Indicates the kind of entity type.
getter/setter pair
- name ↔ String?
-
The unique identifier of the entity type.
getter/setter pair
- redact ↔ bool?
-
Indicates whether parameters of the entity type should be redacted in log.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited