Giter Site home page Giter Site logo

samira-3 / job-desc-summarizer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from farhan0167/job-desc-summarizer

0.0 0.0 0.0 40.37 MB

Developed a job description summarizer using OpenAI GPT-3 to be used as a Chrome Ext

License: MIT License

Shell 0.55% JavaScript 47.13% Python 14.82% CSS 12.76% HTML 24.74%

job-desc-summarizer's Introduction

Job Description Summarizer

I've built a Chrome Extension that allows you to copy-past a job description, and it returns you a summary of that job description. This is the first iteration of the application (I'm still learning how to build a chrome extension). The job description is fed into a GPT-3 model by OpenAI using a simple prompt, almost similar to how you'd interact with ChatGPT. I'm making this public in case anybody wants to re-create this application and use it in their job search.

demo demo

In order to re-create and use the extension (I'll assume you are familiar with the command line), follow the steps below:

  1. Clone the repository in your local machine:
    git clone https://github.com/farhan0167/job-desc-summarizer.git
  2. There are two directories, my-app and backend.
  3. Go to the backend directory and spin the flask server:
    1. CD into the directory
      cd backend
    2. Install a virtual environment
      python3 -m venv venv
    3. Activate the venv:
      source vevn/bin/activate
    4. Install all the dependencies:
      pip install -r requirements.txt
    5. Before you spin up your flask server, go to OpenAI API to create an account
      1. Create an account here
      2. Once you created an account, navigate to their API key. I'll assume that you don't have an account with them yet because it will enable you to get $18 in free credits. You can access your keys by clicking on the right-most corner of the screen where you see your name or org > View API Key. Click "+ Create new secret key". Copy your secret key and navigate to the .env file the repo you cloned earlier in job-desc-summarizer/backend/.env. Within the .env file, paste your secret key after OPENAI_API_SECRET_KEY= by replacing replace-with-your-key with your key.
    6. Now spin up your flask server:
      python3 app.py
  4. Now we'll create a Chrome Extension. Simply go to the my-app directory and run the following:
    1. CD into the my-app directory in a new terminal window:
      cd job-desc-summarizer/my-app
    2. Install npm dependencies(make sure to have node installed in your system):
      npm install
    3. Build the project:
      npm run build
      You'll notice it creates a new build folder.
    4. Open Google Chrome and navigate to the extensions tab > Enable Developer Tools. You can click on settings and find Extensions on the left nav pane towards the bottom
    5. Select Load Unpacked, and select the build folder that was created earlier. And you are all set to use the extension.

job-desc-summarizer's People

Contributors

farhan0167 avatar

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.