ZzhAlan / autoresearcher

An AI-powered tool for automating literature reviews with concise summaries and relevant citations.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AutoResearcher

AutoResearcher is an open-source project that uses GPT-based AI models to automatically generate academic literature reviews based on a given research question. The script fetches top papers from the Semantic Scholar API, extracts relevant information, and combines the findings into a concise literature review.

The project is a very early prototype and is still under development. The vision is to create a tool that can conduct actual scientific discovery on autopilot.

Installation

  1. Clone the repository:
git clone https://github.com/eimenhmdt/autoresearcher.git
  1. Create a virtual environment and activate it:
cd autoresearcher
python3 -m venv venv
source venv/bin/activate

On Windows, use venv\Scripts\activate instead of source venv/bin/activate.

  1. Install the required Python packages:
pip install -r requirements.txt
  1. Create a .env file in the project directory and add your OpenAI API key and an email of your choice (used to identify your API requests for getting citations):
OPENAI_API_KEY=<your_openai_api_key>
EMAIL=<your_email>

Replace <your_openai_api_key> with your actual API key from OpenAI.

Usage

  1. Open the main.py file and set your research question and Semantic Scholar API key at the bottom of the script:
api_key = "<your_semantic_scholar_api_key>"
research_question = "<your_research_question>"

Replace <your_semantic_scholar_api_key> with your actual API key from Semantic Scholar and <your_research_question> with your desired research question.

  1. Run the script:
python main.py

The script will fetch the top papers, extract answers and study qualities, and generate a literature review.

Contributing

Contributions are welcome! Please feel free to submit issues or create pull requests. Let's take upgrade science together! 🚀

License

This project is licensed under the MIT License. See the LICENSE file for details.

Made with coffee by @eimenhamedat

About

An AI-powered tool for automating literature reviews with concise summaries and relevant citations.

License:MIT License


Languages

Language:Python 100.0%