Message Extension as Plugin for Copilot in Teams
Hi,
I’m creating a Message Extension as Plugin for Copilot in Teams and for the most part, it is working. But, I am facing an issue with parameter persistence. Here’s the example scenario:
I query, “What are the totals sale for Account X in 2022?” The parameters X and 2022 are successfully passed to the plugin (account and year)Copilot responds correctly and then asks if I want data for another year, asking, “Would you want another year?”I reply, “Yes, give me 2023.” Copilot acknowledges with, “Looking for total sales for Account X in 2023.”However, only 2023 is passed to the message plugin this time. Since the plugin requires both an account and a month to the function properly, it fails to return any data because the account parameter (X) isn’t passed again.
It seems like the issue is that subsequent queries do not retain the initially provided parameters. Does anyone have suggestions on how to ensure that both parameters are passed consistently, or is there a way to modify the plugin to retain the initial parameters for follow-up queries?
Thank you for your help!
Hi, I’m creating a Message Extension as Plugin for Copilot in Teams and for the most part, it is working. But, I am facing an issue with parameter persistence. Here’s the example scenario:I query, “What are the totals sale for Account X in 2022?” The parameters X and 2022 are successfully passed to the plugin (account and year)Copilot responds correctly and then asks if I want data for another year, asking, “Would you want another year?”I reply, “Yes, give me 2023.” Copilot acknowledges with, “Looking for total sales for Account X in 2023.”However, only 2023 is passed to the message plugin this time. Since the plugin requires both an account and a month to the function properly, it fails to return any data because the account parameter (X) isn’t passed again.It seems like the issue is that subsequent queries do not retain the initially provided parameters. Does anyone have suggestions on how to ensure that both parameters are passed consistently, or is there a way to modify the plugin to retain the initial parameters for follow-up queries?Thank you for your help! Read More