Skip to main content

Notifications

Community site session details

Community site session details

Session Id : vEPZiU1Po5kjQLgqvav3JZ
Copilot Studio - Bot Administration
Unanswered

Call different Knowledge depending of the Question

Like (2) ShareShare
ReportReport
Posted on 20 Feb 2025 17:11:11 by 2
Hello: I created a chatbot but I want that the chatbot call an specific knowledge file that is in a Sharepoint. For example, in a sharepoint I have 4 files, HUB.doc, CLOUD.doc, DS.doc and SD.doc. If I make the following question: What are the policies of the area of CLOUD, the bot have to use the file CLOUD.doc to answer the question, If the question is "What are the policies of DS, the chatbot have to open the file DS.doc. As you can see the question is the same but the name of the area change(CLOUD, DS)Is it possible to do that?
  • Suggested answer
    DuaS. Profile Picture
    165 on 21 Feb 2025 at 04:54:37
    Call different Knowledge depending of the Question
    Hey, 

    Based on my understanding, you need to add a prompt (AI Builder) within your topic and define conditions such as:

    • If activity.text contains the word "Cloud," return "Cloud" .if word "DS," return "DS if  word "Hub," return "Hub.

    Simply return the corresponding name for each case.

    Next, add a condition for each word. For example, if var3.text equals "Cloud," add a Generative Answers node, select the relevant knowledge source, and enable the "Search selected knowledge" option, choosing only the Cloud-related document. Repeat this process for all four files.

    This will pull relevant information from the Cloud documents and display it.

    I hope this helps! Let me know if you need further assistance.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,518 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,749 Most Valuable Professional

Leaderboard

Featured topics

Loading started