Skip to main content

beaker

Beaker SDK and CLI package.

beaker gives developers the tools to define optimization specs, validate them locally, upload datasets, configure hosted run environments, launch optimization runs, and inspect results from code or the CLI.

Customer specs import contract types directly from beaker:

from beaker import Case, CaseDataLoader, CaseResult, CaseScore, Spec, spec

Hosted model-selection rollouts also expose a generic OpenAI-compatible target:

from beaker import RolloutContext, inference_target


def build_eval_client(runtime: RolloutContext):
    target = inference_target(runtime)
    return YourFrameworkClient(
        base_url=target.base_url,
        api_key=target.api_key,
        model=target.model,
    )

Call inference_target only in the evaluation path when runtime.model is set. Ordinary dry-runs and production application calls should retain the application's existing model and client defaults.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

beaker_sdk-0.3.5.tar.gz (123.3 kB view details)

Uploaded Source

Built Distribution

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

beaker_sdk-0.3.5-py3-none-any.whl (147.8 kB view details)

Uploaded Python 3

File details

Details for the file beaker_sdk-0.3.5.tar.gz.

File metadata

  • Download URL: beaker_sdk-0.3.5.tar.gz
  • Upload date:
  • Size: 123.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.4

File hashes

Hashes for beaker_sdk-0.3.5.tar.gz
Algorithm Hash digest
SHA256 8188d8cc4361e404d1e9ea73fe8462ac17533c78d7e05b1f892c93b8141afe4c
MD5 94c1f203d004bf1ae8716ec12af8d452
BLAKE2b-256 80317a3d604cc5d9548ccc8e4432c40aa32b4bda391f9b4692c739e685fb0a50

See more details on using hashes here.

File details

Details for the file beaker_sdk-0.3.5-py3-none-any.whl.

File metadata

  • Download URL: beaker_sdk-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 147.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.4

File hashes

Hashes for beaker_sdk-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 5cf24440cf7b901d80a5876ad0d444958513b2c5ceb5eeb7f8afb1c33ea6b602
MD5 e480446fcd4a9aef7167d6a7e5a0d46a
BLAKE2b-256 c392d290c13e69a6e9e4407621e950199055075fa57733954b94b1a69f59d48e

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 Sentry Error logging StatusPage Status page