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.6.tar.gz (127.1 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.6-py3-none-any.whl (153.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for beaker_sdk-0.3.6.tar.gz
Algorithm Hash digest
SHA256 92d7e90e82306ccd2be722937e38253ca354875d6387d9983e349933268b0cca
MD5 d0a72b93a5f54f7e2b56fb8245c73cfb
BLAKE2b-256 35ac4eb682888f4f1ed629f0e41ca3d4dba98fc6065acaba948f3fd5ea00751c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for beaker_sdk-0.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 08aeb5d5aafbeaa1cb17cab487c7e45cb10b6f1bcaf56b8e3b7f216bf7d894f7
MD5 f616ce60905c8ce721bc714063c39dc8
BLAKE2b-256 e593d9aa6e64ee98248a605d8680bf0d75cf926bdc6847f7b941ee6d12494cab

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