Entity Type Args
data class EntityTypeArgs(val agentId: Output<String>? = null, val autoExpansionMode: Output<EntityTypeAutoExpansionMode>? = null, val displayName: Output<String>? = null, val enableFuzzyExtraction: Output<Boolean>? = null, val entities: Output<List<GoogleCloudDialogflowCxV3beta1EntityTypeEntityArgs>>? = null, val excludedPhrases: Output<List<GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseArgs>>? = null, val kind: Output<EntityTypeKind>? = null, val languageCode: Output<String>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val redact: Output<Boolean>? = null) : ConvertibleToJava<EntityTypeArgs>
Creates an entity type in the specified agent.
Constructors
Link copied to clipboard
fun EntityTypeArgs(agentId: Output<String>? = null, autoExpansionMode: Output<EntityTypeAutoExpansionMode>? = null, displayName: Output<String>? = null, enableFuzzyExtraction: Output<Boolean>? = null, entities: Output<List<GoogleCloudDialogflowCxV3beta1EntityTypeEntityArgs>>? = null, excludedPhrases: Output<List<GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseArgs>>? = null, kind: Output<EntityTypeKind>? = null, languageCode: Output<String>? = null, location: Output<String>? = null, name: Output<String>? = null, project: Output<String>? = null, redact: Output<Boolean>? = null)
Functions
Properties
Link copied to clipboard
val excludedPhrases: Output<List<GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseArgs>>? = null
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.
Link copied to clipboard
Link copied to clipboard
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.