You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whitelisted languages are the languages that are allowed to be present in model input text.
[optional]
Example
fromri.apiclient.models.language_detection_rule_configimport (
LanguageDetectionRuleConfig,
)
# TODO update the JSON string belowjson="{}"# create an instance of LanguageDetectionRuleConfig from a JSON stringlanguage_detection_rule_config_instance=LanguageDetectionRuleConfig.from_json(json)
# print the JSON string representation of the objectprint(LanguageDetectionRuleConfig.to_json())
# convert the object into a dictlanguage_detection_rule_config_dict=language_detection_rule_config_instance.to_dict()
# create an instance of LanguageDetectionRuleConfig from a dictlanguage_detection_rule_config_from_dict=LanguageDetectionRuleConfig.from_dict(
language_detection_rule_config_dict
)