ThinkThen

Code that knows what you mean.

Simple functions that give your software judgment. Hand one a message, ask "Does the customer ask for a refund?", and get back yes or no.

Command line
Python and data
Web and scripting
JVM and .NET
Systems
Databases
The customer asks for money back. decide prints true and exits 0.
question="Does the customer ask for a refund?"

printf '%s' "Please refund my order. It arrived broken." |
thinkthen decide "$question"
Output
true
exit 0: yes
Install the command
curl -fsSL https://thinkthen.dev/install.sh | sh
Or with Homebrew, an option on a Mac
brew install botassembly/thinkthen/thinkthen

decide is an if that understands. filter is a grep that understands. rank is a sort that understands. Every answer rests on the model's probabilities. On decide, a band sends anything between its two sides back as not sure. A person reads those.

The ten functions

10 functions, 1 CLI, 24 bindings.

Learn it on the Beatles

Beatles Bench asks questions about Beatles songs. A script set the right answer to each scored question ahead of time, from Wikipedia and Wikidata. New to ThinkThen? Start with the tutorial.

Jobs your software can take on