# spawnllm decide


Ask the questions a JSON object on stdin holds about its state, and print the answers as JSON.


``` bash
spawnllm decide [OPTIONS]
```


The object holds `state`, the text or JSON to judge, and `questions`, each id mapped to `{"binary": {...}}`, `{"label": {...}}` or `{"score": {...}}` holding that question's fields, such as `{"label": {"instructions": "...", "options": {"none": "...", "a1": null}}}`. It prints `{"model": ..., "answers": {<id>: {"type": "label", "choice": ..., "probabilities": {...}, "confidence": ...}}}`.


<span class="gd-details-chevron" aria-hidden="true"></span>Full --help output


    Usage: spawnllm decide [OPTIONS]

      Ask the questions a JSON object on stdin holds about its state, and print
      the answers as JSON.

      The object holds `state`, the text or JSON to judge, and `questions`, each
      id mapped to `{"binary": {...}}`, `{"label": {...}}` or `{"score": {...}}`
      holding that question's fields, such as `{"label": {"instructions": "...",
      "options": {"none": "...", "a1": null}}}`. It prints `{"model": ...,
      "answers": {<id>: {"type": "label", "choice": ..., "probabilities": {...},
      "confidence": ...}}}`.

    Options:
      --provider [jev|openai]  [default: jev]
      --timeout FLOAT          Seconds for the whole call, retries included.
                               [default: 10.0]
      --help                   Show this message and exit.


# Options


`--provider: CHOICE = jev`  

`--timeout: FLOAT = 10.0`  
Seconds for the whole call, retries included.
