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.9.0.tar.gz (349.1 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.9.0-py3-none-any.whl (431.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for scorable-1.9.0.tar.gz
Algorithm Hash digest
SHA256 324d3029433a470c2eafa9f1b20438a50483f1b117c9fa5a16dbf5598b4eb0f6
MD5 e0bf7ff76ca6f2e32386849425fafc48
BLAKE2b-256 dd5b31f82e19ba5f300a632e1110da03b6e72396a9fb4e826529c3b182230b49

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scorable-1.9.0-py3-none-any.whl
  • Upload date:
  • Size: 431.0 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.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 379a83e2287ea5568d58d63208409426f6522fb84c97c5e0a55334223bf13e70
MD5 de653c026f5a8c4514512aa937d0d994
BLAKE2b-256 3ec3e04698ea120a31030df69b03708c5ab70ace9fcf12398af900bcb38908be

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