Skip to main content

Python Client Library for VYSP.AI

Project description

VYSP Client Library

Installation

First, install the library using pip:

pip install vysp-python

Usage Example

from vysp import VYSPClient

# Initialize the client
client = VYSPClient(tenant_api_key='your_tenant_key', gate_api_key='your_gate_key')

prompt = 'What is VYSP.AI?'

# Perform an input check
input_response = client.check_input(client_ref_user_id='123', prompt=prompt)
print(response)

model_output = 'VYSP.AI is a product that allows you to configure AI guardrails easier.'

# Perform an output check
output_response = client.check_output(client_ref_user_id='123', prompt=prompt, model_output=model_output)
print(response)

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

vysp_python-0.2.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

vysp_python-0.2.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file vysp_python-0.2.1.tar.gz.

File metadata

  • Download URL: vysp_python-0.2.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.9

File hashes

Hashes for vysp_python-0.2.1.tar.gz
Algorithm Hash digest
SHA256 215229613c4e5fff315b000725ad0dad000bf48388a0ce45b714585fe6490544
MD5 849dab12f80c81e2c8d17427b88774b3
BLAKE2b-256 9c24005e277c530bcb92270ab12c87a4e54241130bf2a5daad1d720de78894a3

See more details on using hashes here.

File details

Details for the file vysp_python-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: vysp_python-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.9

File hashes

Hashes for vysp_python-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7400b186ec34effc313c7c2d2e7469dd573e653671b4cdd5e97665fd1b81d04a
MD5 18445494741ce4e335dfbc3f82784270
BLAKE2b-256 4673e2c620a0eab6af4b0b5810426b60629edcda5d57ab4ad33da009075695cc

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