Botframework-composer: Enforced autoEndDialog for skills

Created on 16 Sep 2020  路  10Comments  路  Source: microsoft/BotFramework-Composer

Hi there,

in a project (current main branch), I have the issue that the autoEndDialog prop gets hard overwritten for the root dialog when I use the composer bot as a skill. I rather would prefer to use the explicit user configured setting. Should I submit a PR to change this?

Reference:
https://github.com/microsoft/BotFramework-Composer/blob/5668e0b8f683b5cef370aad53558c0621e41148a/runtime/dotnet/core/ComposerBot.cs#L51

Best wishes,
Christian

Bot Services customer-replied-to customer-reported

Most helpful comment

We are just testing a fix. If it works like expected, I鈥檓 going to start a pull request.

All 10 comments

@ltwlf We need this to be true, when it is skill mode. otherwise the conversation will always stay in skill bot, and will never end.
Could you explain more on how to you want to change this?

@Itwlf thank you for the input and the contributions. I'm closing this issue in favor of https://github.com/microsoft/BotFramework-Composer/issues/4222.

@luhan2017

We need this to be true, when it is skill mode. otherwise the conversation will always stay in skill bot, and will never end.
Could you explain more on how to you want to change this?

This exactly what I want. I want the control when a skill ends when I set in the UI autoEndDialog to false.

The requirement is based on a real project. We have a dispatcher bot and call this composer skill. The skill can show market analytics for different brands. We remember some context information and the user can do many queries, Currently the skill ends after the first report. When the user then ask for second market the dispatcher will not route him to the skill because some context is missing. We want to end the skill when we see I high evidence in the dispatcher model for an intent switch. We will cancel the dialog then in the consumer or when we recognize a cancel intent in the skill.

@carlosscastro can you keep this in mind as you look at the implementation of IsSkill function work? Thanks.

I am also having difficulty in my project with "autoEndDialog". This control is essential for the execution of the project I am currently doing. Is there any way around?

@carlosscastro do you have any updates on this issue?

We are just testing a fix. If it works like expected, I鈥檓 going to start a pull request.

@stevengum @carlosscastro I create a PR #4440 for this issue.
@zhnbss can you please confirm the desired behavior?

@ltwlf the fix looks great by me. Works as expected. Thanks

@gabog can you drive this while Carlos is out?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Laxmi30 picture Laxmi30  路  16Comments

cxbuilders picture cxbuilders  路  15Comments

cxbuilders picture cxbuilders  路  16Comments

kalebk picture kalebk  路  16Comments

KoradaRajesh picture KoradaRajesh  路  25Comments