NerConfig
Bases: ModelConfigBase[NerConfig]
Configuration for the named-entity emotion model.
This model is not available for the streaming API.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
language |
Optional[str]
|
The BCP-47 tag (see above) of the language spoken in your media samples;
If missing or null, it will be automatically detected. Values are |
None
|
identify_speakers |
Optional[bool]
|
Whether to return identifiers for speakers over time. If true, unique identifiers will be assigned to spoken words to differentiate different speakers. If false, all speakers will be tagged with an "unknown" ID. This configuration is not available for the streaming API. |
None
|
Source code in hume/models/config/ner_config.py
get_model_type()
classmethod
Get the configuration model type.
Returns:
Name | Type | Description |
---|---|---|
ModelType |
ModelType
|
Model type. |