@janak.jay Okay, I see your point. The input will be sent as is to the platform. However, if it matches the regex as defined at the PII settings, they would be redacted while storing it internally.
That’s the reason when you call the conversation history APIs from the webSDK, you see the inputs matching regex been redacted.
As you are referring to webSDK and your requirement is to mask the input as it passes from the input box to the chat window, developer should create the logic at the webSDK itself to display the masked text to the user and pass the actual value to the platform.