Skip to content

Flask-based website provides information about Curriculums analyzed by ChatGPT API with a JSON as output.

License

Notifications You must be signed in to change notification settings

hitthecodelabs/GPT_CurriculumParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

Flask-based website provides information about Curriculums analyzed by ChatGPT API with a JSON as output.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published