Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikeizbicki/docsum
https://github.com/mikeizbicki/docsum
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mikeizbicki/docsum
- Owner: mikeizbicki
- Created: 2024-08-27T20:05:28.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-09-04T18:36:08.000Z (4 months ago)
- Last Synced: 2024-11-08T22:36:11.760Z (2 months ago)
- Language: Python
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docsum ![](https://github.com/mikeizbicki/docsum/workflows/tests/badge.svg)
Use an LLM to summarize a document on the command line.
The following example summarizes the declaration of independence.
```
$ python3 docsum.py docs/declaration.txt
A long time ago, some people in America decided they wanted to be free. They were tired of being ruled by a king from a faraway land. The king was being mean and taking away their rights. The people wrote a special paper to say they were free and independent. They said they didn't want to be ruled by the king anymore. They promised to work together and take care of each other to make sure they stayed safe and happy. This paper is called the Declaration of Independence. It's like a big declaration that says, "We are free and we're going to make our own decisions!"
```