Hi, Working in Copilot Studio on a bot that gives generative answers from AI Search content. While it would not be the norm for a user to go in and ask a bunch of disconnected questions, they would typically be drilling into one subject, making the state management a very valuable thing; we are trying to get in front of the potential edge cases and anomalies that could come up with users asking questions from all over the scope of our content in one conversation. For this, we are trying to find the best way, in the backend with Copilot studio, to clear out the variables after each user input/bot output. We have done this with 'Blank()' in each of the variables that holds content, shown in the Variables>Test view. And I am actively watching them fulling clear out in between each question. This does not seem to work. These are definitely edge cases, but this is an example of something we want to be prepared for:
User- What is a membership?
Bot- A membership is a contract of time and money with expectations between....... (citation)
User-Where can I buy juice?
Bot- Your contract can show you where to buy juice. (random citation)
What other ways are people finding to clear variables within the same conversation, through the Copilot Studio UI backend?
Or, is there another way to do this?
Some variables are Topical, some are Global, and there is not one point in the conversation where they can all be cleared. They need to be cleared after the appropriate API calls have been executed.