GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Learning Commons Docs home page
  • Sign in
  • Overview
  • Knowledge Graph
  • Evaluators
  • Agent Skills
  • FAQ
  • Use cases
  • Core concepts
  • Quickstart
  • Quickstart
  • Supported evaluators
  • Configuration
  • Evaluation

This view

  • Original page
  • New address

GeezerVison is showing docs.learningcommons.org — Quickstart - Learning Commons Docs

The Python SDK lets you use evaluators in your own project:
  • Configure and run evaluators
  • Understand their outputs
  • Customize logging and handle errors
Email us ↗ about additional SDK language support. You can also sign up for a Platform account ↗ to receive updates on availability.

Install the SDK

Latest release
GitHub ↗PyPI version
Install the SDK from the package registry rather than cloning the evaluators repository ↗. The published package is versioned, so you can pick up fixes and new evaluators with a standard package update:
pip install --upgrade "learning-commons-evaluators[google]"   # or [openai], [anthropic], [all]

Supported vendor SDK versions

v1.3.0
PackageSupported versions
anthropic ↗>= v0.77.0
< v2
google-genai ↗>= v1.39.0
< v3
openai ↗>= v1.108.1
< v4

Run an evaluator

from learning_commons_evaluators import GradeLevelAppropriatenessEvaluator

evaluator = GradeLevelAppropriatenessEvaluator(
  google_api_key="your-google-key",
)

result = evaluator.evaluate_sync(
  text="The cat's out of the bag now.",
).result

print(result.grade_band)  # e.g. 2-3

Related topics

Supported evaluators

See which evaluators the Python SDK includes, and which API keys they need.

Configuration

Configure evaluators, including API keys and options.

Evaluation

Understand evaluator input and output fields.

Error handling

Handle configuration, validation, and API errors.

Was this page helpful?

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.