You can check and replace Personal Identifiable Information (PII) from the
/PII endpoint or
PII class in the Python Client. This endpoint/Class takes three parameters:
prompt- The prompt that you want to check for PII.
replace- A boolean for replacing the PII if any is found.
replace_method- The method you would like to use to replace any found PII. The methods are
The output will include the replaced PII if any is present, or will tell you if any PII is in the prompt is
replace is not chosen.