PII
You can check and replace Personal Identifiable Information (PII) from the /PII
REST API endpoint or any of the official SDKs (Python, Go, Rust, JS, or cURL).
The output will include the replaced PII if any is present, or will tell you if
any PII is in the prompt if replace
is not chosen.
Check and Replace PII
To check and replace PII, you can use the following code examples. Depending on your preference or requirements, select the appropriate method for your application.
The output will look something like:
This approach presents a straightforward way for readers to choose and apply the code example that best suits their needs for generating text completions using either Python, Go, Rust, JS, or cURL.