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.2.tar.gz (2.2 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.2-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: veridian_client-0.1.2.tar.gz
  • Upload date:
  • Size: 2.2 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.2.tar.gz
Algorithm Hash digest
SHA256 47510ae51c7d8d30fb3206d87372a483e523c5d6aba8b6dc99ac76b8cd398c89
MD5 085b15cbd5ccc61d6508478ff8018577
BLAKE2b-256 f2728e7a3dcd65215edcbd6f48242b640701dc3009fb6be8ea9506ffa007190a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for veridian_client-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8567b53d60007fabcd39c9f66d6d57cba5639f21a726b1c1911ed3458cc80e50
MD5 6fa7eb42880381277123527f60fc451d
BLAKE2b-256 dca2f5f2dd7627b10d9555864f18abdbbd95d814de290d5b6b72a912efbb5c7c

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