privateai / deid-examples

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 demo 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!

About

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

License:MIT License


Languages

Language:Jupyter Notebook 95.9%Language:Python 2.3%Language:JavaScript 1.2%Language:TypeScript 0.3%Language:HTML 0.2%