Skip to main content

A Machine that summarizes texts.

Project description

Summarizing-Machine

A Machine that summarizes texts.

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

Or, with a local pip installation:

pip install summarizing-machine

Set the environment variables:

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

Then:

summarizing-machine multilogue.txt

Or:

summarizing-machine multilogue.txt new_turn.txt

Or:

cat multilogue.txt | summarizing-machine

Or:

cat multilogue.txt | summarizing-machine > multilogue.txt

Or:

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

Or:

cat multilogue.txt new_turn.txt | summarizing-machine

Or:

cat multilogue.txt new_turn.txt | summarizing-machine > multilogue.txt

Or, if you have installed other machines:

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

Or use it in your Python code:

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

summarizing_machine-0.0.1.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

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

summarizing_machine-0.0.1-py3-none-any.whl (21.7 kB view details)

Uploaded Python 3

File details

Details for the file summarizing_machine-0.0.1.tar.gz.

File metadata

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

File hashes

Hashes for summarizing_machine-0.0.1.tar.gz
Algorithm Hash digest
SHA256 32c1635edb039c13c8f44fdb7525114d0803c621416fe7b011a3fef5a498e8b6
MD5 0590382ebbce916829a89e414b5b06b5
BLAKE2b-256 7245e3268128385494f12fcf79d667c8a33aada2c2c92ea0489998e64be9e12d

See more details on using hashes here.

File details

Details for the file summarizing_machine-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for summarizing_machine-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 152159ac023ec9a8d4e30cda7b6c7e38615b46c7349e0b954f63022048d9d0a4
MD5 9c60c18e1227a1003fe034386941a98a
BLAKE2b-256 a3c53e7bcc2009c5fc755fb58022a4ec35036dc2a7df109d8c62162a50b9d697

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