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.5.tar.gz (3.0 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.5-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vysp_python-0.2.5.tar.gz
  • Upload date:
  • Size: 3.0 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.5.tar.gz
Algorithm Hash digest
SHA256 e4b69142813f6eb540b4a536ca5d1e77d415a7f49e157f436b9343caee4ec9c5
MD5 89817e2ad90ba679dd230f08f92993f2
BLAKE2b-256 58ff2e39350de17b3954c534bcd3b0e9cb3c0eaf6cd1c0da3b256389ba4ce9e6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vysp_python-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 3.8 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c0655d946dda7d0056debdf0650538443fe7912dbc9651df03b8f139a8d0bb6b
MD5 1a4923d6bb5cdcff784ad8fa28aebe6c
BLAKE2b-256 cd4d63bf7c7d8915d7030af93a9f395f1472146c95a4ef974b2e3396b68bd4f5

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