web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Help building agent de...
Copilot Studio
Unanswered

Help building agent depending on topic pulls from different files

(0) ShareShare
ReportReport
Posted on by 6
I have made a simple agent that just let you ask questions about 3 unrelated topics and using them all as the data source and uses them to answer the question.
But what i really want is the usre to select which topic they want and once selected it uses the knowledge source specfic to that topic.  So each topic would have different knowledge sources. I'm guessing each topic needs to be separate and attached to knowledge source.  But i have no idea how to do this.           
 
EXAMPLE:
At Conversation start ask select which topic you'd like help with?  Topic A, Topic B, Topic C   (are the topics the variables?  I am so lost.
 
Topic A                                                     B                                                       C
user asks question                                   user asks question                            user asks question 
Answer comes from File A                       Answer comes from File B                Answer comes from File B
 
I need a pretty detailed answers with examples if anyone can help. When i create a topic first thing it asks for is a trigger when i thought that would come later.  Don't know what to put.    If you can built a template of an agent setup this way it would help me understand..  
I appreciate any help.
Categories:
I have the same question (0)
  • fchopo Profile Picture
    8,003 Moderator on at
    Hello,
    As you mention, you should create different topics, and for each topic, select the file or files you want to use to generate the answer (using the "properties" of the "create generative answers" action).
    Hope that helps!
    Ferran
     
  • CE-12121942-0 Profile Picture
    6 on at
    I can't figure out how to reply to FCHOPO Specifically so I guess i have to reply to my post.  Thank you for your response.  I need a little help before that.  In your example your topic like mine starts with a trigger.  Yours appears to be set to phrase.  I am guessing the phrase is a keyword that triggers the topic that it pulls from a specific knowledge.  But i can't even figure out how to set it to phrase.  Then you show create generative answers. Is that a trigger or a variable.  I really need a bit more to understand this.  I even tried using copilot to help me figure this out but couldn't ask the right questions to get what i need.  
    Thank you again for responding.  
  • CE-12121942-0 Profile Picture
    6 on at
    Ferran,  Ok i found out that part of the issue is i couldnt see phrases.  I had Generative AI preview on instead of classic.  Now things are making more sense.  I'll still have questions but at least can use what you have shared. Thank you again for your help.  

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 820

#2
Vish WR Profile Picture

Vish WR 327

#3
Haque Profile Picture

Haque 296

Last 30 days Overall leaderboard