Skip to main content

Verdict — open-source LLM observability & drift detection SDK

Project description

Verdict Python SDK

PyPI distribution: cognifity-verdict. Python import: verdict.

The Verdict Python SDK. Auto-instruments your LLM calls via wrapt and captures them into a vendor-neutral Trace schema (attribute names follow the OpenTelemetry GenAI semantic conventions, but no OTel spans are emitted). Traces are written to SQLite by default (or any Storage adapter). Content capture (prompts/completions) is off by default — opt in with capture_content=True; when enabled, captured content is run through built-in regex + Luhn PII redaction before it is stored.

import verdict
from anthropic import Anthropic

verdict.init(service_name="my-app", storage="sqlite:///./verdict.db")
client = Anthropic()
# Use Anthropic normally — every call is captured.

See the repository README for the full picture, the architecture decisions, and the examples.

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

cognifity_verdict-0.1.0a2.tar.gz (54.9 kB view details)

Uploaded Source

Built Distribution

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

cognifity_verdict-0.1.0a2-py3-none-any.whl (55.5 kB view details)

Uploaded Python 3

File details

Details for the file cognifity_verdict-0.1.0a2.tar.gz.

File metadata

  • Download URL: cognifity_verdict-0.1.0a2.tar.gz
  • Upload date:
  • Size: 54.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for cognifity_verdict-0.1.0a2.tar.gz
Algorithm Hash digest
SHA256 8af1f5a1528c5a14c6f0f3a5ab702b9f457899b4020cb4e2ae659b64fc227cbb
MD5 fe44f2495cc1ba847f0110510f0628bd
BLAKE2b-256 f2495ef554df584d9d2142e9cbec0e15f653c067bd6a47c143e9cca1014c55a2

See more details on using hashes here.

Provenance

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

Publisher: publish.yml on cognifityai/verdict

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

File details

Details for the file cognifity_verdict-0.1.0a2-py3-none-any.whl.

File metadata

File hashes

Hashes for cognifity_verdict-0.1.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 6e18cab9db09583d55302e88e63c31b4f2fc6761450e7f34f0c66dc8daec20b1
MD5 9e38a7db0373d8d37c218ba91888cd80
BLAKE2b-256 042ca201fc6dcf13e1b9817db3487ca9082a8e94d97107b0b76191059fe82909

See more details on using hashes here.

Provenance

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

Publisher: publish.yml on cognifityai/verdict

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