An open API service indexing awesome lists of open source software.

https://github.com/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.
https://github.com/privateai/deid-examples

anonymization cpra data-anonymization data-loss-prevention data-masking de-identification de-identify deidentification dlp gdpr hipaa masking privacy-tools redact redaction synthetic-data synthetic-data-generator synthetic-dataset-generation text-anonymization tokenize

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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](https://docs.private-ai.com/entities/), such as Credit Card information and Social Security numbers across [50 languages](https://docs.private-ai.com/languages/). The [documentation](https://docs.private-ai.com/introduction) and the [API reference](https://docs.private-ai.com/reference/latest/operation/process_text_v3_process_text_post/) are available from Private AI's website.

## How to get access

Get a [Community API key here](https://portal.private-ai.com/)

For further information & access to the container feel free to [contact us](https://www.private-ai.com/da2t).

## Setup

Private AI's service is primarily delivered via a self-hosted container. Please follow the [setup instructions](https://docs.private-ai.com/installation/) to get started.

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

## What are these examples?

In the [JS](./js/examples/) folder where have common api call examples and use cases built in javascript. In the [python](./python/examples/) folder we have the same examples expressed in python. If you are interested in working securely with LLMs, you should check out the [LLMs](./python/LLM%20Examples/) folder for some really cool stuff!