Skip to main content

Language-data authenticity enforcement tool

Project description

ai-language-filter

A Python package to filter prohibited behaviors in AI language models.

Strict filter to forbid synthetic/placeholder/inferred/virtual values, enforce >=2 authoritative-source crosschecks, and produce full audit trails.

Quickstart

pip install ai-language-filter
ai-language-filter --version
ai-language-filter --mount ./_alf
ai-language-filter --fail-on-violation "this contains simulated placeholder"


# AI Language Filter

A Python package to filter prohibited behaviors in AI language models.

## Installation
pip install ai-language-filter

## Usage
from ai_language_filter.core import FilterPipeline

pipeline = FilterPipeline(config_path="config.toml")
result = pipeline.process("Synthetic data here {{placeholder}}")
print(result)  # Blocked or redacted output

## Extension
See examples/ for custom plugins.

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

ai_language_filter-0.1.2.tar.gz (29.7 kB view details)

Uploaded Source

Built Distribution

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

ai_language_filter-0.1.2-py3-none-any.whl (54.8 kB view details)

Uploaded Python 3

File details

Details for the file ai_language_filter-0.1.2.tar.gz.

File metadata

  • Download URL: ai_language_filter-0.1.2.tar.gz
  • Upload date:
  • Size: 29.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.22

File hashes

Hashes for ai_language_filter-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7ace45b1c0528065ac21b9195b4b7fd1f1255f79a22ad6a6a97b4577259e5e64
MD5 4e4c0e04305b1a00f848c220999951bb
BLAKE2b-256 75c7509556c334d24c84a917544c27f5d432093cbc93a0368b7d8dd88dfb13f6

See more details on using hashes here.

File details

Details for the file ai_language_filter-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for ai_language_filter-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 397881816ca65f465b0ce78d7459855b79a6f5cc887692ee98bb113ec1b8ca64
MD5 123e3ea4ae1e0e96cfdf06ca3770d078
BLAKE2b-256 6edc9ce6864f6dddc1ef1e131fc8bb1d62ea99b7789763b2d5130eb98b46e2a5

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