bf luis:version:export output error, which causes bf luis:generate:cs to fail #848
Labels
Bot Services
Required for internal Azure reporting. Do not delete. Do not change color.
customer-replied-to
Indicates that the team has replied to the issue reported by the customer. Do not delete.
customer-reported
Issue is created by anyone that is not a collaborator in the repository.
Versions
@microsoft/botframework-cli/4.9.1 win32-x64 node-v12.13.1
Describe the bug
The output json file generated by bf luis:version:export differs slightly from the json file downloaded from the LUIS Portal. This causes the bf luis:generate:cs command to fail with the error "Invalid LUIS JSON file content" while used with the output generated by the export command, but succeed with the .json file from LUIS portal. Screenshots attached below, showing these differences.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The .cs Helper file must be produced irrespective of the source of the input json file.
Screenshots
The file on the left is generated from bf, the file on the right is downloaded from the LUIS portal. Note the differences for regex features and regex entities, which is causing the failure of the bf generate command.
The text was updated successfully, but these errors were encountered: