Quickstart
Make your first evaluation request in under 5 minutes.
Install the SDK
PythonTypeScript
pip install veldrixai
Your first request
PythonTypeScript
import veldrixai
client = veldrixai.Client(api_key="vx_live_...")
result = client.evaluate(
prompt="Summarize the patient's medical history.",
response="The patient, John Smith (DOB 1985-03-12), has hypertension.",
pillars=["compliance", "safety"],
)
print(result.trust_score) # 0.34
print(result.action) # "mask"
print(result.violations[0]) # PII detected: name, date-of-birth
Reading results
| Field | Type | Description |
|---|---|---|
trust_score | float 0–1 | Aggregate trust score. Higher = safer. |
action | string | Enforcement action taken (allow, block, mask, etc.) |
violations | list | List of detected policy violations with details. |
pillar_scores | dict | Per-pillar breakdown scores. |
latency_ms | int | Total evaluation latency in milliseconds. |
Was this page helpful?