add id for generated recognizer and multiLang recognizer#858
add id for generated recognizer and multiLang recognizer#858
Conversation
vishwacsena
left a comment
There was a problem hiding this comment.
Have we tried this E2E with a set of declarative files? I have the luis + qna bot sample that is code based. We should probably do a manual validation with a similar bot declaratively defined before we take this in.
|
@vishwacsena, sure, I will work with zongyang @coldplaying42 to do manual tests in declarative bot. |
|
@vishwacsena, I have tried to generate the dialog assets with id property and compare them with the hand-edited dialog files @coldplaying42 was using when he demo lu and qna cross-training of sandwich form bot. They are exactly same and can work with the runtime well. |
|
I'm confused why this is necessary. By design the id of a top-level instance is the filename which is required to be globally unique. In fact, I believe dialog:verify will complain if a top-level id is present since that sets up a conflict between the filename and the id. The reason id exists is to name a $kind that is inside another one--and that is not what we have here since you are generating a top-level file. |
|
Hi @chrimc62, the id added by this PR is for CrossTrainedRecognizer to find the right recognizer when If we don't use |
|
OK, we removed the old id so this is the right one. In reply to: 645227009 [](ancestors = 645227009) |
fix #853 to add id for generated recognizer and multiLang recognizer dialog files which are required in SDK when including luis and qnamaker cross-train.