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.
The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Supported formats: - projects/<Project ID>/agent/entityTypes/<Entity Type ID> - projects/<Project ID>/locations/<Location ID>/agent/entityTypes/<Entity
Type ID>
Optional. The collection of entity entries associated with the entity type.
enableFuzzyExtraction
boolean
Optional. Enables fuzzy entity extraction during classification.
Kind
Represents kinds of entities.
Enums
KIND_UNSPECIFIED
Not specified. This value should be never used.
KIND_MAP
Map entity types allow mapping of a group of synonyms to a reference value.
KIND_LIST
List entity types contain a set of entries that do not map to reference values. However, list entity types can contain references to other entity types (with or without aliases).
KIND_REGEXP
Regexp entity types allow to specify regular expressions in entries values.
AutoExpansionMode
Represents different entity type expansion modes. Automated expansion allows an agent to recognize values that have not been explicitly listed in the entity (for example, new kinds of shopping list items).
Enums
AUTO_EXPANSION_MODE_UNSPECIFIED
Auto expansion disabled for the entity.
AUTO_EXPANSION_MODE_DEFAULT
Allows an agent to recognize values that have not been explicitly listed in the entity.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-27 UTC."],[[["\u003cp\u003eEntity types define how data is extracted from end-user expressions, using either predefined system entities or custom-created entities.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON representation of an entity type includes fields like \u003ccode\u003ename\u003c/code\u003e, \u003ccode\u003edisplayName\u003c/code\u003e, \u003ccode\u003ekind\u003c/code\u003e, \u003ccode\u003eautoExpansionMode\u003c/code\u003e, \u003ccode\u003eentities\u003c/code\u003e, and \u003ccode\u003eenableFuzzyExtraction\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eEntity types have three \u003ccode\u003eKind\u003c/code\u003e enums: \u003ccode\u003eKIND_MAP\u003c/code\u003e (synonym mapping), \u003ccode\u003eKIND_LIST\u003c/code\u003e (set of entries without mapping), and \u003ccode\u003eKIND_REGEXP\u003c/code\u003e (regular expressions in entries).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAutoExpansionMode\u003c/code\u003e allows for an agent to recognize values that are not explicitly listed, with \u003ccode\u003eAUTO_EXPANSION_MODE_DEFAULT\u003c/code\u003e as an option.\u003c/p\u003e\n"],["\u003cp\u003eSeveral methods are available for managing entity types, including creating, deleting, updating, listing, and batch operations.\u003c/p\u003e\n"]]],[],null,["# REST Resource: projects.agent.entityTypes\n\n- [Resource: EntityType](#EntityType)\n - [JSON representation](#EntityType.SCHEMA_REPRESENTATION)\n - [Kind](#EntityType.Kind)\n - [AutoExpansionMode](#EntityType.AutoExpansionMode)\n- [Methods](#METHODS_SUMMARY)\n\nResource: EntityType\n--------------------\n\nEach intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted.\n\nDialogflow 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.\n\nFor more information, see the [Entity guide](https://cloud.google.com/dialogflow/docs/entities-overview).\n\n### Kind\n\nRepresents kinds of entities.\n\n### AutoExpansionMode\n\nRepresents different entity type expansion modes. Automated expansion allows an agent to recognize values that have not been explicitly listed in the entity (for example, new kinds of shopping list items)."]]