ThinkThen

question-file options

The command takes @FILE. It takes the place of the question words on decide, choose, tag, score, filter, and rank. Start with its value and exit code.

OptionWhat it does
the verb keyOne of decide, choose, tag, or score. It names the verb and carries the question text.
true, falseWhat a yes and a no mean, for a decide question.
options, labelsA list, or a map from label to what it means.
levelsThe scale, lowest first.
thresholdA cut, or a band written LOW:HIGH.
onOne JSON Pointer, or a list of them.
model, profileThe model to ask and the calibration profile to apply.

More examples

Sending it back could mean an exchange or money back. The band in the file calls it not sure. decide prints null and exits 3.
printf '%s\n' "I want to send this back." |
thinkthen decide @refund.json
Output
null
exit 3: not sure