MultiLanguageSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Settings for multi-lingual agents.
Attributes |
|
---|---|
Name | Description |
enable_multi_language_detection |
bool
Optional. Enable multi-language detection for this flow. This can be set only if [agent level multi language setting][Agent.enable_multi_language_training] is enabled. |
supported_response_language_codes |
MutableSequence[str]
Optional. Agent will respond in the detected language if the detected language code is in the supported resolved languages for this flow. This will be used only if multi-language training is enabled in the agent and multi-language detection is enabled in the flow. The supported languages must be a subset of the languages supported by the agent. |