Skip to content

gpt-daily-arxiv is a program that fetches papers using arxiv rss feeds and utilizes gpt to summarize the papers.

Notifications You must be signed in to change notification settings

EvanLyu732/gpt-daily-arxiv

Repository files navigation

gpt-daily-arxiv

./static/logo.png

Description

gpt-daily-arxiv is a program that fetches papers using arxiv rss feeds and utilizes gpt to summarize the papers.

State Diagram

+---------------------+
| Arxiv RSS Feed      |
+---------------------+
          |
          v
+---------------------+
| Retrieve PDF        |
| from RSS Feed       |
+---------------------+
          |
          v
+---------------------+
| Convert PDF to Text |
+---------------------+
          |
          v
+---------------------+
| Ask GPT to Summarize|
| the Paper           |
+---------------------+
          |
          v
+---------------------+
| Write Data Record   |
| in MongoDB          |
+---------------------+

Usage

Ensure `OPENAPI_API_KEY` is setted. And if you are behind a proxy set environment variable `OPENAI_PROXY_URL` to your proxy server. Checkout this link:

To update RSS feeds

modify main.py below codes

arxiv_url_dict = {
    "Computer Vision": "https://arxiv.org/rss/cs.CV",
    "Computer Sicence": "https://arxiv.org/rss/cs",
    "Artificial Intelligence": "https://arxiv.org/rss/cs.AI",
    "Robotics": "https://arxiv.org/rss/cs.RO",
    "Software Engineering": "https://rss.arxiv.org/rss/cs.SE",
}

To run the project

Papers are download under ‘db’ folder

pip install -r requirements.txt
python3 main.py

# Also make sure mongodb is installed

Visualization

Since paper notes are stored in mongodb. I recommend using mongo-gui for visualization.

Further Works

  • [ ] dockerize this project
  • [ ] build frontend
  • [ ] support customize LLM

About

gpt-daily-arxiv is a program that fetches papers using arxiv rss feeds and utilizes gpt to summarize the papers.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published