Skip to main content

Python SDK for the Rotascale Trust Intelligence Platform

Project description

Rotascale Python SDK

Python client SDK for the Rotascale Trust Intelligence Platform.

Installation

pip install rotascale

Usage

from rotascale import RotascaleClient

client = RotascaleClient(api_key="your-api-key")

# Scan an LLM output
result = client.guardian.scan(
    prompt="What is 2+2?",
    response="The answer is 4.",
    model="gpt-4"
)

print(result.passed)  # True

Documentation

See the Rotascale Documentation for full API reference.

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

rotascale-0.1.1.tar.gz (27.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rotascale-0.1.1-py3-none-any.whl (32.3 kB view details)

Uploaded Python 3

File details

Details for the file rotascale-0.1.1.tar.gz.

File metadata

  • Download URL: rotascale-0.1.1.tar.gz
  • Upload date:
  • Size: 27.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for rotascale-0.1.1.tar.gz
Algorithm Hash digest
SHA256 69a601faab935399daf91d8b0137f6a25a3b788b8320c9f88a33e5da7eccd03d
MD5 964144e78887bd871460201ba50f7852
BLAKE2b-256 d61aa0830ab38850862c0a2034e4d1af17e2405c62d3f95a50bb569f00e38368

See more details on using hashes here.

File details

Details for the file rotascale-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: rotascale-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 32.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for rotascale-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 81a7436f6a22e0e885bc08f496811f6a107a52f790833de7233980a9c90e112f
MD5 30232db2bb7deef79534a0ab1cd764ff
BLAKE2b-256 9fa3305e68c65955320ced38ce8eff71001d892c47ec8d323fc49af6ab65f9bd

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