NyanNyanovich / nyan

Automatic news aggregator in Telegram / Автоматический агрегатор новостей в Телеграме
https://t.me/nyannews
Apache License 2.0
198 stars 30 forks source link

[Suggestion] Generate a summary of all News throughout some time interval. #8

Closed SolAstri closed 1 year ago

SolAstri commented 1 year ago

I'm not really sure if that's the correct place to send an issue to, considering the feature lies a bit outside of the nyan's domain (and requires using LLM, probably), but it'd be perfect to have it.

Perhaps, we need some kind of ranking (in terms of importance and societal resonance, that is) to select the final collection? Or just a general summarization, idk, that's still something to think about.

Nyan404 commented 1 year ago

Agree. It would be nice to receive a selection in one post in the format: "The most popular of the day"

NyanNyanovich commented 1 year ago

Done, see summary.py I use GPT-4, GPT-3.5 should also work to some extent. Importance ranking is performed by the GPT itself based on views, source count, and its own understanding. The price is around 1$ per day. Note that I also have a test channel, and it is an overall cost. I'm 99% sure that there are no local LLM options that can do the same task.