Latest VA sample and skills
C#
The VA invocation phrase "sample dialog" does not work from OnBeginDialogAsync. It goes to generic invocation instead of skill invocation.
Teams channel new conversation message "@SampleVA sample dialog" is routed to skills. Both step 5 and 6 should produce same response for "@SampleVA sample dialog"
Above steps should give enough info.
Hi @Batta32, can you review this one?
Thanks
Sure @gabog ! We will be reviewing this issue trying to reproduce the problem. As soon as we have any update we will back here 馃槉.
Hi @ipraveenMS, sorry for the delay. We are currently working on this issue, so this week we will let you know the updates 馃槉.
@ipraveenMS - We reproduced the issue and sending the skill utterance before or during the onboarding dialog will not activate the Skill. We checked why this is happening, and we believe this is by design.
The steps we took were the following:
run sample dialog as first messageFollowing the Activity Handling document:
dialog to be null, as no dialog has started yetfalse because the current dialog is not a skill (so it won't ask the user if they wish to switch skill), and the utterance is not a General intent.@ipraveenMS - We found a workaround. It consists on extracting the logic that checks if the activity contains a skill utterance, and call it if it does, to its own method. Then that method can be called in earlier steps, such as before the OnBoardingStep or even in the InterruptDialog method.
This would require analyzing which should have a higher priority, if the onboarding process of the dialog, or the execution of the skill intent.
@VictorGrycuk @gabog This is a regression from previous behavior. We have BF from the versions where this works (VA and skill are in the same process, not different micro services) . So its not by design, its a bug.
Regarding the workaround, yes this came to my mind. But my ask here for you to address this as a bug and actually fix it in the code base which is much preferable rather than doing some one off fixes to my code which creates issues every time I sync (when ever you release new BF version with VA code changes).
Hi @ipraveenMS, we will be re analysing this.
We will let you know as soon as we have an update.
Thats great, let us know when this is fixed. For now I have incorporated the workaround in my code.
@VictorGrycuk We are glad to hear the workaround fixed it. We currently do not have the staffing for the bug fix. Closing it for now.
Most helpful comment
@VictorGrycuk We are glad to hear the workaround fixed it. We currently do not have the staffing for the bug fix. Closing it for now.