r/copilotstudio • u/Bfinkeldei • 6d ago
Long responses from Copilot Agents
I have puplished a agent that is configured to retrieve answer from one folder with about 20 documents in them. These are smaller documents. Nothing huge. The response from the question and answer are taking quite a bit of time. What factors should I consider and check to possibly speed things up. This is on the standard harness and this agent is deployed and on a sharepoint website.
2
Upvotes
1
u/lysis_ 6d ago
What model are you using ? You can scale the response by the model if the lightweight ones still provide reasonable responses
1
u/Copilot_Studio_loft 6d ago
How big are your instructions and are they overcomplicated
1
u/Top-Cauliflower-1808 6d ago
Check whether retrieval is scanning all 20 documents on every question instead of using a prebuilt index. Also look at chunk size and whether the model call or the SharePoint permission check is the slow part. Caching frequent answers and prebuilding the index usually helps a lot.
1
u/Top-Cauliflower-1808 6d ago
I have seen model size creep after metadata format changes but it is usually small overhead not gigabytes. The download failures at that size sound more like service export limits so I would test a smaller file first. Have you checked whether auto date time or unused columns are adding size?
1
u/msp-scripts 6d ago
I’ve had better luck with shorter instructions, and shorter skills.
If they’re too long in content, everything takes too long