Skip to main content

Notifications

Copilot Studio - General
Unanswered

Search Result limits when using SharePoint as a knowledge source

Posted on 19 Nov 2024 13:24:54 by
I have built a Copilot Studio Agent with a knowledge source of a folder in a SharePoint Document Library.
 
If you search the folder in SharePoint for 'CRM' there are 14 matching documents, I have verified this by viewing each document.
 
In the published Copilot Agent the prompt "Find all documents which contain the phrase 'CRM' will only ever return 3 results.
 
Is there a way to increase the results limit?
 
I get a similar issue using Copilot for M365 Agents on the same folder, it will only ever return 10.
 
Thanks in advance.
 
 
Categories:
  • Artur Stepniak Profile Picture
    Artur Stepniak 2 on 26 Nov 2024 at 12:08:26
    Search Result limits when using SharePoint as a knowledge source
    Hello,
     
    due to randomness of the model itself, the best way to achieve stable results is to use RAG technique. In your case, instead of relying only on the model to find relevant documents, you could use a Sharepoint action like `Get files` - when invoked by the agent, it could get all files and filter out only the ones that the user asked for. API call will always return all results based on the query.
     
    In case of any other questions, let me know. If the answer is correct, mark it as a solution, 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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,129

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,797

Leaderboard