https://github.com/philterd/philter-sdk-golang
Go client SDK for Philter
https://github.com/philterd/philter-sdk-golang
golang golang-library personally-identifiable-information phi philter pii sensitive-data sensitive-data-security
Last synced: about 2 months ago
JSON representation
Go client SDK for Philter
- Host: GitHub
- URL: https://github.com/philterd/philter-sdk-golang
- Owner: philterd
- License: apache-2.0
- Created: 2020-02-24T16:29:54.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-10-18T13:58:31.000Z (over 1 year ago)
- Last Synced: 2025-02-13T09:53:44.412Z (3 months ago)
- Topics: golang, golang-library, personally-identifiable-information, phi, philter, pii, sensitive-data, sensitive-data-security
- Language: Go
- Homepage: https://www.philterd.io/philter/
- Size: 28.3 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Philter SDK for Golang
The **Philter SDK for Golang** enables Go developers to easily work with Philter. [Philter](https://www.philterd.ai/philter/) identifies and manipulates sensitive information like Protected Health Information (PHI) and personally identifiable information (PII) from natural language text.
Refer to [Philter API](https://docs.philterd.ai/philter/api/) documentation for details on the methods available.
## Installation
`go get github.com/philterd/philter-sdk-golang`
## Example Usage
With an available running instance of Philter, to filter text:
To filter text:
```
filterResponse := Filter("http://localhost:8080", "His SSN was 123-45-6789.", "context", "docid", "default", "token")
```To filter with explanation:
```
explainResponse := Explain("http://localhost:8080", "His SSN was 123-45-6789.", "context", "docid", "default", "token")
```## Release History
* 1.2.0 - Renames `filterProfile` to `policy`.
* 1.1.0 - Adds authentication support.
* 1.0.0 - Initial release.## License
This project is licensed under the Apache License, version 2.0.
Copyright 2020-2023 Mountain Fog, Inc.
Philter is a registered trademark of Mountain Fog, Inc.