Giter Site home page Giter Site logo

whoishiring's Introduction

Find Your Next Job or Ideal Candidate with AI-Powered Hacker News Search

This demo showcases how to use vector search and Large Language Models (LLMs) to intelligently search Hacker News "Who is Hiring" posts based on job queries or candidate profiles.

For Job Seekers:

Simply provide your resume or a link to your LinkedIn profile, and we'll leverage AI to find suitable job opportunities from Hacker News.

For Employers:

Submit a resume or LinkedIn profile of your ideal candidate, and we'll identify similar candidates from the Hacker News talent pool.

How It Works:

  1. We load all posts and top-level comments from "whoishiring" posts into a local SQLite database.
  2. Embeddings are generated for each post using one of the supported embedding models.
  3. When given a job query or candidate profile:
    • The LLM suggests relevant search terms.
    • We search the database for comments matching these terms using the pre-calculated embeddings.
    • Comments are ranked based on embedding similarity to the search terms.
    • Similar comments from the same user are removed to ensure diversity.
    • The LLM provides recommendations based on the top K comments.

Supported Embedding Models:

  • Ollama: gemini:2, nomic-embed-text
  • VoyageAI: voyage-2
  • OpenAI: text-embedding-3-small

Note: Testing has shown that Voyage or OpenAI embeddings work best.

Supported Completion Models:

  • Anthropic: Claude
  • OpenAI: GPT models

Configuration:

Set the following environment variables:

  • OPENAI_API_KEY
  • ANTHROPIC_API_KEY
  • VOYAGE_API_KEY
  • PROXYCURL_API_KEY

Note: proxycurl is used to scrape LinkedIn profiles.

No worries if you don't have all the keys, the demo will still work.

Usage:

Select the embedding model:

-embedding=openai|nomic-embed-text|gemma:2b|text-embedding-3-small|voyage-2

Select the completion model:

-completion=claude|openai

Use cached results (for testing):

-fake=true|false

Default settings:

  • Embedding model: voyage-2
  • Completion model: claude

Credits

The openai and ollama embeddings code and vector operations come from https://github.com/philippgille/chromem-go.

The react app was almost entirely written by Claude. Artifacts are amazing!

whoishiring's People

Contributors

newhook avatar

Stargazers

 avatar  avatar  avatar

Watchers

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