Skip to main content

Privacy-preserving RAG ingestion middleware with dual-pipeline processing

Project description

LexiRedact

LexiRedact is a privacy-preserving RAG ingestion middleware package for detecting and redacting PII before content is embedded and written to a vector store.

Installation

pip install lexiredact

Optional dependency groups are available for specific integrations:

pip install "lexiredact[pii,embed,store,cache,cli]"

Quick Start

from lexiredact import LexiredactPipeline, load_config

config = load_config("lexiredact_config.yaml")
pipeline = LexiredactPipeline(config)

CLI

lexiredact --help

Release

This project publishes to PyPI from GitHub Actions when a version tag is pushed:

git tag v0.0.2
git push origin v0.0.2

The PyPI project must be configured for Trusted Publishing with the pypi environment and the .github/workflows/publish.yml workflow.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lexiredact-0.2.0.tar.gz (27.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lexiredact-0.2.0-py3-none-any.whl (41.9 kB view details)

Uploaded Python 3

File details

Details for the file lexiredact-0.2.0.tar.gz.

File metadata

  • Download URL: lexiredact-0.2.0.tar.gz
  • Upload date:
  • Size: 27.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for lexiredact-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5b11072f43ede2276f1a317168ff6613021e517223789afa454168b7a60f00c6
MD5 f6e27fafd346b092b22be499cc8a4ec9
BLAKE2b-256 277d31ff1af0a8d8688663cd5b0d3f734b8c13099ec76508de46e8375a955000

See more details on using hashes here.

File details

Details for the file lexiredact-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: lexiredact-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 41.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for lexiredact-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c967278c5f4292fa9e0576ce0d0fa39452aecc742ceb43a6318db369a99bfe3f
MD5 01ef8b438cfb1a554aa4555b5c2f71d4
BLAKE2b-256 8afa77946513ce679eb891cba0897143372fe763f4e57485d6f4c875ce8de42a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page