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 | analyzing-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.2.tar.gz (15.4 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.2-py3-none-any.whl (21.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: summarizing_machine-0.0.2.tar.gz
  • Upload date:
  • Size: 15.4 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.2.tar.gz
Algorithm Hash digest
SHA256 f6820b237f966175b531bb4a933f7ca8a59cc52f6e7ae7684d22a2f65b4b2956
MD5 3b5ef79b8913b788961db514f79f2076
BLAKE2b-256 a9e0fcbb7f03c5b4dc8c247aeee7df0b770c445fd35c7d549962ba0538ce425e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for summarizing_machine-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a593fad74288099f7bbaa26663b4341afb52044df64dbc49f8f8389347ba29c4
MD5 ebf530aedb6d621f847067bfa9de6a17
BLAKE2b-256 f01f93e63272e699925dab6ce3ef8b1826744598766b72700803b13c811a0df2

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