ThinkThen

find options

The command takes QUESTION. Start with its value and exit code.

OptionWhat it does
--noneLets it answer that nothing fits. It then prints nothing and exits 3.
--lines, --jsonlHow the lines are framed. --lines is the default. CSV and TSV are refused.
--field POINTERNames the part of each record to read.
--input FILEReads the evidence from a file instead of standard input.
--planPrints the plan and sends nothing.
--model NAMEThe model the request carries. Name a version to pin a run. The default is jev-1.13.0.
--url BASEThe server's base address. It outranks THINKTHEN_BASE_URL.
--timeout SECONDSHow long one attempt may take. The default is 30.
--max-retries NHow many times a retried status is sent again. A transport failure is never sent again. The default is 3.
--record DIRCalls the backend and saves each exchange in DIR.
--replay DIRAnswers from DIR alone, with no key and no network.
--cache DIRAnswers from DIR when it can and saves new exchanges there.
--no-cacheTurns off the answer cache for one run.
--profile FILEApplies local backend limits and names the calibration profile in use.

More examples

No line says how to cancel. find prints nothing and exits 3.
question="Which line says how to cancel an order?"

cat <<'EOF' |
Returns need the original receipt.
Refunds are issued within 30 days of purchase.
Shipping is free on orders over $50.
Gift cards cannot be exchanged for cash.
EOF
thinkthen find "$question" --none
No outputexit 3: nothing fits, under --none
Q1 holds the reset steps, and the whole record comes back.
question="Which answer says how to reset a password?"

cat <<'EOF' |
{"id": "Q1", "text": "Open Settings and choose Reset password."}
{"id": "Q2", "text": "Invoices are emailed on the first of the month."}
{"id": "Q3", "text": "We ship to the US and Canada."}
EOF
thinkthen find "$question" \
  --jsonl \
  --field /text |
jq .
Output
{
  "id": "Q1",
  "text": "Open Settings and choose Reset password."
}
exit 0