ConfigurationDetails¶
- class oci.ai_language.models.ConfigurationDetails(**kwargs)¶
Bases:
objecttraining model details
Methods:
__init__(**kwargs)Initializes a new ConfigurationDetails object with values from keyword arguments.
Attributes:
Gets the configuration_map of this ConfigurationDetails. model configuration details For PII : ConfigurationDetails will be PiiEntityMasking can be anyone of the following ex.{ "mode" : "MASK","maskingCharacter" : "&","leaveCharactersUnmasked": 3,"isUnmaskedFromEnd" : true } { "mode" : "MASK","replaceWith" : "&" } { "mode" : "REPLACE" } For language translation : { "languageCodes" : ["cs", "ar"]} Language code supported Automatically detect language - auto Arabic - ar Brazilian Portuguese - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - fr Canadian French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - no Polish - pl Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv Traditional Chinese - zh-TW Turkish - tr Greek - el Hebrew - he.
- __init__(**kwargs)¶
Initializes a new ConfigurationDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
configuration_map (dict(str, str)) – The value to assign to the configuration_map property of this ConfigurationDetails.
- property configuration_map¶
Gets the configuration_map of this ConfigurationDetails. model configuration details For PII : ConfigurationDetails will be PiiEntityMasking can be anyone of the following ex.{ “mode” : “MASK”,”maskingCharacter” : “&”,”leaveCharactersUnmasked”: 3,”isUnmaskedFromEnd” : true }
{ “mode” : “MASK”,”replaceWith” : “&” } { “mode” : “REPLACE” }
For language translation : { “languageCodes” : [“cs”, “ar”]} Language code supported
Automatically detect language - auto Arabic - ar Brazilian Portuguese - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - fr Canadian French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - no Polish - pl Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv Traditional Chinese - zh-TW Turkish - tr Greek - el Hebrew - he
- Returns
The configuration_map of this ConfigurationDetails.
- Return type
dict(str, str)