GithubHelp home page GithubHelp logo

knowit / cvhelper Goto Github PK

View Code? Open in Web Editor NEW
1.0 9.0 0.0 309 KB

This application is designed to streamline the process of browsing and analyzing CVs by integrating CV Partner's services with advanced Large Language Models (LLMs).

License: Apache License 2.0

Python 100.00%

cvhelper's Introduction

CV Browsing Application with CV Partner and LLM Integration

Overview

This application is designed to streamline the process of browsing and analyzing CVs by integrating CV Partner's services with advanced Large Language Models (LLMs). It is a Knowit experiment.

Installation

  1. Clone the Repository

       git clone https://github.com/knowit/cvhelper.git
    
  2. Set up the Environment

    • Install poetry. Using Python 3.11(chromadb does not work with 3.12 as we speak).
    • Install required dependencies:
      poetry env use python3.11
      poetry install --no-root
      
  3. Configuration In order to get CVs from the CV Partner API you need to have the cvpartner token as an environment variable:

    export CVPARTNER_TOKEN="XXXX"
    

    Settings for the vectorstore and the LLM are in the settings.py file. Defaults are set to local instances of Ollama, ChromaDB. These settings can also be overridden by environment variables.

  4. Fire up the servers and a local chroma instance*

    poetry run python server.py
    
    poetry run chroma run --path ~/chroma_db_path
    

    Run a local ollama-server

    ollama pull mistral
    ollama serve
    
  5. Run the test-client*

    poetry run python client.py [email protected] "What projects has nnn worked on?"
    

Populating chromadb vectorstore from cvpartner

Run the script to fetch all cv's and populate the vectorstore.

cd vectorstore
poetry run python get_cv.py ~/Downloads/cvs

Contributing

We welcome contributions to this project. If you want to contribute, please follow these steps:

  • Fork the repository.
  • Create a new branch for your feature.
  • Commit your changes.
  • Push to the branch.
  • Open a pull request.

License

Apache 2.0

Contact

For support or any queries, reach out!

Links

cvhelper's People

Contributors

a-stangeland avatar janhenrik avatar

Stargazers

 avatar

Watchers

Anders A avatar Thomas Malt avatar Henning M. Wold avatar Malte Loller-Andersen avatar Joel Gustafsson avatar Mattis Bratland avatar Sander Krøglid avatar Kostas Georgiou avatar  avatar

cvhelper's Issues

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.