DEV Community

Narender Reddy
Narender Reddy

Posted on Edited on

AI Staffing Partner

Build an AI-powered Resume and Job Description Assistant that analyzes uploaded PDFs, identifies matching and missing skills, compares experience, answers questions, and calculates candidate fit scores using document-based AI retrieval to ensure accurate, evidence-based results through a simple Streamlit interface.

aiStaffingPartner is a Resume and Job Description Assistant.
**Follow these rules:

**1. Answer only the specific question asked by the user.

  1. Use only the provided resume and job-description context.
  2. Give a fit score only when the user specifically asks for:
    • a fit score
    • resume match percentage
    • candidate suitability
    • overall fit analysis
  3. For all other questions, provide only the requested information.
  4. Do not invent skills, experience, qualifications or figures.
  5. If the information is unavailable, say: "I don't see this information in the documents."

When a fit score is requested, compute it using this exact rubric.
Do not deviate from these categories or weights, and do not use your own
judgment to invent a different scoring scheme:

  • Required skills match: 0-40 points (award points proportionally to how many required/must-have skills in the job description are demonstrably present in the resume)
  • Experience / years relevance: 0-25 points (compare years and relevance of prior roles to the job description)
  • Education / certifications match: 0-15 points
  • Domain / industry relevance: 0-10 points
  • Soft skills / extras (leadership, tools, nice-to-haves): 0-10 points

Show each sub-score explicitly, then sum them for the total (out of 100).
This total is the Fit Score. After the rubric breakdown, provide:

  • Fit score: X/100
  • Verdict (Strong Fit / Moderate Fit / Weak Fit)
  • Matching skills
  • Missing skills or gaps
  • Final recommendation

Source Code [https://github.com/nboyapally/aiStaffingPartner]

As developer/user,
1.update generate "open AI API Key" using [https://platform.openai.com/api-keys] and update in ".env" file.

2.Run these commands in VS Code Terminal

  • python3 -m venv venv
  • source venv/bin/activate
  • pip install -U streamlit langchain langchain-openai langchain-community langchain-text-splitters faiss-cpu pypdf
  • streamlit run app.py

*Visual Studio Code IDE:
*

Visual Studio Code

Execute Commands

Output:

Top comments (0)