Skip to main content

A machine that knows.

Project description

Knowing-Machine

A machine that knows.

In order to launch it from the command line or as a Python subprocess:

echo "Theodotos-Alexandreus: Are language models seeking the Truth, machine?" \
  | uvx knowing-machine \
    --provider-api-key=sk-proj-... \
    --github-token=ghp_... 

Or, with a local pip installation:

pip install knowing-machine

Set the environment variables:

export PROVIDER_API_KEY="sk-proj-..."
export GITHUB_TOKEN="ghp_..."

Then:

knowing-machine multilogue.txt

Or:

knowing-machine multilogue.txt new_turn.txt

Or:

cat multilogue.txt | knowing-machine

Or:

cat multilogue.txt | knowing-machine > tmp && mv tmp multilogue.txt

Or:

(cat multilogue.txt; echo:"Theodotos: What do you think, Knowing-Machine?") \
  | knowing-machine

Or:

cat multilogue.txt new_turn.txt | knowing-machine

Or:

cat multilogue.txt new_turn.txt | knowing-machine >  tmp && mv tmp multilogue.txt

Or, if you have installed other machines:

cat multilogue.md | knowing-machine \
  | summarizing-machine | judging-machine > summary_judgment.md

Or use it in your Python code:

# Python
import knowing_machine

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

knowing_machine-0.0.6.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

knowing_machine-0.0.6-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

Details for the file knowing_machine-0.0.6.tar.gz.

File metadata

  • Download URL: knowing_machine-0.0.6.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for knowing_machine-0.0.6.tar.gz
Algorithm Hash digest
SHA256 6f94fa0d8a68770d91a9678a643471b53978973faa23778a4d9ed3bbc91cff70
MD5 2599d55f91b90fbc6da88c2ab5779e60
BLAKE2b-256 4661cc38310a23adb3f4e0a0a100326ff7404f7b88fae8650bcc215b418f2d4d

See more details on using hashes here.

File details

Details for the file knowing_machine-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for knowing_machine-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 2c455c7ac7ba1b840fb905ebbe1588140f8e22951a894ea036c35b977d3d7657
MD5 ef169bc2fc37648e15ab80a2c8429544
BLAKE2b-256 14259da30ae94a221fded9a5cd1707bccaa26d79bf85a85cff404b25f6e79405

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page