Building and customizing solutions using Microsoft 365 Copilot APIs and tools
Duplicate or repeated responses from a Copilot Studio agent are typically caused by how topics, tools, and knowledge sources are orchestrated together, rather than by a single “duplicate answer” setting.
Key points based on Copilot Studio behavior:
- Generative orchestration can call multiple resources
- When generative orchestration is enabled, the agent can select multiple topics, tools, other agents, or knowledge sources for a single user message.
- It can call them in sequence and then summarize the information returned into one answer.
- If more than one selected resource produces a similar or identical user-facing message (for example, a topic and a knowledge source both answer the same question), the final response can appear as duplicated content in the same turn.
- The agent “selects one or more tools, topics, other agents, or knowledge sources to prepare its response.”
- If multiple are selected for the same intent and each is authored to send a full answer, the user may see repeated or very similar text.
- Topic confusion and overlapping triggers
- If multiple topics are semantically similar and can trigger on the same user question, the agent may:
- Open more than one topic path, or
- Ask follow‑up questions via the “Multiple Topics Matched” system topic.
- Overlapping topics that each send a full answer can effectively create “duplicate” responses.
- A topic confusion analysis is recommended to identify and reduce overlaps between topics and their trigger phrases.
- If multiple topics are semantically similar and can trigger on the same user question, the agent may:
- How to reduce or prevent duplicate‑like responses a. Reduce overlapping topics and triggers
- Review topics whose trigger phrases or intents are semantically similar.
- Consolidate similar topics where possible, or make their triggers more distinct.
- This improves topic triggering accuracy and reduces the chance that multiple topics contribute similar answers for the same question.
- When using generative orchestration with knowledge sources (SharePoint, websites, files, etc.), ensure that:
- Topics are not restating the same long-form answer that the knowledge source already provides.
- Topics are used for logic, routing, or short confirmations, while knowledge sources provide the detailed answer—or vice versa.
- Keep descriptions of tools, topics, and knowledge sources clear and distinct so orchestration can better choose the most appropriate single resource.
- Use agent evaluation test sets to repeatedly run the same questions and inspect which resources (topics, tools, knowledge sources) are used for each test case.
- Review the activity map per test case to see if multiple resources are being invoked for the same user question.
- Based on this, adjust topic design, triggers, and knowledge source configuration to ensure only one primary answer path is used for common queries.
- Why behavior may appear intermittent
- Generative orchestration uses conversation history and context when deciding what to call. The same question can lead to different selections in a fresh conversation versus a long-running one.
- This can make duplicate responses appear only sometimes, depending on prior turns and which tools/topics/knowledge sources are selected in that context.
In practice, mitigation focuses on:
- Reducing topic overlap (via topic confusion analysis).
- Making topics and knowledge sources more distinct in purpose and description.
- Using agent evaluation to detect when multiple resources are answering the same question and then simplifying or consolidating those paths.
References: