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

Uploaded Python 3

File details

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

File metadata

  • Download URL: vysp_python-0.2.3.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.3.tar.gz
Algorithm Hash digest
SHA256 2f5013e701b6566574340507aa2f7c0ddd87c8081d0de033d70408d806490eb0
MD5 5789164591923538a0f46d0ee99f2e1f
BLAKE2b-256 4bea233d0b24360b50cff0f5ccf716f00b66b1209bb55538f250a362b2c031a6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vysp_python-0.2.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5dcffa19d9452c6580576f191ada5b66e90e61f6dbead0ee37c5bfc0c3f3b576
MD5 71b7dea1cc5e4d76d68b5bb8caa88ce8
BLAKE2b-256 b1c646c39dbf46fc0a012cbb939cbae3899546af458831637b2e1a9804a437c9

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