GithubHelp home page GithubHelp logo

gpt-note-taker's Introduction

GPT Note Taker

Introduction

The GPT Note Taker is a tailored notebook designed for efficient note-taking for UC Berkeley's Data Science 201 course, leveraging the power of OpenAI's GPT models.

I discussed the creation/usage of this notebook with my lecturer, he approved of it and encouraged that I share it with others. However, the use of GPT in the context of education can be controversial, so please use this notebook at your own discretion.

Requirements

  • Python 3
  • External Python libraries:
    • PyPDF2: For PDF manipulation.
    • openai: To interface with the OpenAI API.
    • IPython: For displaying outputs in a notebook format.

To install these libraries use the following command:

pip install -r requirements.txt

Setup & Instructions

  1. Register at OpenAI and create a ChatGPT API key here.
  2. Add a credit card.
    Each API call costs a few cents. (Example: Running 7 transcripts and testing costs about 5 cents total.)
  3. Create a keys.json file in the root directory and input your OpenAI keys.
    Format of keys.json file:
{
"organization_key": "org-YOUR-KEY-HERE",
"api_key": "sk-YOUR-KEY-HERE"
}
  1. Rename your PDF file appropriately.
  2. Update the prompt section to match your desired note-taking format.
  3. Execute the notebook.

Usage

Example Prompt

f"""Topic: {section.title}
    Detail Level: I would like something between high-level summary and detailed notes.
    Learning Objectives: {'; '.join(section.lo)}
    Format: I prefer the notes to be in bullet-point or table format.
    Course Transcript: {section.text}
    Purpose: The notes are for my personal understanding and to facilitate in class discussion with my peers."""

I asked ChatGPT what inputs it needs to be successful in creating the notes. Then I modified it slightly to fit my needs. I would recommend modifying the prompt to fit your needs as well.

Example Output

Alt text

Disclaimer

While this tool can enhance your note-taking experience, it's crucial to use it responsibly, especially in academic settings. Ensure you adhere to all academic integrity guidelines and any other applicable ethics principles when utilizing this notebook.

Contributing

Feel free to open issues for bugs or suggestions. If you want to contribute directly, open a pull request with your changes.

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.