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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for veridian_client-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 09e951f1d734b969e7ace8f65054bbacb15483e9b991a5876e9e40d67c199ec6
MD5 0ed157bdcbed249e673d0ac2092d1f28
BLAKE2b-256 2b307366a3cd10e17fb7694604f117c45c20b458b618c1cdf2ae8ccafdd7b34c

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