bf orchestrator:create failing with parsing error #1306
Labels
bug
Indicates an unexpected problem or an unintended behavior.
needs-triage
The issue has just been created and it has not been reviewed by the team.
Versions
@microsoft/botframework-cli/4.15.0-rc0 win32-x64 node-v14.18.1
Node v14.18.1
Powershell
WIndows 11
Describe the bug
Below command is failing with json parsing error.
bf orchestrator:create --debug --hierarchical --in ./CognitiveModels --out ./generated --model ./model
Error:
[2021-10-18T18:46:43.816Z] LOG-MESSAGE: "refresh=undefined"
[2021-10-18T18:46:43.818Z] LOG-MESSAGE: "baseModelPath=D:\src\Akira\src\Akira\AkiraBot\model"
[2021-10-18T18:46:43.818Z] LOG-MESSAGE: "entityBaseModelPath=D:\src\Akira\src\Akira\AkiraBot\model"
[2021-10-18T18:46:43.818Z] LOG-MESSAGE: "inputPathConfiguration=D:\src\Akira\src\Akira\AkiraBot"
[2021-10-18T18:46:43.818Z] LOG-MESSAGE: "outputPath=D:\src\Akira\src\Akira\AkiraBot\generated"
[2021-10-18T18:46:43.819Z] LOG-MESSAGE: "hierarchical=true"
[2021-10-18T18:46:43.819Z] LOG-MESSAGE: "fullEmbeddings=false"
[2021-10-18T18:46:43.819Z] LOG-MESSAGE: "OrchestratorCreate.runAsync(), ready to call LabelResolver.createWithSnapshotFileAsync()"
[2021-10-18T18:46:43.819Z] LOG-MESSAGE: "LabelResolver.createWithSnapshotAsync(): loading a snapshot."
[2021-10-18T18:46:43.819Z] LOG-MESSAGE: "OrchestratorHelper.getSnapshotFromFile()", argument0="D:\src\Akira\src\Akira\AkiraBot\generated"
[2021-10-18T18:46:43.820Z] LOG-MESSAGE: "LabelResolver.createWithSnapshotAsync(): baseModelPath=D:\src\Akira\src\Akira\AkiraBot\model, entityBaseModelPath=D:\src\Akira\src\Akira\AkiraBot\model"
[2021-10-18T18:46:43.820Z] LOG-MESSAGE: "LabelResolver.loadNlrAsync(): creating Orchestrator."
[2021-10-18T18:46:43.820Z] LOG-MESSAGE: "LabelResolver.loadNlrAsync(): baseModelPath=D:\src\Akira\src\Akira\AkiraBot\model"
[2021-10-18T18:46:43.820Z] LOG-MESSAGE: "LabelResolver.loadNlrAsync(): entityBaseModelPath=D:\src\Akira\src\Akira\AkiraBot\model"
[2021-10-18T18:46:43.820Z] LOG-MESSAGE: "LabelResolver.loadNlrAsync(): baseModelPath-resolved=D:\src\Akira\src\Akira\AkiraBot\model"
[2021-10-18T18:46:43.820Z] LOG-MESSAGE: "LabelResolver.loadNlrAsync(): entityBaseModelPath-resolved=D:\src\Akira\src\Akira\AkiraBot\model"
[2021-10-18T18:46:43.821Z] LOG-MESSAGE: "LabelResolver.loadNlrAsync(): loading intent and entity base model"
[2021-10-18T18:46:44.469Z] LOG-MESSAGE: "LabelResolver.loadNlrAsync(): leaving."
[2021-10-18T18:46:44.470Z] LOG-MESSAGE: "LabelResolver.createWithSnapshotAsync(): typeof(snapshot)=object"
[2021-10-18T18:46:44.470Z] LOG-MESSAGE: "LabelResolver.createWithSnapshotAsync(): snapshot.byteLength=0"
[2021-10-18T18:46:44.470Z] LOG-MESSAGE: "LabelResolver.createWithSnapshotAsync(): creating label resolver."
[2021-10-18T18:46:44.472Z] LOG-MESSAGE: "LabelResolver.createWithSnapshotAsync(): finished creating label resolver."
[2021-10-18T18:46:44.472Z] LOG-MESSAGE: "OrchestratorCreate.runAsync(), after calling LabelResolver.createWithSnapshotFileAsync()"
[2021-10-18T18:46:44.472Z] LOG-MESSAGE: "ready to call LabelResolver.setRuntimeParams(), fullEmbeddings=false"
[2021-10-18T18:46:44.472Z] LOG-MESSAGE: "ready to call LabelResolver.setRuntimeParams(), resetAll=false"
[2021-10-18T18:46:44.472Z] LOG-MESSAGE: "ready to call LabelResolver.setRuntimeParams(), useCompactEmbeddingsObject=[object Object]"
[2021-10-18T18:46:44.473Z] LOG-MESSAGE: "ready to call LabelResolver.setRuntimeParams(), useCompactEmbeddingsObject.use_compact_embeddings=true"
[2021-10-18T18:46:44.473Z] LOG-MESSAGE: "ready to call LabelResolver.setRuntimeParams(), useCompactEmbeddingsObjectJson={\n "use_compact_embeddings": true\n}"
[2021-10-18T18:46:44.473Z] LOG-MESSAGE: "ready to call Utility.getConfigJson(), LabelResolver.LabelResolver=[object Object]"
Processing D:\src\Akira\src\Akira\AkiraBot\appsettings.json...
Failed to parse LUIS or JSON file on intent/entity labels
Failed to parse D:\src\Akira\src\Akira\AkiraBot\appsettings.json, error=
{}
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Would like to know clear reason for the failure.
[bug]
The text was updated successfully, but these errors were encountered: