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 / Copilot Studio - How t...
Copilot Studio
Suggested Answer

Copilot Studio - How to override agent default behavior to limit responses from Azure AI Search?

(2) ShareShare
ReportReport
Posted on by 4
Hi,
 
We have an agent in Copilot Studio that uses Azure AI Search as a knowledge base. When we ask it a question that should return 10 -20 responses, we only get the top 3 - 5. This appears to be by design so as not to "overwhelm the user." How do we override this default behavior?
 
We have tried prompt engineering to tell the agent to always return as many results as possible but that doesn't work. We are currently using a workaround to use a Tool with an HTTP request to a Function that calls Azure AI Search. We then parse that respsonse to get what we want. We don't want to do this every time we use Azure AI Search as a knowledgebase.
 
Thanks,
 
Scott
Categories:
I have the same question (1)
  • Suggested answer
    Romain The Low-Code Bearded Bear Profile Picture
    2,876 Super User 2026 Season 1 on at
    hello,
     
    There are few things to know when using Azure AI Searh :
     
    - Number of answer and structure of answer is decide by the index : so it's about index configuration to decide the content to send to copilot studio
    - Copilot studio limit to a very small size the answer and often 5 is "ok"
     
    asking for 20 answer is not "good idea" for "RAG agent" : RAG is not business intelligence and that s why by default it refuse to answer so many result.
     
    Solution 
     
    Solution 1 : Modifye Index to send more result but 20 will probably be too much for copilot studio answer limit and will crash. But easy try
    Solution 2 : create an azure foundry agent dedicated to this kind of question and use it inside a topic : inside of topic you could replace the copilot studio native engine with a Azure AI foundry Agent you train to answer like you need
     
    Hope this 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 277

#2
11manish Profile Picture

11manish 206

#3
sannavajjala87 Profile Picture

sannavajjala87 156 Super User 2026 Season 1

Last 30 days Overall leaderboard