Class GoogleCloudDialogflowCxV3EntityType
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.
Implements
Inherited Members
Namespace: Google.Apis.Dialogflow.v3.Data
Assembly: Google.Apis.Dialogflow.v3.dll
Syntax
public class GoogleCloudDialogflowCxV3EntityType : IDirectResponseSchema
Properties
AutoExpansionMode
Indicates whether the entity type can be automatically expanded.
Declaration
[JsonProperty("autoExpansionMode")]
public virtual string AutoExpansionMode { get; set; }
Property Value
Type | Description |
---|---|
string |
DisplayName
Required. The human-readable name of the entity type, unique within the agent.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EnableFuzzyExtraction
Enables fuzzy entity extraction during classification.
Declaration
[JsonProperty("enableFuzzyExtraction")]
public virtual bool? EnableFuzzyExtraction { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Entities
The collection of entity entries associated with the entity type.
Declaration
[JsonProperty("entities")]
public virtual IList<GoogleCloudDialogflowCxV3EntityTypeEntity> Entities { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudDialogflowCxV3EntityTypeEntity> |
ExcludedPhrases
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.
Declaration
[JsonProperty("excludedPhrases")]
public virtual IList<GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase> ExcludedPhrases { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase> |
Kind
Required. Indicates the kind of entity type.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType. Format:
projects//locations//agents//entityTypes/
.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Redact
Indicates whether parameters of the entity type should be redacted in log. If redaction is enabled, page parameters and intent parameters referring to the entity type will be replaced by parameter name when logging.
Declaration
[JsonProperty("redact")]
public virtual bool? Redact { get; set; }
Property Value
Type | Description |
---|---|
bool? |