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.0a1.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.0a1-py3-none-any.whl (55.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cognifity_verdict-0.1.0a1.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.0a1.tar.gz
Algorithm Hash digest
SHA256 b67146f506b2931dac181db8b7e3f64bc5e820a201c44341dcd22ed4092baefb
MD5 513ea2a92c29cc2fe39a3ece443229c2
BLAKE2b-256 d8daa12e8ccb765bf9d40dde45b9509195f52cdfa5a66633a917b49621dd9b3c

See more details on using hashes here.

Provenance

The following attestation bundles were made for cognifity_verdict-0.1.0a1.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.0a1-py3-none-any.whl.

File metadata

File hashes

Hashes for cognifity_verdict-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 1b51d24d72467f1f690e073afef795d6e1a8ef16d482af4284c88097413b9539
MD5 08042af0e885ea06a18647d508ed6575
BLAKE2b-256 033fa898ee0bf7b31674101f480f9dfd4046f6d0e7001de6221390b7c49f43bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for cognifity_verdict-0.1.0a1-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