This program automates the process of summarizing research papers by extracting key points from each section of the papers. It utilizes the Papers with Code API to search for papers based on a given query, downloads the PDFs of the papers, extracts the text from the PDFs, and generates a summary using the Google Generative AI API (gemini-2.0-flash model).
- Python 3.x
requestslibrary:pip install requestsfitzlibrary:pip install pymupdfdotenvlibrary:pip install python-dotenvlangchain_google_genailibrary:pip install --upgrade langchain-google-genai- Google API Key (for the Google Generative AI API)
- PWC API Key (for the Papers with Code API)
- Clone the repository or download the source code.
- Create a
.envfile in the project directory by removing the .example part in the '.env.example' file save it as.env
Run the code