You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
CLI Version: @microsoft/botframework-cli/4.12.0-dev.20210126.0184ff0 win32-x64 node-v12.16.1
Node Version: 12.16.1
Windows 10
Describe the bug
LUIS settings are not being included in the generated JSON which means importing a LU file into LUIS drops the settings. This is a problem because LU file users cannot affect LUIS settings and LUIS exports don't round trip.
To Reproduce
Steps to reproduce the behavior:
Create a LU file foo.lu that includes this in the header:
Anything in the LU file with the > !# @app.PATH = VALUE prefix should be exported to the JSON. The lack of this functionality means you cannot round-trip LUIS models that modify settings. The current LUIS export will include the settings in the exported file.
Additional context
I looked at the repo and it looks like the bf-lu library is part of the CLI which implies that it has the latest bf-lu parser. The part which is missing is to put that into the JSON output when doing build or convert. It looks like only some of the properties like name and culture are being passed through when it should pass through all properties.
Hi Chris McConnell (@chrimc62), I just tried the case you described, but could not repro it with my machine. The bf-cli convert command can convert the headers you provided to settings in luis json. The version I used is same with you. I also double checked the luis:build command and the headers are taking effects in luis portal after published with cli. So I'm wondering if I missed some other steps to reproduce it?
Activity
munozemilio commentedon Feb 2, 2021
Fei Chen (@feich-ms) is this something you can take a look at?
scheyal commentedon Feb 2, 2021
Desire to do in R12 if possible.
feich-ms commentedon Feb 3, 2021
Emilio Munoz (@munozemilio) sure, will take a fix soon.
Eyal (@scheyal) It can target R12.
feich-ms commentedon Feb 3, 2021
Hi Chris McConnell (@chrimc62), I just tried the case you described, but could not repro it with my machine. The bf-cli convert command can convert the headers you provided to settings in luis json. The version I used is same with you. I also double checked the luis:build command and the headers are taking effects in luis portal after published with cli. So I'm wondering if I missed some other steps to reproduce it?
feich-ms commentedon Feb 5, 2021
Synced with Chris McConnell (@chrimc62), this can be reproduced with import definitions like below. I will take a fix soon.
