Giter Club home page Giter Club logo

gpt_curriculumparser's Introduction

GPT_CurriculumParser

๐Ÿš€ Live Demo

Welcome to the GPT_CurriculumParser project! This Flask-based website provides information about Curriculums turned into a JSON object. Below are step-by-step instructions to set up and run this project.

Table of Contents

Prerequisites

Before you begin, ensure you have the following installed on your system:

  1. Python (Version 3.8 or above)
  2. Git

Cloning the Project

  1. Open a terminal or command prompt.
  2. Navigate to the directory where you want to clone the project.
  3. Run the following command:
git clone https://github.com/hitthecodelabs/GPT_CurriculumParser.git

Setting Up OpenAI Key

  1. Locate the app.py file in the project's root directory.
  2. Open app.py in your preferred text editor.
  3. Find the variable named OPENAI_SECRET_KEY and replace 'YOUR_OPENAI_KEY_HERE' with your actual OpenAI API key:
import openai

openai.api_key = 'YOUR_OPENAI_KEY_HERE'
  1. In the same app.py file, fill the prompt variable. Based on the context you provided, this will likely be a string that instructs OpenAI on what kind of response you are looking for. For example:
prompt = (f"Collect the following resume to extract structured information... ")

Installing Dependencies

  1. Navigate to the project's root directory in the terminal.
cd GPT_CurriculumParser
  1. Create a virtual environment (recommended for isolated Python environments):
python -m venv venv
  1. Activate the virtual environment:
  • On Windows:
.\venv\Scripts\activate
  • On macOS and Linux:
source venv/bin/activate
  1. Install the required libraries:
pip install -r requirements.txt

Running the Flask Application

  1. While inside the project's root directory and with the virtual environment activated, run the following command:
python app.py
  1. You should see a message indicating that the server has started, usually with a URL like http://127.0.0.1:5000/.
  2. Open the provided URL in your web browser to view and interact with the Flask application!

That's it! You've successfully set up and run the HitTheCodeLabs Website project locally. Don't forget to check out the live demo! Enjoy exploring and customizing further!

gpt_curriculumparser's People

Contributors

hitthecodelabs avatar hittheflash avatar

Watchers

 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.