Metadata-Version: 2.4
Name: harbor-langsmith
Version: 0.1.0
Summary: LangSmith plugin for Harbor jobs.
Author: Alex Shaw
Author-email: Alex Shaw <alexgshaw64@gmail.com>
License-Expression: Apache-2.0
Requires-Dist: harbor>=0.13.0
Requires-Dist: requests>=2.32.4
Requires-Python: >=3.12
Project-URL: Repository, https://github.com/harbor-framework/harbor
Project-URL: Issues, https://github.com/harbor-framework/harbor/issues
Description-Content-Type: text/markdown

# harbor-langsmith

LangSmith plugin for Harbor jobs.

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

You can also pass the full import path:

```bash
harbor run ... --plugin harbor_langsmith:LangSmithPlugin
```

Optional environment variables:

- `HARBOR_LANGSMITH_DATASET`
- `HARBOR_LANGSMITH_EXPERIMENT`
- `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`, `endpoint`, `api_key`, `workspace_id`,
`sync_dataset`, and `fail_fast`.
