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.
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\u003eEntityType defines how data is extracted from user expressions in Dialogflow, including both predefined system entities and custom entities.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON representation of an EntityType 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, specifying the entity's unique identifier, type name, kind, expansion mode, associated entities, and whether to enable fuzzy extraction.\u003c/p\u003e\n"],["\u003cp\u003eEntityType's \u003ccode\u003eKind\u003c/code\u003e specifies whether the entity is a \u003ccode\u003eKIND_MAP\u003c/code\u003e for mapping synonyms to reference values, a \u003ccode\u003eKIND_LIST\u003c/code\u003e for a set of entries without reference values, or \u003ccode\u003eKIND_REGEXP\u003c/code\u003e for regular expressions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAutoExpansionMode\u003c/code\u003e of an EntityType determines if the agent can recognize values not explicitly listed, with the \u003ccode\u003eAUTO_EXPANSION_MODE_DEFAULT\u003c/code\u003e allowing for automatic recognition.\u003c/p\u003e\n"],["\u003cp\u003eSeveral methods exist for managing EntityTypes, such as \u003ccode\u003ebatchDelete\u003c/code\u003e, \u003ccode\u003ebatchUpdate\u003c/code\u003e, \u003ccode\u003ecreate\u003c/code\u003e, \u003ccode\u003edelete\u003c/code\u003e, \u003ccode\u003eget\u003c/code\u003e, \u003ccode\u003elist\u003c/code\u003e, and \u003ccode\u003epatch\u003c/code\u003e, enabling operations like creating, updating, retrieving, and deleting entity types within an agent.\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)."]]