EntityList¶
- class oci.ai_speech.models.EntityList(**kwargs)¶
Bases:
objectList of entities of a given type, to be used to train a customization. Note: If multiple EntityLists are provided, a separate Customization resource will be created for each EntityList.
Methods:
__init__(**kwargs)Initializes a new EntityList object with values from keyword arguments.
Attributes:
Gets the alias of this EntityList.
Gets the entities of this EntityList.
[Required] Gets the entity_type of this EntityList.
Gets the id of this EntityList.
- __init__(**kwargs)¶
Initializes a new EntityList object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
alias (str) – The value to assign to the alias property of this EntityList.
id (str) – The value to assign to the id property of this EntityList.
entity_type (str) – The value to assign to the entity_type property of this EntityList.
entities (list[oci.ai_speech.models.Entity]) – The value to assign to the entities property of this EntityList.
- property alias¶
Gets the alias of this EntityList. Alias of existing customization or to associate with new customization created from entityList.
- Returns
The alias of this EntityList.
- Return type
str
- property entities¶
Gets the entities of this EntityList. List of entities such as names, words or phrases matching the given entityType to add recognition support for
- Returns
The entities of this EntityList.
- Return type
- property entity_type¶
[Required] Gets the entity_type of this EntityList. Entity Type
- Returns
The entity_type of this EntityList.
- Return type
str
- property id¶
Gets the id of this EntityList. Entity type OCID
- Returns
The id of this EntityList.
- Return type
str