Skip to main content

LangSmith plugin for Harbor jobs.

Project description

harbor-langsmith

LangSmith plugin for Harbor jobs.

pip install "harbor[langsmith]"
export LANGSMITH_API_KEY=...
harbor run ... --plugin langsmith

You can also pass the full import path:

harbor run ... --plugin harbor_langsmith:LangSmithPlugin

Optional environment variables:

  • HARBOR_LANGSMITH_DATASET
  • HARBOR_LANGSMITH_EXPERIMENT — create or reuse a named shared experiment session; the name is used verbatim, linked to the synced dataset at creation, and is not closed by individual Harbor jobs
  • HARBOR_LANGSMITH_EXPERIMENT_ID — reuse an existing experiment session instead of creating a Harbor-job-specific session
  • LANGSMITH_ENDPOINT
  • LANGSMITH_WORKSPACE_ID
  • HARBOR_LANGSMITH_SYNC_DATASET=false
  • HARBOR_LANGSMITH_FAIL_FAST=true

Plugin kwargs (CLI --pk or job config kwargs:) mirror the constructor options: dataset_name, experiment_name, experiment_id, endpoint, api_key, workspace_id, sync_dataset, and fail_fast.

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

harbor_langsmith-0.3.0.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

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

harbor_langsmith-0.3.0-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file harbor_langsmith-0.3.0.tar.gz.

File metadata

  • Download URL: harbor_langsmith-0.3.0.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for harbor_langsmith-0.3.0.tar.gz
Algorithm Hash digest
SHA256 4ddf6dc7e9aa494d68adca3d7607b250fe942695e6ea1a254cf45dc5d8b23abc
MD5 b9d8fbbc72299cc33f5646db7a10d594
BLAKE2b-256 aafa609e032d4077f668e84303fbc19a0e4e8fa706f628ed58c24dec2524cd71

See more details on using hashes here.

File details

Details for the file harbor_langsmith-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: harbor_langsmith-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for harbor_langsmith-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d323084e7c6504081f6814726a244ae5f372d846ba17267ebf4e0c5773ee436a
MD5 fb78e5ab108a917764de8e95687610a8
BLAKE2b-256 53d2a82f46008590ce4826d3881b44904e05b433d85db893356acaec61c999e8

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