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)
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.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4b69142813f6eb540b4a536ca5d1e77d415a7f49e157f436b9343caee4ec9c5
|
|
| MD5 |
89817e2ad90ba679dd230f08f92993f2
|
|
| BLAKE2b-256 |
58ff2e39350de17b3954c534bcd3b0e9cb3c0eaf6cd1c0da3b256389ba4ce9e6
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0655d946dda7d0056debdf0650538443fe7912dbc9651df03b8f139a8d0bb6b
|
|
| MD5 |
1a4923d6bb5cdcff784ad8fa28aebe6c
|
|
| BLAKE2b-256 |
cd4d63bf7c7d8915d7030af93a9f395f1472146c95a4ef974b2e3396b68bd4f5
|