The language to be enabled based on the language code.
Required
langDefinitionMode
Required
langDefinitionMode.baseLanguage
Base language of the AI Agent.
Optional
langDefinitionMode.type
Type of language enablement Basic, advancedConfig, or fileUpload.
Optional
langDefinitionMode.fileId
The file ID for handling the file upload if the fileUpload language enablement is selected.
Optional
langDefinitionMode.preferredData
If the advancedConfig language enablement is selected, the True/False configuration setting for “training”, “faqs”, “ontology”, “Smalltalk” and “traits” keys should be included.
Optional
multiLingualConfigurations
Required
multiLingualConfigurations.nluLanguage
Refers to the language code of the A language.
Required
multiLingualConfigurations.inputTranslation
Refers to True/False setting for the input language translation to English.
Required
multiLingualConfigurations.responseTranslation
Refers to the True/False setting for the response language translation to English.
[{"message":"Enabled language successfully","configurationDetails":{"dialogs":3,"alerts":0,"actions":0,"knowledgetTasks":0,"smallTalk":1,"panels":0,"widgets":0}}]