I am currently working on a Copilot Studio project for an enterprise chatbot and have encountered an issue regarding the ChatHistory functionality. We are unable to retrieve the ChatHistory within Copilot and need to send this information to PromptFlow so that OpenAI can interpret the user's context appropriately.
We are using a topic trigger for MessageReceived from the user, allowing us to store the user's message in a global variable. However, we are struggling to find a method to capture and store the chatbot's responses.
Could you advise on how we might resolve this and properly manage the ChatHistory in Copilot Studio?
Like user responses, i believe you can also capture the bot response in a variable. You can see the option available under datasources.
But Yes, we need to have the logic complex so as it should capture every Bot response and store it in a Array variable. Which means you have to add the Global array logic in each and every topic.
Thanks.
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.