Skip to main content

Client SDK for Veridian AI Safety Platform

Project description

Veridian Client SDK

The official Python client for the Veridian AI Safety Platform.

Installation

pip install veridian-client

Usage

Initialize the client with your API key:

from veridian import Veridian

client = Veridian(api_key="your-api-key")

Features

  • Check Prompt: Verify if an inbound user prompt is safe.

    result = client.check_prompt("Is this safe?")
    
  • Check Output: Verify if an outbound agent response is safe.

    result = client.check_output("Generated response")
    
  • Log Action: Log and check an agent tool call.

    result = client.log_action("tool_name", "tool_args")
    
  • Run Red Team: Trigger a red team campaign.

    result = client.run_redteam("user_intent", "target_description")
    

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

veridian_client-0.1.3.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

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

veridian_client-0.1.3-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file veridian_client-0.1.3.tar.gz.

File metadata

  • Download URL: veridian_client-0.1.3.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for veridian_client-0.1.3.tar.gz
Algorithm Hash digest
SHA256 a025f83af24326868efd0525f91274bef1a87e1465584dfc8ea6b4be9f6a433c
MD5 b1525ec6ff01d1812c4a620fb8017c39
BLAKE2b-256 55cbda3da1390f70daf34e8e6bcdd3a51b1c2f83d8917a291d7daa7c17f99c95

See more details on using hashes here.

File details

Details for the file veridian_client-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for veridian_client-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 19c66c34c8151b85293f1517d29fad2abb83e54587ca38b04511b5149b4a9beb
MD5 6ed2be958e0e5169bd46e5d24ed1fff5
BLAKE2b-256 3859688e3f8971a97812e93539f4d73f54aad90a4c666ec6994a7c49dd815090

See more details on using hashes here.

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