Code Monkey home page Code Monkey logo

hr_job_cv_matcher's Introduction

HR Job CV Matcher

This project builds a simple UI to match a Job to a CV using an AI model.

It allows a user to upload a set of job applications and a set of CVs and then it will rank them according to the matching skills specified in the job description. It will end up creating a sort of ranking matrix matching job description to CVs with the best candidates for a specific job description.

This project works best with ChatGPT 4 that can extract at the time of this writing the most accurate matching / missing skills.

Setup

We suggest to use Conda to manage the virtual environment.

conda create -n hr_job_cv_matcher  python=3.11
conda activate hr_job_cv_matcher
pip install poetry

Installation

poetry install

Configuration

You will need to have a .env file with the following system variables:

OPENAI_API_KEY=<open api key>
# OPENAI_MODEL=gpt-3.5-turbo-0613
OPENAI_MODEL=gpt-4-0613
# See https://github.com/gilfernandes/pdf_to_image_server.git which gives you a simple server to convert PDF to images and then extract the text with OCR.
REMOTE_PDF_SERVER=http://176.34.128.143:8086/upload
# Temp document location
TEMP_DOC_LOCATION=/tmp/hr_job_cv_matcher
# Maximum job description files that you can upload
MAX_JD_FILES=5
# Maximum CV files that you can upload
MAX_CV_FILES=20
# The LangChain request timeout
REQUEST_TIMEOUT=120
# Whether the prompts are printed in the logs or not
VERBOSE_LLM=true
# Whether the Langchain cache is to be used or not
LANGCHAIN_CACHE=false

Dependency on external project

You will need to have a server running this software too: https://github.com/gilfernandes/pdf_to_image_server.git

Running

chainlit run ./hr_job_cv_matcher/ui/matcher_chainlit.py --port 8087

hr_job_cv_matcher's People

Contributors

onepointconsulting avatar mytselection 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.