Skip to main content

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.

Metadata

Release files for ai-language-filter 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ai-language-filter 0.1.2
File Size Uploaded Provenance Actions
ai_language_filter-0.1.2.tar.gz 29.7 kB Without provenance Details for ai_language_filter-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ai-language-filter 0.1.2
File Interpreter ABI Platform Actions
ai_language_filter-0.1.2-py3-none-any.whl Python 3 none any Details for ai_language_filter-0.1.2-py3-none-any.whl

Total release size: 84.5 kB

Release files / ai_language_filter-0.1.2.tar.gz

Download URL ai_language_filter-0.1.2.tar.gz
Size 29.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7ace45b1c0528065ac21b9195b4b7fd1f1255f79a22ad6a6a97b4577259e5e64
BLAKE2b-256 checksum
How to use checksums
75c7509556c334d24c84a917544c27f5d432093cbc93a0368b7d8dd88dfb13f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.22

Release files / ai_language_filter-0.1.2-py3-none-any.whl

Download URL ai_language_filter-0.1.2-py3-none-any.whl
Size 54.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
397881816ca65f465b0ce78d7459855b79a6f5cc887692ee98bb113ec1b8ca64
BLAKE2b-256 checksum
How to use checksums
6edc9ce6864f6dddc1ef1e131fc8bb1d62ea99b7789763b2d5130eb98b46e2a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.22

Security for ai-language-filter 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page