VERDANT SDK for inspectable AI governance
Project description
VERDANT SDK
VERDANT is a lightweight SDK for making AI outputs inspectable. It wraps an AI call and returns the clean model output together with a structured audit payload, bias flags, a plain-language explanation, and a 0-100 trust score.
The SDK is built for Nigerian and African teams shipping AI into higher-stakes contexts such as hiring, lending, content moderation, and healthcare.
Install
pip install verdant
Usage
from verdant import VerdantClient
client = VerdantClient(api_key="vd_live_...")
result = await client.wrap(
fn=openai.chat.completions.create,
model="gpt-4o",
messages=[{"role": "user", "content": user_input}],
)
print(result.output)
print(result.trust_score)
print(result.flags)
print(result.explanation)
Project
Source code, documentation, and issue tracking live at:
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
verdant-0.1.4.tar.gz
(22.2 kB
view details)
File details
Details for the file verdant-0.1.4.tar.gz.
File metadata
- Download URL: verdant-0.1.4.tar.gz
- Upload date:
- Size: 22.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0096b490cc02f047a6862c020a590f3c62ccba28c76d8290813c1f48ba14ca3d
|
|
| MD5 |
be2be6d227947d10cc5fa55b00d3c334
|
|
| BLAKE2b-256 |
afdff128a40f36bd8dcd150996b5151189933dab4ff65d1952c91e078e5e9be1
|