Giter Club home page Giter Club logo

papergpt's Introduction

PaperGPT

PaperGPT is a tool that uses OpenAI's GPT-3.5-Turbo language model (same that powers ChatGPT) to answer questions about research papers. With PaperGPT, you can ask questions about a research paper and get relevant answers in natural language.

Installation

To install PaperGPT, first clone the repository:

git clone [email protected]:ruogudu/PaperGPT.git

Then, navigate to the papergpt directory and run:

pip3 install -r requirements.txt

Usage

To use PaperGPT, navigate to the PaperGPT directory and run:

python3 start.py

This will prompt you to enter your OpenAI API key. If you don't have an API key, you can sign up for one on the OpenAI website.

Next, you will be prompted to enter the URL of the research paper you want to query or the path to a local PDF file. PaperGPT works with PDFs only, so make sure the URL points to a PDF file or the local file is a PDF.

If this is your first time using PaperGPT with this research paper, it will take several minutes to "curate" the paper. This process involves extracting key information from the paper and preparing it for input to the language model. Once the curation process is complete, you can begin asking questions about the paper.

To ask a question, simply type it in at the > prompt and press Enter. PaperGPT will query the language model and return the most relevant answer.

Demo

Here's an example of how to use PaperGPT:

image

In this example, we first enter our OpenAI API key and specify that we want to curate a new research paper. We then enter the URL of the research paper and specify that we want to save the curated paper to a local file. After the curation process is complete, we will see greetings from the papaer. Then we can ask a question and get a relevant answer in natural language.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.