This repository was archived by the owner on Jan 15, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
bf luis:convert from json to lu prebuilt intent inheritance invalid #818
Copy link
Copy link
Closed
Labels
Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.Required for internal Azure reporting. Do not delete. Do not change color.R10Release 10 - August 17th, 2020Release 10 - August 17th, 2020customer-replied-toIndicates that the team has replied to the issue reported by the customer. Do not delete.Indicates that the team has replied to the issue reported by the customer. Do not delete.customer-reportedIssue is created by anyone that is not a collaborator in the repository.Issue is created by anyone that is not a collaborator in the repository.lunon luis api commandsnon luis api commands
Milestone
Description
Versions
@microsoft/botframework-cli/4.9.0 win32-x64 node-v12.13.1
Powershell
Describe the bug
Converting json version export to LUDown with prebuilt intent incorrectly formats the @intent.inherits information.
Compare:
!# @intent.inherits = name : Utilities.Cancel
with
!# @intent.inherits = name : Utilities.Cancel; domain_name : Utilities; model_name : Cancel
which comes from the "Export as LU" option in the LUIS portal.
To Reproduce
Steps to reproduce the behavior:
- Create LUIS application containing prebuilt intent
- Run bf luis:version:export and output to file... i.e. test.json
- Run bf luis:convert --in .\test.json --out test.lu
- Inspect intent.inherits information
- Run bf luis:convert --out .\test2.json --in test.lu
- Observer error:
[WARN]: Invalid intent inherits information found. Skipping "> !# @intent.inherits = name : Utilities.Cancel" - Attempt to import resulting JSON using bf luis:version:import
- Failed to import app version: Error: The model name { Utilities.Cancel } are reserved.
- Compare LU from portal to converted LU
Expected behavior
Correct inheritance information stored in LU down file
[bug]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.Required for internal Azure reporting. Do not delete. Do not change color.R10Release 10 - August 17th, 2020Release 10 - August 17th, 2020customer-replied-toIndicates that the team has replied to the issue reported by the customer. Do not delete.Indicates that the team has replied to the issue reported by the customer. Do not delete.customer-reportedIssue is created by anyone that is not a collaborator in the repository.Issue is created by anyone that is not a collaborator in the repository.lunon luis api commandsnon luis api commands