Skip to content
botassemblyPublic

About

ThinkThen: code that knows what you mean

Topics

Resources

Stars

8 stars

Watchers

0 watching

Forks

Repository files navigation

ThinkThen

ThinkThen gives programs ten functions that judge evidence by meaning.

Download the command archive for your platform from the 0.2.0 release. Extract it and put its command directory on PATH. Each archive includes the command and its licenses. Read the release runtime requirements before installing.

Rust applications use cargo add thinkthen --no-default-features. Install the command from source with cargo install thinkthen.

The example uses the stub backend and needs no key or service. On Linux x86-64:

mkdir thinkthen-0.2.0
tar -xzf thinkthen-0.2.0-linux-x86_64.tar.gz -C thinkthen-0.2.0
printf '%s\n' 'Please refund my order.' > message.txt
./thinkthen-0.2.0/thinkthen decide --backend stub --json \
  'Does the customer ask for money back?' < message.txt

Use the matching archive name on Linux arm64 or Apple Silicon macOS. On Windows:

Expand-Archive .\thinkthen-0.2.0-windows-x86_64.zip .\thinkthen-0.2.0
Set-Content -Encoding utf8 message.txt 'Please refund my order.'
Get-Content -Raw message.txt | .\thinkthen-0.2.0\thinkthen.exe decide --backend stub --json 'Does the customer ask for money back?'

Command API reference. Rust API reference.

Language packages: Python, TypeScript, Go, Java, Kotlin, C#, R, C, C++, Ruby, Swift and Zig.

Database packages: SQLite, PostgreSQL and DuckDB.

About

ThinkThen: code that knows what you mean

Topics

Resources

Stars

8 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages