ThinkThen

a saved question

@question: a saved question that six functions accept.

refund.json, a file the examples read
{
  "decide": "Does the customer ask for a refund?",
  "true": "The customer asks for money back.",
  "false": "Anything else, such as a cancellation or thanks.",
  "threshold": "0.2:0.8"
}
The saved question answers true for a plain request for money back.
cat <<'EOF' |
I would like to return this and get my money back.
EOF
thinkthen decide @refund.json
Output
true
exit 0: yes

Save one question in a JSON file. Pass it as @FILE to decide, choose, tag, score, filter, or rank. Every command that reads the file then asks the same question.

Read the answer

A band in the file marks the middle answers not sure. Send those to a person.

Exit codeWhat it means
5the file could not be read, is not one JSON object, or breaks a rule
2the command names the wrong verb for the file

Call it from your language

The Bash example opens this page.