Summarize a list of entry titles using LLM
Project description
recent-state-summarizer
Summarize blog article titles with the OpenAI API
a.k.a. RSS 😃
Setup
$ pip install recent-state-summarizer
⚠️ Set OPENAI_API_KEY
environment variable.
ref: https://platform.openai.com/account/api-keys
Usage
$ omae-douyo https://nikkie-ftnext.hatenablog.com/archive/2023/4
この人物は最近、プログラミングに関することを中心にして活動しています。
(略)
最近は、株式会社はてなに入社したようです。
Currently support:
- はてなブログ(Hatena blog)
To see help, type omae-douyo -h
.
Development
Sub commands
Fetch only:
python -m recent_state_summarizer.fetch -h
Summarize only:
It's convenient to omit fetching in tuning the prompt.
python -m recent_state_summarizer.summarize -h
Environment
$ git clone https://github.com/ftnext/recent-state-summarizer.git
$ cd recent-state-summarizer
$ python -m venv venv
$ source venv/bin/activate
(venv) $ pip install -r requirements.lock
(venv) $ pip install -e '.'
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
Close
Hashes for recent-state-summarizer-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7cfb6bde8df2c39be31ea5f18166e1741b3deb8d589384e8b2fc1ca0f7e4c68 |
|
MD5 | 3e19f9091d54d15178fb453293ed717a |
|
BLAKE2b-256 | 990cc58eb27daca9e8df4df6b9d0751228e4725dd198a540b7cef36f65588e51 |
Close
Hashes for recent_state_summarizer-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebe07711cf1101c0a4ce3b8897ddc33738859a91530314b69b272ed98c560cfc |
|
MD5 | 8832ef7d5597ee9cf13bfb18b98e479b |
|
BLAKE2b-256 | d20d1c79b3e474db662a9ea2f7d8cfe116d5118f5c093d790023b72c2ce05370 |