microsoft / BotFramework-Composer

Dialog creation and management for Microsoft Bot Framework Applications
https://docs.microsoft.com/en-us/composer/
MIT License
869 stars 372 forks source link

Parent bot doesn't map activity to skill #7295

Open Virtual-Josh opened 3 years ago

Virtual-Josh commented 3 years ago

Describe the bug

The parent bot (using Orchestrator or LUIS) doesn't route the trigger to the skill

Version

Version: 1.4.0-nightly.238265.5106247 Electron: 8.2.4 Chrome: 80.0.3987.165 NodeJS: 12.13.0 V8: 8.0.426.27-electron.0

Browser

OS

To Reproduce

Steps to reproduce the behavior:

  1. Create, provision, and publish a bot as a skill that has 2 intents
  2. Create the parent bot locally
  3. Connect the skill as a remote skill on the parent
  4. Start the parent bot locally
  5. Send the parent a message that's registered on the skill

Expected behavior

The parent should recognize the message as a skill intent and forward it along

Screenshots

image

Additional context

I'd attach the 2 bot projects here, but it's too big. Feel free to contact me and I can forward the projects.

Virtual-Josh commented 3 years ago

I should add this issue also happens when you are using local skills. I've setup the parent to have a weather intent which then has the manual step to connect to the skill. Once it gets forwarded to the skill the activity ends up in the skills unknown intent trigger.

image

scheyal commented 3 years ago

@Virtual-Josh - from a brief look, it seems like your recognizer is regex. The wizard should prompt you to use orchestrator. Your regex indeed doesn't recognize the intent. try to switch to orchestrator or luis to see the behavior. also I don't remember if we decided that for v1 local skill addition, doesn't take you through the wizard. we need to check that.

joshgummersall commented 3 years ago

Think that message was meant for @Virtual-Josh.