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.4.tar.gz
(2.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vysp_python-0.2.4.tar.gz.
File metadata
- Download URL: vysp_python-0.2.4.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33d21a98e6754d66d84eed4c209844d996dd2eee8f4a8c5260ea19dae1c14c9e
|
|
| MD5 |
afe2f041ff6960a84156aed224905f46
|
|
| BLAKE2b-256 |
0d9fbff049f9b266f7cae18fe06711ef99ef8750fbb170bcbb80c3339b17b2ee
|
File details
Details for the file vysp_python-0.2.4-py3-none-any.whl.
File metadata
- Download URL: vysp_python-0.2.4-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6bf448b53f5e473dabb2de9eaac3217d1956daa58d865493b3b0dbcee2483cec
|
|
| MD5 |
4f90d6c6222c46a3ca00423e2131469f
|
|
| BLAKE2b-256 |
b6eb4e9de8d0a74584792f8c4cf9b31321b9d79fdbc6982691a47dfa63456f2a
|