Harvest
v0.1.0Plain-English training-data scout: 12 experts sweep HuggingFace + GitHub, compose scored packs.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
harvest.search
Search Hugging Face datasets and GitHub repos for a plain-English topic, then sweep the 12-expert atlas for breadth. Returns deduplicated HarvestItem[]. Works with no tokens (public rate limits apply).
| Parameter | Type | Description |
|---|---|---|
topic * | string | Plain-English topic, e.g. 'image classification' or 'speech recognition'. |
gh_token | string | Optional GitHub token for higher rate limits. Falls back to the GITHUB_TOKEN env var. |
hf_token | string | Optional Hugging Face token for higher rate limits. Falls back to the HF_TOKEN env var. |
harvest.expert
Run one of the 12 experts against Hugging Face + GitHub using its curated queries. Returns HarvestItem[].
| Parameter | Type | Description |
|---|---|---|
expert * | string | Expert id: code, math, science, language, vision, audio, medical, law, knowledge, safety, affect, systems. |
gh_token | string | Optional GitHub token for higher rate limits. Falls back to the GITHUB_TOKEN env var. |
hf_token | string | Optional Hugging Face token for higher rate limits. Falls back to the HF_TOKEN env var. |
harvest.latest
Scan what's trending: recently-updated Hugging Face datasets and hot/recent GitHub repos. Returns HarvestItem[].
| Parameter | Type | Description |
|---|---|---|
gh_token | string | Optional GitHub token for higher rate limits. Falls back to the GITHUB_TOKEN env var. |
hf_token | string | Optional Hugging Face token for higher rate limits. Falls back to the HF_TOKEN env var. |
harvest.compose
Compose a balanced mix from a catalog of items with the local mixer — no LLM/mouth required. Returns picks with rationale.
| Parameter | Type | Description |
|---|---|---|
catalog * | array | Candidate items (e.g. from harvest.search). |
goal * | string | What the training library is for, e.g. 'small vision-language model'. |
harvest.pack
Compose a mix from a catalog and emit a flare-harvest-library v1 pack JSON with coverage scores. No Bridge stanza included.
| Parameter | Type | Description |
|---|---|---|
catalog * | array | Candidate items (e.g. from harvest.search). Full HarvestItem objects preferred. |
goal * | string | What the training library is for. |
name * | string | Pack name, e.g. 'Vision Mix v1'. |