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.2.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.2-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vysp_python-0.2.2.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.2.tar.gz
Algorithm Hash digest
SHA256 f3750d803e208b3e514522f6e42b6603f2a9dbc0cb21b612681101dcd6437c58
MD5 ec3e71b8e7c5315368368a8bdcfdc00b
BLAKE2b-256 b4d4d852bc5013262e5a963b7f96512d9efc3d702b8e301ff348989e87d1cd6d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vysp_python-0.2.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 61d6ae9271fcd867a7865e73d6a0b33e7e5c30b2727d47938f7d042752f3fb89
MD5 becf2acff6366cc3cf8030676bc5a869
BLAKE2b-256 5f265408e9b9ac5e41ddf562d3536d49ce7a2f2181ed04c20c428cdc9b32fac6

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