Hello All,
I am trying to build a chat-bot in Teams that can be used in classroom / educational simulations. When the bot is started, it asks a question and the user is presented with 8 multiple choice options which creates 8 conditions to contain the variable for the selected response. Depending on the response, the user selects I want the bot, in the next question, to present the other 7 options as possible responses. I want this to continue until, no matter the order, the user has exhausted all 8 initial options.
The obvious problem with this is how many conditions this method necessitates-- ~40,320. This is too many for the PVA editor to handle. So, clearly, I need to split this into smaller topics. The issue I cannot figure out is how to account for selections made in previous topics and have those options dynamically disappear from topics to which the user is directed.
How can I build this simulation bot?
Thank you for considering this issue.
I feel like I am on the verge of understanding your recommendation. Can you please go into a little more detail and clarification?
Whether this would work or not depends on how you need to respond to each topic chosen. But I would try to create the equivalent of a matrix array using a closed list entity for the questions and a delimited string variable to record the questions that have been asked. Pass the variable to a flow that will use it to filter out the list in the entity and return the available questions. Repeat until there are no questions left.
I'm not sure if my explanation is clear enough. So let me know if it needs clarification. The idea is to avoid the permutations entirely by processing the possible questions each round dynamically.