microsoft / botframework-cli

CLI Tools for the Microsoft Bot Framework
Other
177 stars 128 forks source link

bf orchestrator:create getting failed while processing CLU (Conversational language understanding) Json file #1355

Closed Vijayalakshmi-R1 closed 1 year ago

Vijayalakshmi-R1 commented 1 year ago

Hi Team,

While trying to create snapshot file using .tsv (Question Answering) & .json file (CLU), it gets failed while processing Json file. I have migrated the project from LUIS to CLU and exported the project (.json file) from CLU to create a snapshot but it gets failed while processing this json file whereas I am able to create a snapshot file using json file exported from LUIS App.

Command executed- bf orchestrator:create --hierarchical --in ./CognitiveModels --out ./generated --model ./model

Please find the error details below.

While using the project exported from LUIS Processing C:\Users\Vijayalakshmi.R\Desktop\Orchestrator\NPE\CognitiveModels\FINANCEKB.tsv... Processing C:\Users\Vijayalakshmi.R\Desktop\Orchestrator\NPE\CognitiveModels\GeneralKB.tsv... Processing C:\Users\Vijayalakshmi.R\Desktop\Orchestrator\NPE\CognitiveModels\HRKB.tsv... Processing C:\Users\Vijayalakshmi.R\Desktop\Orchestrator\NPE\CognitiveModels\Master.json... Processing C:\Users\Vijayalakshmi.R\Desktop\Orchestrator\NPE\CognitiveModels\STPKB.tsv... Snapshot written to C:\Users\Vijayalakshmi.R\Desktop\Orchestrator\NPE\generated\orchestrator.blu

While using the same project exported from CLU Processing C:\Users\Vijayalakshmi.R\Desktop\Orchestrator\NPE\CognitiveModels\FINANCEKB.tsv... Processing C:\Users\Vijayalakshmi.R\Desktop\Orchestrator\NPE\CognitiveModels\GeneralKB.tsv... Processing C:\Users\Vijayalakshmi.R\Desktop\Orchestrator\NPE\CognitiveModels\HRKB.tsv... Processing C:\Users\Vijayalakshmi.R\Desktop\Orchestrator\NPE\CognitiveModels\Master.json... Failed to parse LUIS or JSON file on intent/entity labels Failed to parse C:\Users\Vijayalakshmi.R\Desktop\Orchestrator\NPE\CognitiveModels\Master.json, error= {}

Please find the Json files below. CLU- Master.txt

LUIS- Master.txt

I see differences in schema between both json files. Is there any update in the orchestrator model to generate snapshot for CLU projects?

Thanks in advance.

johnataylor commented 1 year ago

@munozemilio any update on this?

munozemilio commented 1 year ago

Hello @Vijayalakshmi-R1 ... at the moment there is no support for CLU projects.