Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.19 KB

File metadata and controls

32 lines (24 loc) · 1.19 KB

LanguageDetectionRuleConfig

Properties

Name Type Description Notes
whitelisted_languages List[Language] Whitelisted languages are the languages that are allowed to be present in model input text. [optional]

Example

from ri.apiclient.models.language_detection_rule_config import (
    LanguageDetectionRuleConfig,
)

# TODO update the JSON string below
json = "{}"
# create an instance of LanguageDetectionRuleConfig from a JSON string
language_detection_rule_config_instance = LanguageDetectionRuleConfig.from_json(json)
# print the JSON string representation of the object
print(LanguageDetectionRuleConfig.to_json())

# convert the object into a dict
language_detection_rule_config_dict = language_detection_rule_config_instance.to_dict()
# create an instance of LanguageDetectionRuleConfig from a dict
language_detection_rule_config_from_dict = LanguageDetectionRuleConfig.from_dict(
    language_detection_rule_config_dict
)

[Back to Model list] [Back to API list] [Back to README]