Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

recent-state-summarizer-0.0.1.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

recent_state_summarizer-0.0.1-py3-none-any.whl (6.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page