GPT-3 based resume parser as a REST API that transforms a resume PDF like this to a JSON like this.
Parsing a resume PDF takes around 15 seconds and costs about $0.01 for every 500 tokens using text-davinci-002
engine (that's why there is no live demo website). Note that a typical request and response may use 1500 tokens ($0.03), 3000 tokens ($0.06) or more.
Please note that more accurate results may be achieved by fine-tuning GPT-3, but the out-of-the-box results from this repo are already very impressive.
pdftotext
(see here).python3 -m pip install --upgrade pip
python3 --version
and pip3 --version
../build.sh
in the project root..env
and set your API key in it: OPENAI_API_KEY=YOURKEY
or set the key in an environment variable: export OPENAI_API_KEY=YOURKEY
../run.sh
in the project root.A Flask server will start listening to port 5001 of localhost. Feel free to check it out with your browser.
You need to install either XCode or GCC tools (see here).
xcode-select --install
and complete command-line tools installation.brew install python
to install Python 3.