Skip to main content

Notifications

Copilot Studio - General
Answered

How can i get my copilot to do this through studio?

(1) ShareShare
ReportReport
Posted on by 14

Hi all,

I need help understanding how to set up a specific feature in Copilot Studio. Here’s what I want to achieve:

  1. Ask a Question: I want my Copilot to ask the user a question and have them respond in their own words.
  2. Match the Response: I want Copilot to compare the user's response to a list of five summarized answers from a knowledge article. To clarify - The users input (in their own words) will not exactly match the five summarised answers. I would like the copilot to work it out.
  3. Confirm Understanding: Based on the comparison, I want Copilot to confirm back to the user what it believes they are saying.

I'm struggling with how to implement this in Copilot Studio and would appreciate any guidance.

 

Thank you!

Categories:
  • Verified answer
    Artur Stepniak Profile Picture
    Artur Stepniak 1,359 on at
    How can i get my copilot to do this through studio?
    Hello,
     
    great, then I guess it's solved. If you could mark all the replies that've helped you as solutions, I'd be grateful - it helps others to find the necessary information.
     
    Best regards,
     
    Artur
  • WE-06081548-0 Profile Picture
    WE-06081548-0 14 on at
    How can i get my copilot to do this through studio?
    Thanks Artur,  Yes your probably right.. i have gone down the rabbit hole on this.  You have brought me back up!
     
    Yes, i have been using the designer and AI does a great job of creating the json also which is a huge timesaver.
  • Suggested answer
    Artur Stepniak Profile Picture
    Artur Stepniak 1,359 on at
    How can i get my copilot to do this through studio?
    You can use this designer to prepare the card: https://adaptivecards.io/designer/ 
  • Suggested answer
    Artur Stepniak Profile Picture
    Artur Stepniak 1,359 on at
    How can i get my copilot to do this through studio?
    Hello,
     
    understood! From my experience - sometimes it's just better to stick to simple solutions. :-) I'd suggest you to use a question - when someone would continue the development on your solution, he/she would need to know about adaptive card design, how to parse the response etc. If it's worth to do it, because the user experience is a lot better, then it's okay, but otherwise I think you're just wasting your precious time. ;-)
    If you'd still like to use an adaptive card, here's an example:
     
     
    I've used this JSON for the card:
     
    {
        "type": "AdaptiveCard",
        "body": [
            {
                "type": "TextBlock",
                "text": "Please select an option:",
                "weight": "Bolder",
                "size": "Medium"
            },
            {
                "type": "Input.ChoiceSet",
                "id": "choiceSet",
                "style": "expanded",
                "choices": [
                    {
                        "title": "Option 1",
                        "value": "1"
                    },
                    {
                        "title": "Option 2",
                        "value": "2"
                    },
                    {
                        "title": "Option 3",
                        "value": "3"
                    }
                ]
            }
        ],
        "actions": [
            {
                "type": "Action.Submit",
                "title": "Submit"
            }
        ],
        "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
        "version": "1.3"
    }
     
    You'd need to manipulate choiceSet value variable in the condition statement.
     
    In case of any other questions, let me know. If the answer helped you, mark it, so that others can benefit from it.
     
    Best regards,
     
    Artur Stepniak
  • WE-06081548-0 Profile Picture
    WE-06081548-0 14 on at
    How can i get my copilot to do this through studio?
    Hi Artur,
     
    Well, i have ended up down this path as a result of trying to make things look a little more appealing.
    I thought that was what adaptive cards could therefore be used for?
     
    Thanks for your contribution so far! :)
     
    Wayne
  • Suggested answer
    Artur Stepniak Profile Picture
    Artur Stepniak 1,359 on at
    How can i get my copilot to do this through studio?
    Hello,
     
    first things first - why are you using an adaptive card? Doesn't question suit your needs? You could use a question and then use a list of choices. It'll automatically create conditions for each one.
     
    Let me know how it goes. :-)
     
    Best regards,
     
    Artur Stepniak 
  • WE-06081548-0 Profile Picture
    WE-06081548-0 14 on at
    How can i get my copilot to do this through studio?

    Thank you for your help so far. I've decided to provide the user with a set of choices and then output a message based on their selection. However, I'm having trouble getting it to work correctly. It's likely I'm making a basic mistake, but it's been a long week!

    In the attached document, you can see my initial question along with one condition beneath it. I originally created five conditions, one for each of the A-E answers listed here for demonstration. (not shown here)

    I assume i need a condition for each selection A-E but when i had this configured the individual conditions did not trigger. I kept getting the same answer despite having conditions for each with different answers.

    What should each condition say to output a different response? Whatever I select doesn't seem to give me the correct answer, but as I mentioned, it's been a long week!

     

    Thanking you!

     
  • Suggested answer
    Artur Stepniak Profile Picture
    Artur Stepniak 1,359 on at
    How can i get my copilot to do this through studio?
    Yep, you're doing it correctly. :-)
  • Harish Purohit Profile Picture
    Harish Purohit 17 on at
    How can i get my copilot to do this through studio?
    Create a topic and select "Ask a Question " option
  • Suggested answer
    Artur Stepniak Profile Picture
    Artur Stepniak 1,359 on at
    How can i get my copilot to do this through studio?
    Hello,
     
    there are currently two options you can test out:
    1. Use Generative orchestration (https://learn.microsoft.com/en-us/microsoft-copilot-studio/advanced-generative-actions) - that way you'd speak with a chatbot like with chatGPT and you can try to instruct it in the system prompt to perform like that and use topics to ask a question.
     
    2. Use classic approach - that way you need to define a topic with trigger phrases, so that it'll run when someone tells a word or a phrase and implement the logic like: question, comparison of user's response etc.
     
    For overall guidance on how to create topics and what you can use, you can check out docs: https://learn.microsoft.com/en-us/microsoft-copilot-studio/nlu-authoring.
     
    Worth to note: the first approach is still in preview. :-)
     
     
    In case of any other questions, let me know. If the answer helped you, mark it, so that others can benefit from it.
     
    Best regards,
     
    Artur Stepniak

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,666

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,996

Leaderboard