Create a choice list in Framework Composer

Vázquez Romero, Adrián 21 Reputation points
2021-08-13T16:05:42.407+00:00

Hi,
I want to create a multichoice button list with Framework Composer. I have almost 30 triggers each with its intents, they works well but, since they are FAQs I would like to guide the user to the possibilities by a two levels of multichoice button lists. For example: "What phase are you in?" [Before] [Doing] [After]. And if the user push [Before], the bot shows 10 examples of intents. The same with [Doing] and [After]. Also I want the possibility of write the doubt at the beggining.
My problem is that, since I have no intents for "before", "doing" and "after", so Luis do not predict it.
How can I do that? I have very poor experience in Composer and I do not find examples.
I would like to know how compose the multichoice node and the next who get the information.
Thanks.

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
807 questions
0 comments No comments
{count} votes

Accepted answer
  1. Dana VanHooser (TEKsystems, Inc.) 86 Reputation points
    2021-08-13T17:29:55.27+00:00

    I would like to guide the user to the possibilities by a two levels of multichoice button lists.

    This is a perfect scenario for a combination of choice prompt and suggested actions. Create a choice prompt for the first (before, doing, after). Then, add a switch branch, then handle each choice with Suggested actions. I just tested this and it looked like what you want:
    123147-image.png

    Here is what the sent a response activity looks like (using a structured response of Suggested Actions):

    [Activity  
        Text = Please pick one  
        SuggestedActions = intent1 | intent2 | intent3 | intent4 | intent5 | intent6 | intent7 | intent8 | intent9 | intent10  
    ]  
    

    I want the possibility of write the doubt at the beginning.

    I'm not sure what you mean by this. Does the above accomplish what you need?

    My problem is that, since I have no intents for "before", "doing" and "after", so Luis do not predict it.

    That is fine. Those aren't true intents anyhow. Like I said; choice prompt and suggested actions are a great solution.

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful