LLM Extraction Auditor
A lightweight diagnostic linter that audits raw LLM outputs before they hit production databases. Detects syntax truncation, markdown block leaks, dirty formatting, and ungrounded hallucinations in sub-millisecond execution time.
The Problem
LLMs frequently return invalid JSON:
- Wrapping payloads in conversational text or markdown code fences (
```json). - Dropping closing braces
}or quotes. - Injecting formatting like
$400.00instead of a float400.0. - Hallucinating entities and metrics that never existed in the source document.
Re-prompting the LLM costs tokens and adds seconds of latency. This auditor catches defects instantly on the CPU.
Installation
git clone https://github.com/jdewards619-byte/llm-extraction-auditor.git
cd llm-extraction-auditor
pip install ollama json-repair pydantic
Metadata
Release files for llm-extraction-auditor 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| llm_extraction_auditor-0.1.0.tar.gz | 3.8 kB | Without provenance | Details for llm_extraction_auditor-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llm_extraction_auditor-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for llm_extraction_auditor-0.1.0-py3-none-any.whl |
Total release size: 7.7 kB
Release files / llm_extraction_auditor-0.1.0.tar.gz
| Download URL | llm_extraction_auditor-0.1.0.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ac7359c06d95bf90cd8c8ce1988ae382bab97c5133aaf11587f8d4ca6ff0347b
|
|
BLAKE2b-256 checksum How to use checksums |
9e6f2021aea36a5b95f933262d769a808435d2b6b9192b5240de699497cd362f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / llm_extraction_auditor-0.1.0-py3-none-any.whl
| Download URL | llm_extraction_auditor-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4cf20fd84a11e6a6e1062c720f3206cfdefa0359cdd0b50e7550de80a2b445d5
|
|
BLAKE2b-256 checksum How to use checksums |
358920565b3fe5d768c1aed93a642944e8a37d1e91dbbf335c8e67a7970e470c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Security for llm-extraction-auditor 0.1.0
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.