1

On Google dialog flow, is there a way to censor sensitive data. Suppose the user enters his credit card data, is there way to either have ** in place of the credit number, or the entire sentence? I tried sending a HTTP patch request as per https://cloud.google.com/dialogflow/docs/reference/rest/v2beta1/projects.agent.intents/patch, unsuccessfully. I dont understand what this is doing, if after succeeding we want to revert, how do we do that? Is there a better way to handle this problem?

  • is the idea to mask it for Google not to log it on Dialogflow, or do you want to mask it before it leave your server – Benoit Alvarez May 13 '20 at 18:06
  • 2
    For google not to log it in Dialogflow. For example, if the customer asks for his atm pin, he should be able to hear it, but the number should not show on the logs of google – Milind Mathai May 14 '20 at 19:37

1 Answers1

0

Thanks for your answer. So you will have to do it before sending it over to the cloud service as far as i know. If you know what you are looking for it can be quite straightforward, but if you look for general PII data, it is super difficult on the server side. Microsoft released something interesting - https://medium.com/microsoftazure/protecting-personal-identifiable-information-with-azure-ai-aa4b7afc4839, but you need to be confortable with the transcient aspect of the solution

Benoit Alvarez
  • 919
  • 6
  • 3