Explanation for the connection of multiple languages of the same Skill
We introduced the possibility to connect multiple languages of the same Skill at the same time to the Virtual Assistant using Botskills CLI Tool.
Connections depend on the triangulation of the following language sources:
Dispatch modelsavailable in the Virtual Assistant
languages for the intentsin the Skill Manifest
--languagesargument of the
The only way to successfully execute the connection of several languages between a Virtual Assistant and a Skill would be if the
--languages argument contains the same or less values than the result of the intersection between the Dispatch models languages and the Skill manifest intents languages.
Assuming this scenario:
- Dispatch models in
fr-fravailable in the Virtual Assistant
- The Skill Manifest contains
it-itas languages for the intents
In this case, the intersection between the
Dispatch models and the
languages for the intents is
es-es. So, the
--languages argument should contain:
If the tool identifies an invalid language, it will stop the execution without connecting the valid languages.
Taking into account the scenario mentioned, we will connect the
es-es languages of the Skill to the Virtual Assistant
botskills connect --remoteManifest "https://<YOUR_SKILL_NAME>.azurewebsites.net/manifest/manifest-1.1.json" --cs --languages "en-us,es-es"
--languagesis an optional argument, it will connect
en-usby default, unless we pass a value to the argument.