Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

"Repeat this dialog" action does not properly repeat current dialog context when consuming Skill #8970

@johnkm516

Description

@johnkm516

Describe the bug

"Repeat this dialog"'s expected behavior is re-evaulate the user's utterance from the Root bot's recognizer (or at least the dialog in which this action is called), not the skill's recognizer. Even though the Repeat this dialog action is in the Root bot's dialog the dialog's context is still in the Skill, not the root bot.

Version

image

OS

  • macOS
  • Windows
  • Ubuntu

To Reproduce

Steps to reproduce the behavior:

  1. Download Enterprise Assistant template
  2. Change recognizer from Orchestrator to Default (LUIS)
  3. Call a skill via utterance such as "Who are John's peers"
  4. If "Who are John's peers" results in multiple results, and user inputs a different utterance without selecting from the multi-prompt, the recognizer's intent of the user's new input results in "None", and the bot doesn't properly handle the user's new utterance (the bot only handles utterances in the People skill, so it is properly interrupted if I input an utterance related to the People skill, but not the root bot).

Expected behavior

From the Enterprise Assistant template's comments, the flow of dialog should be like this :

user : Who are John's peers?
Bot : Here is a list of John's peers : 
user : What's my schedule for tomorrow? (User inputs new utterance without selecting from previous multi-prompt)
Bot : Your schedule for tomorrow is :

Current behavior

user : Who are John's peers?
Bot : Here is a list of John's peers : 
user : What's my schedule for tomorrow? (User inputs new utterance without selecting from previous multi-prompt)
Bot : *LUIS intent recognizer points to None, bot outputs no response. 

Screenshots

image
image

User triggers getPeers intent, bot responds with list of peers multi-prompt.
User inputs "What are you" (expected behavior is to route this utterance from the root bot's recognizer so it points to QnAMaker's chitchat KB)
Recognizer's intent routes to None instead or other intents with very low probability via the skill's recognizer, NOT root bot's recognizer.

The expected behavior as per Enterprise Assistant's comment in ConnectToSkill :
image

Additional context

Possibly related to this issue over on botbuilder-dotnet : https://github.com/microsoft/botbuilder-dotnet/issues/3930

Possible related issue and resource for minimum reproducible code : https://stackoverflow.com/questions/67541109/bot-framework-how-do-i-stop-a-waterfall-dialog-which-is-waiting-for-a-prompt-re

This might be a feature request if not a bug. I would like an action that cancels all dialogs and routes the user input starting from the beginning as if the user is starting a new conversation. "Manually" triggering a user input if you will. I can get the user's message from turn.activity.text, all I want is the ability to call an action that stops all dialogs and re-call's LUIS all the way from the beginning of the stack at the root bot without the user having to manually do it (in order for the user to "manually" do it, they have to repeat the same utterance 2-3 times to exit out of the skill context)

If anyone has any suggestions / workarounds on how to get the behavior I want it would be greatly appreciated.

Metadata

Metadata

Labels

Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.Needs-triageA new issue that require triagecustomer-replied-toRequired for internal reporting. Do not delete.customer-reportedRequired for internal Azure reporting. Do not delete.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions