Skip to main content

Notifications

Copilot Studio - Building Copilot Studio Chatbo...
Unanswered

PVA Chatbot Factorial Conditions

(0) ShareShare
ReportReport
Posted on by 3

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.

Categories:
  • MCG87 Profile Picture
    MCG87 3 on at
    Re: PVA Chatbot Factorial Conditions

    I feel like I am on the verge of understanding your recommendation. Can you please go into a little more detail and clarification?

  • Pstork1 Profile Picture
    Pstork1 64,907 on at
    Re: PVA Chatbot Factorial Conditions

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,567

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard

Featured topics