Düzenle

Aracılığıyla paylaş


Configure bot context

Important

Power Virtual Agents capabilities and features are now part of Microsoft Copilot Studio following significant investments in generative AI and enhanced integrations across Microsoft Copilot.

Some articles and screenshots might refer to Power Virtual Agents while we update documentation and training content.

Bot 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 bot to intelligently provide contextual responses to resolve customer issues in a quick and efficient manner. For example, the bot 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 bot by configuring context variables for your bots.

For Azure bots, see Configure bot context in Azure bots. For Copilot Studio bots, see Configure bot context in Copilot Studio bots.

Next steps

Configure bot context in Azure bots
Configure bot context in Copilot Studio bots

Send custom context
setContextProvider
Integrate an Azure bot