ster decisions synthesize
Write labelled decisions with a hosted model through Stado's inference alternatives: for every option of every question in a schema, states that clearly belong to that option, each labelled with it by construction.
Invocation and purpose#
ster decisions synthesize --schema <SCHEMA> --generator-model <ROUTE> --output <OUTPUT> --per-option <N> --retry-multiplier <N> --temperature <T> --max-tokens <N>The schema is a request with no state: a domain the writer is told to write in, such as a customer support message to an online shoe store, and the questions of a decision. For every option of every question — option names of a choice, level texts of a score, yes and no of a noul — the writer is asked for states that clearly belong to that option, and each state is recorded with that option as its answer. Nothing judges the written state afterwards: a poor writer makes a poor set, and `ster decisions benchmark` on a held-out split is what says so. The hosted call is handed to Stado's inference alternatives, like `ster pairs synthesize --generator brama`.
Inputs and options#
| Input | Required | Meaning |
|---|---|---|
--schema <SCHEMA> | yes | JSON with domain and questions; validated as a request before anything is written. |
--generator-model <ROUTE> | yes | The route the writer runs on, such as the Brama alias wisent-backend/chat/primary; whether the answering alternative serves it is its own decision. |
--per-option <N> | yes | States written per option of each question, above zero. Ster assumes none. |
--retry-multiplier <N> | yes | Attempts allowed per state before an option is given up on, at least one. |
--temperature <T> | yes | Sampling temperature of the writer; above zero, or every attempt replays one state. The answering alternative holds it to its own bound. |
--max-tokens <N> | yes | The writer's token budget for one state, sent as max_tokens, within whatever bounds the answering alternative holds. |
--output <OUTPUT> | yes | Where the labelled decisions are written. |
Output and state#
Prints an object with path and report; the report carries generator (<alternative>:<route>, the inference alternative Stado says answered), domain, questions, requested states, attempts made, kept, rejected_empty and rejected_duplicates — a state is dropped when the writer returned nothing or when the same text, case-insensitively, was already kept — and the temperature and max_tokens the states were written with. Progress on stderr reads writing state <i> of <n> for question '<id>' option <name> (attempt <k>).
Refusals#
failed to read <path>;invalid decision schema <path>;a decision schema needs a domain;a decision schema needs at least one question; and the request refusals of `ster decide` for the questions.- Leaving out
--per-option,--retry-multiplier,--temperatureor--max-tokensis a usage error that names the flag, exit 2. synthesis needs at least one state per option;synthesis needs a retry multiplier of at least one.- The bounds on
max_tokensandtemperatureare the answering alternative's: an out-of-range value is refused by it on the first call and reaches you in Stado's sentence. - The hosted refusals of `ster pairs synthesize`: a blank route, no
stadothis account can run, no inference alternative answering (naming each one Stado asked, with its cause), Stado refusing the request itself, and an answer without an assistant message. the writer produced no usable statewhen every attempt came back empty or duplicate.