Message for Enabling Multi Language Detection.
| JSON representation |
|---|
{ "sourceLanguage": string, "enableMultiLanguageDetection": boolean } |
| Fields | |
|---|---|
sourceLanguage |
Optional. Optional Source language of the user prompt. If multi-language detection is enabled and this field is not set, the source language will be automatically detected. This string field accepts a language code from the ISO-639 standard. For a list of languages supported by Model Armor, see Model Armor supported languages. For a comprehensive list of language codes, see ISO-639. |
enableMultiLanguageDetection |
Optional. Enable detection of multi-language prompts and responses. |