Skip to main content

The Python SDK for API of Scorable

Project description

Scorable logo

Measurement & Control for LLM Automations

Supported Python versions

PyPI Downloads License

Scorable streamlines the evaluation of your LLM and agentic pipelines. We provide a holistic approach to GenAI measurability & observability with carefully-crafted ready-to-use evaluators based on cutting-edge LLM research as well as a framework for systematically adding your own custom evaluators.

With Scorable you can develop your LLM application reliably, deploy them in confidence, and ensure optimal performance with continuous monitoring.

📦 Install

pip install scorable

⚡ Quickstart

🔑 Get Your API Key

Sign up & create a key or generate a temporary key

Setup Option 1: Environment Variable

export SCORABLE_API_KEY=your-scorable-api-key

Setup Option 2: .env File

echo SCORABLE_API_KEY=your-scorable-api-key >> .env

Root Evaluators

from scorable import Scorable

# Connect to Scorable API
client = Scorable()

# Run any of our ready-made evaluators
result = client.evaluators.Politeness(
    response="You can find the instructions from our Careers page."
)
# Example result:
#   {
#     "score": 0.7, --> a normalized score between [0, 1]
#     "justification": "The response is st...",
#     "execution_log_id": "..."
#   }

Check the full list of Root evaluators from the Root evaluators documentation. You can also add your own custom evaluators.

📖 Documentation

Resource Link
🐍 Python SDK View Documentation
📘 Product Docs View Documentation
📑 API Docs View Documentation
🔌 MCP View Repo
Tutorial Link
Quickstart Quickstart in Colab
Tuning a Custom Judge Tuning a Custom Judge in Colab

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

scorable-1.8.0.tar.gz (345.6 kB view details)

Uploaded Source

Built Distribution

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

scorable-1.8.0-py3-none-any.whl (423.5 kB view details)

Uploaded Python 3

File details

Details for the file scorable-1.8.0.tar.gz.

File metadata

  • Download URL: scorable-1.8.0.tar.gz
  • Upload date:
  • Size: 345.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for scorable-1.8.0.tar.gz
Algorithm Hash digest
SHA256 6accc1ae2740c5ced50ab7eab0d3731679139bb538df8f4efc9a7c0654fbedb4
MD5 cca15a9e66bce2a55dbb1b9494bdabc0
BLAKE2b-256 6cf9e48e8f12f6aafab158098a0005a42914659cde069a2c0c26fdbf9f198f0e

See more details on using hashes here.

File details

Details for the file scorable-1.8.0-py3-none-any.whl.

File metadata

  • Download URL: scorable-1.8.0-py3-none-any.whl
  • Upload date:
  • Size: 423.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for scorable-1.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 89f1fe8f02a4e531ecb8da4454f8d356c3f533505cd57738870aa50ef4877c02
MD5 af774e84f0b5d2dd06976ae034e7b34c
BLAKE2b-256 421d06dc4d2bdda72e4cdc86cc20f6d722c1e79e5d7291a9a40a3ff34e6122db

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