Skip to main content

A machine that guesses.

Project description

Guessing-Machine

A machine that guesses.

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 guessing-machine \
    --provider-api-key=sk-proj-... \
    --github-token=ghp_... 

Or, with a local pip installation:

pip install guessing-machine

Set the environment variables:

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

Then:

guessing-machine multilogue.txt

Or:

guessing-machine multilogue.txt new_turn.txt

Or:

cat multilogue.txt | guessing-machine

Or:

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

Or:

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

Or:

cat multilogue.txt new_turn.txt | guessing-machine

Or:

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

Or, if you have installed other machines:

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

Or use it in your Python code:

# Python
import guessing_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

guessing_machine-0.0.4.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.

guessing_machine-0.0.4-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

Details for the file guessing_machine-0.0.4.tar.gz.

File metadata

  • Download URL: guessing_machine-0.0.4.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 guessing_machine-0.0.4.tar.gz
Algorithm Hash digest
SHA256 8769cd2bffc9e9736c7979216ac0073505a3e661da879a5789fb4f8e8831c120
MD5 5d925065791a92901575a367b18b4e6c
BLAKE2b-256 4b3c925c5ef0f7cd96164f90215653cfa9e2d3886cd601de40015502662fdd2c

See more details on using hashes here.

File details

Details for the file guessing_machine-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for guessing_machine-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4d7b9dee4d52ef915aeed1794555a2e3d1e93b6c6dc08e00338d69d5341c9a4e
MD5 d8df9f98b53aa37809e125293050e06b
BLAKE2b-256 ebc2e8984582c6dc7d1c67add2994c8df091cdb9166ee7b77b2f31e37fa3eaa6

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