Skip to main content

Generation fact-checker for the attune-* family. Verifies named entities in LLM output actually exist — imports import, CLI flags are real, links resolve, counts match source.

Project description

attune-verify

Generation fact-checker for the attune-* family. Verifies named entities in LLM-generated content actually exist — imports import, CLI flags are real, links resolve, counts match source — so hallucinations that pass unit tests are caught before they reach a reader.

Install

pip install attune-verify

With the optional LLM semantic layer (requires attune-rag):

pip install 'attune-verify[rag]'

Quick start

from attune_verify import verify, VerifyContext
from pathlib import Path

ctx = VerifyContext(
    project_root=Path("."),
    allowed_help_cmds=frozenset(["attune"]),
)
result = verify(generated_content, ctx)
if not result.ok:
    for f in result.findings:
        print(f"{f.kind}: {f.detail}")

Part of the attune family

  • attune-rag grounds generation in accurate retrieved sources (input-side)
  • attune-verify checks that named entities in the output actually exist (output-side)

Together they bracket generation: rag verifies "is this claim supported?"; verify checks "does this named thing exist?"

Status

Pre-alpha — spec complete, implementation in progress.

License

Apache 2.0

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

attune_verify-0.1.0.tar.gz (15.0 kB view details)

Uploaded Source

Built Distribution

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

attune_verify-0.1.0-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file attune_verify-0.1.0.tar.gz.

File metadata

  • Download URL: attune_verify-0.1.0.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for attune_verify-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e38927168db70ecc0dacf82df6b5b112f9b891343045eb37e57698d172671a9a
MD5 59e7d3631e1ceda6ba7ac1a047a07453
BLAKE2b-256 30800bc0f6571897c9d1050b98d15d2d4ecb2726de5b57e416d20de72efa876f

See more details on using hashes here.

Provenance

The following attestation bundles were made for attune_verify-0.1.0.tar.gz:

Publisher: publish-pypi.yml on Smart-AI-Memory/attune-verify

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file attune_verify-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: attune_verify-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for attune_verify-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ee7ac81987a3bba8b7231342c2cebfcfc241fab3d19b5eae69de10a1705206ff
MD5 bae5fbcb0ae4f9f0b7bf493502387060
BLAKE2b-256 e37f3dcfd375f3844fc4fe1386fa1c0dad819f16e22eeedf4a1b4f8790093222

See more details on using hashes here.

Provenance

The following attestation bundles were made for attune_verify-0.1.0-py3-none-any.whl:

Publisher: publish-pypi.yml on Smart-AI-Memory/attune-verify

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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