Encountering errors while connecting a sample skill to a virtual assistant. Both are in typescript and function individually, but when using botskills connect
, the following errors occur:
Initially, ran botskills connect with the --localManifest parameter (-l
):
botskills connect -l "C:\VA\latest-skill\src\manifest\manifest-1.1.json" --ts
This produced an error prompting to include the path to the Luis Folder:
Updating Dispatch
Adding skill to Dispatch
node.exe : Error while connecting Skill to Assistant:
At C:\npm\botskills.ps1:15 char:3
+ & "node$exe" "$basedir/node_modules/botskills/lib/botskills.js" $a ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (Error while connecting ...e Assistant::String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
Error: An error occurred while updating the Dispatch model:
Error: Path to LUIS folder (C:\VA\latest-assistant\Deployment\Resources\Skills) does not exist.
Remember to use '--luisFolder' argument for Skill's LUIS folder.
Next attempted adding the --luisFolder
argument, resulted in an error suggesting the use of --dispatchFolder argument:
Updating Dispatch
Adding skill to Dispatch
node.exe : Error while connecting the Skill to the Assistant:
At C:\npm\botskills.ps1:15 char:3
+ & "node$exe" "$basedir/node_modules/botskills/lib/botskills.js" $a ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (There was an er... the Assistant::String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
Error: An error occurred while updating the Dispatch model:
Error: Path to Dispatch folder (C:\VA\latest-assistant\Deployment\Resources\Dispatch\en-us) does not exist.
Use '--dispatchFolder' argument for Assistant's Dispatch folder.
The sample skill code structure in Typescript does not include such folders as indicated by the error messages. This is how the current folder structure appears:
https://i.sstatic.net/2fOzS.png
Need assistance on creating a dispatch folder manually or finding an alternate solution to address this issue. Your guidance would be highly appreciated, thank you.