Entity Type Args
Creates an entity type in the specified agent. Note: You should always train a flow prior to sending it queries. See the training documentation.
Constructors
Properties
Indicates whether the entity type can be automatically expanded.
The human-readable name of the entity type, unique within the agent.
Enables fuzzy entity extraction during classification.
The collection of entity entries associated with the entity type.
Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry giant
(an adjective), you might consider adding giants
(a noun) as an exclusion. If the kind of entity type is KIND_MAP
, then the phrases specified by entities and excluded phrases should be mutually exclusive.
Indicates the kind of entity type.
The language of the following fields in entity_type
: * EntityType.entities.value
* EntityType.entities.synonyms
* EntityType.excluded_phrases.value
If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.