I am a beginner here. I want to filter out the sensitive data(like PII, or Credit Card number or SSN) and replace it with these texts "Credit Card", "Personal Identification Information") from user query every time if it is present before sending it for knowledge base search. How can I implement it in copilot studio. @Pstork1
@adilei Thank you for replying. How can I scrub the sensitive data before it goes to GenAI.
Then you should consider sanitizing transcripts after they are saved. Transcripts are stored here: Understand conversation transcripts - Microsoft Copilot Studio | Microsoft Learn
No! It should not be available in the transcript as well. Our old platform is using it for mapping to the required article/intent but when we export the interactions it would have *********** in that place. @adilei
Even if you filter PII out before sending it to Gen Answers, it is still stored in the conversation transcript. Are you okay with that?
I'm not sure there is a way to do that. The closest I think you could get would be to implement specific REGEX filters on the variable that contains the query before it is used. But I'm not aware of any built-in functionality to intercept PII.
stampcoin
6
Artur Stepniak
5
Super User 2025 Season 1
Michael E. Gernaey
4
Super User 2025 Season 1