In Microsoft Bot Composer, can intents be added to child dialogs, or only to main dialog?
I see an option to add intents in child dialogs, but when I test (LUIS or regex) they do not get recognized. However when I add them to main dialog they do.
Does this mean that all intents have to be loaded to main dialog only? Then what is the point of intent recognized
trigger?
Sample Case:
I created 2 intents. test2
and custom
. I put test2
in main dialog. And for custom
I tested exact same intent (with same phrases) in main vs child dialog.
In first case, I got correct recognition. In the other it either goes to wrong intent (test2) or gives 'not understood' response.
UPDATE: Based on answers and further testing, it appears that intents to child dialog can only be recognized IF THE DIALOG IS ALREADY OPEN. I.e., the intents are invisible at the start of conversation, and only visible if something opens the child dialog, and if the dialog continues to be open.
Yes , you can add intent for child dialog also. In Child dialog you have to set "Auto end dialog" property as false ( default is true) until end dialog is called , all intent(child dialog Intent) handle by the child dialog.