Edit

Share via


Configure agent context

Note

Copilot Studio bot is renamed as Copilot agent (agent or AI agent). Human agent is now renamed as customer service representative (service representative or representative). You might come across references to the old and new terms while we update the product UI, documentation, and training content.

AI agent context includes context name-value pairs for the current conversation and custom context passed by API programmatically. When customers start a conversation, the relevant context that's related to the customer, the issue they're facing, and recent activities performed by them can be made available for the agent to intelligently provide contextual responses to resolve customer issues in a quick and efficient manner. For example, the agent can use the signed-in user details to look up the recent case information or order history of the customer and provide a response. Similarly, the pre-conversation information, custom context, or recent pages browsed on a website by the customer can be passed on to the agent by configuring context variables for your agents.

For Azure agents, see Configure agent context in Azure agents. For Copilot agents, see Configure agent context in Copilot agents.

Next steps

Configure agent context in Azure agents
Configure agent context in Copilot agents

Send custom context
setContextProvider
Integrate an Azure agent