Azure QnA Maker- Activating Dialog at the same time using branch switch choices
Published Apr 17 2024 06:54 AM 419 Views

I wanted to update you on a recent issue we encountered with a customer's Azure QnA Maker bot. The bot was correctly displaying options to the user, but upon selection, it would revert to showing the menu again instead of providing the relevant answers.

 

To address this, we implemented two key modifications in the bot composer where the customer was conducting tests.


1) Assign the below expression to the Value field of the User Input (Choice)

 

=this.value

 

Archi_Chakraborty_2-1713361871706.png

 

 

2) Then under Other tab, please set the value of Max turn count to 1 under Prompt Configurations

 

Archi_Chakraborty_3-1713361871707.png

 

So, Max Turn Count basically is the maximum number of re-prompt attempts before the default value is selected. When the max turn count is reached, the property will end up being set to null unless a default value is specified. Ask users for input in Bot Framework Composer | Microsoft Learn

Hope this helps everyone!!!

Co-Authors
Version history
Last update:
‎Apr 17 2024 06:54 AM
Updated by: