I have added my bot to my own public website as an iFrame. All works fine... but having the citations in the bot's answers is really not what I want. How to remove them?
Background: I know how to remove citations in Generative Answers nodes using Fx. But how can I do something like this if I use the Generative (Preview) mode and my bot does not use topics with Generative Answers nodes to reply but instead just replies outside topics using the knowledge sources?
I guess a feature to turn off citations in this situation does not exist in Copilot Studio (yet), right? If not, then would anybody know about a workaround? I am thinking in the direction to parse all messages received via the iFrame and then filter out citations before presenting them to the user interface... but I have no clue how to do this (and it sounds kind of not so elegant).
Intercept and process bot responses before displaying them in your custom UI.
Use JavaScript in the parent webpage to: Capture the messages from the bot via the iFrame API. Parse and filter out citations (e.g., any text after "Sources:" or citation markers like [1], [2]). Update the displayed response without citations.
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.