Virtual Assistant and point of Interest skill
csharp
There was an error while connecting the Skill to the Assistant:
Error: Some of the cultures provided to connect from the Skill are not available or aren't supported by your VA.
Make sure you have a Dispatch for the cultures you are trying to connect, and that your Skill has a LUIS model for that culture
I have updated the botskills and current version is botskills 1.0.10
And also Tried the Botskills connect without languages "en-us"
Connect the skill to VA through Botskill command
Please help. Thank you
@diana-RC Hi, since skill uses en-us in cognitivemodels now

VA should also uses this

I don't know if VSIX has been updated yet, but you could use VA directly here.
@xieofxie Hi, If I update the cognitivemodels.json(from "en" to "en-us") in VA then my bot is not responding. Please find the attachment for reference. Please help. Thank you
Hi @diana-rc, thanks for reporting this issue!
Are you using the latest version of the Virtual Assistant Sample which contains the method GetCognitiveModels()? This method is used to get your cognitiveModels that most closely matches your locale (i.e. en-us with en-uk ). See here.
We are validating the current behavior of [email protected] and get back to you later.
@diana-rc, looking at your last screenshot, we noticed that the resources are deployed in en but as [email protected] contains the multilanguage functionality will search for en-us and that error will raise.
We followed these steps being in _master_ branch, using the C# solutions and tested locally:
cognitiveModels file contains the specific culture like en-us. Also all the resources should contain the specific culture in the name (e.g mbvacstesten-us_Dispatch and mbvacstesten-us_General)/api/skill/manifest of your Skill so you can check that the locale contains a specific culture like en-usbotskills connect commandbotskills connect --remoteManifest "
/api/skill/manifest" --luisFolder " " --cs
- Check that the connection finished successfully
_cognitiveModels file after the deployment of a Virtual Assistant with the resources in en-us_

_Dispatch deployed in en-us_

_LU folder with en-us files_

_Skill Manifest with the locale in en-us_

_Botskills connect command executed_
botskills connect --remoteManifest "http://localhost:3978/api/skill/manifest" --luisFolder "C:\Git\botframework-solutions\templates\Skill-Template\csharp\Sample\SkillSample\Deployment\Resources\LU" --cs
_Successful connection between Virtual Assistant Sample and Skill Sample_

We hope this helps you and we will be attentive to your response馃槉.
@Batta32 Hi Batta, thanks a lot for the detailed explanation. Sure will update you soon after redeploying. Quick question
awaiting for your reply. Thank you
@diana-rc, the structure of the Virtual Assistant Sample has changed with the updates of the _next_ branch; so if you were using the sample before that merge, it's totally different now. We can't assure you that everything will work if you only update the MainDialog and the BotServices.
For example, the specific culture functionality with the fallback to root language was introduced in the PR #2368 which allows you to handle many cultures like en-us, en-uk, en at the same time. Also, to accept those changes in the connection of the VA - Skill, we updated the Botskills CLI Tool in PR #2131.
As a workaround for the connection, you can use [email protected] which doesn't contain those changes and you can keep your Virtual Assistant and Skill. In this case, you should use the two letter cultures for the connection and the deployment.
npm uninstall -g botskills
npm install -g [email protected]
@Batta32 thank you once again for guidance. I will try using [email protected] and use two letter cultures for the connection and deployment. If I am unsuccessful, I will go for the latest VA and [email protected].
Thank you
@Batta32 thanks a lot . I have installed botskills 1.0.9 and I have added the skill successfully.
Thank you so much
Awesome @diana-RC! I will close this, feel free to reopen if you have a similar issue 馃槉