Resource: EntityType
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.
JSON representation |
---|
{ "name": string, "displayName": string, "kind": enum ( |
Fields | |
---|---|
name |
The unique identifier of the entity type. Required for |
display |
Required. The name of the entity type. |
kind |
Required. Indicates the kind of entity type. |
auto |
Optional. Indicates whether the entity type can be automatically expanded. |
entities[] |
Optional. The collection of entity entries associated with the entity type. |
enable |
Optional. Enables fuzzy entity extraction during classification. |
Methods |
|
---|---|
|
Deletes entity types in the specified agent. |
|
Updates/Creates multiple entity types in the specified agent. |
|
Creates an entity type in the specified agent. |
|
Deletes the specified entity type. |
|
Retrieves the specified entity type. |
|
Returns the list of all entity types in the specified agent. |
|
Updates the specified entity type. |