Skip to content

Examples scripts that showcase how to use Private AI Text to de-identify, redact, hash, tokenize, mask and synthesize PII in text.

License

Notifications You must be signed in to change notification settings

privateai/deid-examples

Repository files navigation

Introduction

This repository contains examples that showcase how to use the Private AI REST API, for both Python and JS. The API allows for PII to be found in text and then replaced with redaction markers or synthetic PII. The system supports over 50 entity types, such as Credit Card information and Social Security numbers across 50 languages. The documentation and the API reference are available from Private AI's website.

How to get access

Get a Community API key here

For further information & access to the container feel free to contact us.

Setup

Private AI's service is primarily delivered via a self-hosted container. Please follow the setup instructions to get started.

It is also possible to use the Private AI cloud endpoint located at https://portal.private-ai.com/.

What are these examples?

In the JS folder where have common api call examples and use cases built in javascript. In the python folder we have the same examples expressed in python. If you are interested in our PrivateGPT to work securely with LLMs, you should check out the LLMs folder for some really cool stuff!