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 summarizing_machine
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file summarizing_machine-0.0.3.tar.gz.
File metadata
- Download URL: summarizing_machine-0.0.3.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c70ce66769b00f99a6ef68547a5940fbb191b07dea27613d1263d8da1f92c3b
|
|
| MD5 |
4b2f403811d3da3d2a479941abffc55a
|
|
| BLAKE2b-256 |
d5656ebefea07e80bf434d22edd0683bbd7426ef4dd1ffb4440ea9d23799a9b1
|
File details
Details for the file summarizing_machine-0.0.3-py3-none-any.whl.
File metadata
- Download URL: summarizing_machine-0.0.3-py3-none-any.whl
- Upload date:
- Size: 21.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1bc62235d9bf78d9587dc427df1e48127193880d333ee1a9d4894c4d5dd42ce
|
|
| MD5 |
6ebadba5554c2bc17cd8dbd3acad5ebe
|
|
| BLAKE2b-256 |
f6283de03e1b260cbf85fed921a413b2036bd24d5db67f1610030d4ae34fdf09
|