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

Community site session details

Session Id :
Copilot Studio - General
Unanswered

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

(1) ShareShare
ReportReport
Posted on by 2
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
    487 on at
    Copilot Studio - How to override agent default behavior to limit responses from Azure AI Search?
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 468 Super User 2025 Season 2

#2
stampcoin Profile Picture

stampcoin 52 Super User 2025 Season 2

#3
trice602 Profile Picture

trice602 46 Super User 2025 Season 2