Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Microsoft 365 Copilot is the user interface for AI. Custom engine agents are specialized chat experiences designed to harness the powerful capabilities of Large Language Models (LLMs) for seamless user interaction. Agents act as automated helpers that users interact with to perform tasks grounded in organizational data.
The agent user experience (UX) provides intuitive, efficient, and contextually relevant interactions to enhance user satisfaction and productivity. This article describes the native UX features on Copilot chat and Teams platform that you can apply and customize in your custom engine agents to enhance user interactions.
Important
Custom engine agents for Microsoft 365 Copilot Chat are currently in public preview.
Prompt starters
Prompt starters, also known as conversation starters, provide predefined prompts in your agent to help users initiate interactions. You can define the initial conversation messages in the latest manifest.json
.
For more information, see Create prompt suggestions.
Suggested prompts
Suggested prompts guide users to the next best actions based on the conversation context, user profiles, and organizational preferences. These prompts replace the existing dynamic suggested actions functionality and can also be displayed within Adaptive Card responses.
For more information, see Create prompt suggestions.
Streaming responses
Streaming responses are designed to enhance the user experience by providing visual real-time updates as the agent processes a request. This helps to prevent noticeable delays and makes interactions feel faster and more engaging.
You can implement streaming responses by using the Teams AI library. For more information, see Streaming messages.
Citations
Citations are references to the sources of information used by the agent to generate its responses. These citations help to ensure transparency, credibility, and trustworthiness in agent interactions.
Citations are returned by the model, and you can interact them with Teams AI Library. See the SDK reference.
AI labels
AI labels are automatically added to all agents' messages to indicate that a response is generated by AI. This transparency helps users distinguish between AI-generated and human-generated content and fosters trust in agent responses. These labels are automatically added to AI-generated messages when you use the Teams AI library.
Sensitivity labels
Sensitivity labels mark responses or content that contains confidential or sensitive information. This helps maintain proper data handling and helps to ensure that sensitive information is protected. Labels can be customized to reflect different levels of confidentiality, such as Confidential or Highly Confidential, and are important for compliance and security.
For more information, see Enhance AI-generated messages.
Feedback loop
Feedback loops are mechanisms that allow users to provide feedback on an agent's responses. This feedback helps refine and improve the agent's performance over time to help it become more accurate and useful.
For more information, see Feedback buttons.
Asynchronous patterns
Custom engine agents can handle multiple tasks concurrently without blocking the main thread. So users can keep chatting with an agent while a task is in process, even when the task takes a few minutes or days. Once the task is completed, the agent sends a notification to the user. These patterns may have been common scenario for Teams bots, and now landed on Copilot chat as well. The async scenarios include:
Follow-up messages
Follow-up messages on user-initiated workflows keep users informed about the status of their requests or jobs. For example, an IT agent updates the user once a new laptop purchase request is approved.
Long-running task
Long-running tasks are another type of user-initiated workflow where a process takes a long time to complete. For instance, a business document management agent might handle batch processing of multiple contract documents. While the process is still running, the user can continue chatting since the messages are non-blocking.
To send a follow-up message or wait for a long-tunning task, you can use the turn context object's SendActivity
(or SendActivityAsync
in C#) in the async
/await
pattern with Teams AI Library.
Proactive messages
Proactive messages are agent-initiated messages based on predefined triggers. Examples of their usage include sending reminders and alerts.
For more information, see Proactive messages
Note
While proactive messages are supported on Teams, the feature isn't yet available on Copilot chat.