Skip to content

Latest commit

ย 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ CareerCopilot AI

AI-Powered Resume & Career Intelligence Platform

CareerCopilot AI is an AI-powered career intelligence platform that analyzes a candidate's resume against a job description and provides personalized insights to help them prepare for their target role.

It uses RAG, embeddings, semantic search, OCR, and LLMs to generate meaningful career insights instead of relying only on simple keyword matching.


โœจ Features

  • ๐Ÿ“„ Resume Analysis
  • ๐ŸŽฏ Resumeโ€“Job Description Match Analysis
  • ๐Ÿ” Skill Gap Analysis
  • ๐Ÿ’ผ AI-Generated Interview Questions
  • ๐Ÿ›ฃ๏ธ Personalized Career & Learning Roadmap
  • ๐Ÿ“‘ PDF Document Processing
  • ๐Ÿ”Ž OCR Support for scanned documents
  • ๐Ÿง  RAG-based contextual analysis
  • ๐Ÿ”ข Semantic similarity using embeddings and FAISS
  • ๐Ÿค– LLM-powered career insights

๐Ÿง  How It Works

Resume PDF + Job Description PDF
                โ†“
        Document Extraction
                โ†“
          OCR if required
                โ†“
          Text Chunking
                โ†“
        BGE Embeddings
                โ†“
        FAISS Vector Search
                โ†“
       Relevant Context
                โ†“
          Groq LLM
                โ†“
       CareerCopilot Engine
                โ†“
     Resume & Career Insights

The system generates:

Resume Skills
Job Description Skills
Skill Gap Analysis
Match Score
Interview Questions
Personalized Roadmap

๐Ÿ› ๏ธ Tech Stack

AI / ML

  • Python
  • Machine Learning
  • Retrieval-Augmented Generation (RAG)
  • LangChain
  • Sentence Transformers
  • BGE Embeddings
  • FAISS
  • Groq LLM

Document Processing

  • PyPDF
  • PyMuPDF
  • Tesseract OCR

Backend

  • FastAPI
  • Pydantic
  • Uvicorn

Frontend

  • HTML5
  • CSS3
  • JavaScript
  • Marked.js
  • DOMPurify

Original UI

  • Streamlit

Development

  • uv
  • Git
  • GitHub
  • VS Code

๐Ÿ—๏ธ Project Architecture

CareerCopilot AI currently has two interfaces built on top of the same core AI functionality.

                 CareerCopilot AI
                        โ”‚
          โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
          โ”‚                           โ”‚
    Streamlit UI              FastAPI Backend
          โ”‚                           โ”‚
          โ”‚                    HTML/CSS/JS UI
          โ”‚                           โ”‚
          โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                        โ”‚
                        โ–ผ
              CareerCopilot Engine
                        โ”‚
          โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
          โ”‚             โ”‚             โ”‚
         RAG        Embeddings      LLM
          โ”‚             โ”‚             โ”‚
          โ–ผ             โ–ผ             โ–ผ
       FAISS        BGE Models     Groq

The Streamlit version is the original working interface, while the FastAPI + HTML/CSS/JavaScript version is the newer API-based architecture for production-oriented deployment.


๐Ÿ“‚ Project Structure

CareerCopilot-AI/
โ”‚
โ”œโ”€โ”€ backend/
โ”‚   โ”œโ”€โ”€ main.py
โ”‚   โ”œโ”€โ”€ schemas.py
โ”‚   โ””โ”€โ”€ routes/
โ”‚       โ””โ”€โ”€ analysis.py
โ”‚
โ”œโ”€โ”€ frontend/
โ”‚   โ”œโ”€โ”€ index.html
โ”‚   โ”œโ”€โ”€ css/
โ”‚   โ”‚   โ”œโ”€โ”€ style.css
โ”‚   โ”‚   โ”œโ”€โ”€ components.css
โ”‚   โ”‚   โ””โ”€โ”€ responsive.css
โ”‚   โ””โ”€โ”€ js/
โ”‚       โ”œโ”€โ”€ api.js
โ”‚       โ”œโ”€โ”€ app.js
โ”‚       โ”œโ”€โ”€ dashboard.js
โ”‚       โ”œโ”€โ”€ interview.js
โ”‚       โ”œโ”€โ”€ roadmap.js
โ”‚       โ”œโ”€โ”€ skill-gap.js
โ”‚       โ”œโ”€โ”€ upload.js
โ”‚       โ”œโ”€โ”€ state.js
โ”‚       โ”œโ”€โ”€ icons.js
โ”‚       โ””โ”€โ”€ markdown-parser.js
โ”‚
โ”œโ”€โ”€ src/
โ”œโ”€โ”€ config/
โ”œโ”€โ”€ data/
โ”œโ”€โ”€ app.py
โ”œโ”€โ”€ pyproject.toml
โ”œโ”€โ”€ uv.lock
โ”œโ”€โ”€ .gitignore
โ””โ”€โ”€ README.md

๐Ÿ”Œ FastAPI Endpoints

Health Check

GET /api/v1/health

Resume & JD Analysis

POST /api/v1/analyze

Request:

multipart/form-data

resume: PDF
job_description: PDF

Response:

{
  "status": "success",
  "message": "Candidate analysis completed successfully.",
  "data": {
    "resume_skills": "...",
    "jd_skills": "...",
    "skill_gap": "...",
    "match_score": "...",
    "interview_questions": "...",
    "roadmap": "..."
  }
}

Swagger UI:

http://127.0.0.1:8000/docs

๐Ÿš€ Run Locally

1. Clone

git clone https://github.com/YOUR_USERNAME/CareerCopilot-AI.git
cd CareerCopilot-AI

2. Create environment

uv venv

Windows

.venv\Scripts๏ฟฝctivate

Linux / macOS

source .venv/bin/activate

3. Install dependencies

uv sync

4. Configure environment

Create .env:

GROQ_API_KEY=your_groq_api_key

Never commit .env or API keys to GitHub.


โ–ถ๏ธ Streamlit Version

The original Streamlit application is still available:

uv run streamlit run app.py

โ–ถ๏ธ FastAPI + Frontend Version

Start the backend:

uv run uvicorn backend.main:app --reload

Backend:

http://127.0.0.1:8000

Serve the frontend:

python -m http.server 5500 --directory frontend

Open:

http://127.0.0.1:5500

๐Ÿ” Security

  • API keys are stored server-side
  • .env is excluded from Git
  • Frontend never directly accesses Groq
  • Uploaded files are validated
  • API responses are validated using Pydantic
  • LLM-generated Markdown is sanitized before rendering
  • Backend errors are handled without exposing sensitive internal details

๐Ÿ“Œ Current Status

AI / RAG Pipeline          โœ…
Resume Analysis            โœ…
Skill Gap Analysis         โœ…
Match Score                โœ…
Interview Questions        โœ…
Career Roadmap             โœ…
OCR Support                โœ…
FAISS Semantic Search      โœ…
Groq LLM Integration       โœ…
Streamlit Application      โœ…
FastAPI Backend            โœ…
HTML/CSS/JS Frontend       โœ…
API Documentation          โœ…
Local End-to-End Testing   โœ…
GitHub                     ๐Ÿ”„
Production Deployment      โณ

๐Ÿ”ฎ Future Improvements

  • ๐ŸŒ Production deployment
  • ๐Ÿ” User authentication
  • ๐Ÿ“Š Career analytics dashboard
  • ๐Ÿ“„ Downloadable career reports
  • ๐ŸŽฏ ATS optimization
  • ๐Ÿ”„ Multiple job-description comparison
  • ๐Ÿ’ผ Job recommendation system
  • ๐Ÿ“ˆ Career progress tracking

๐Ÿ‘จโ€๐Ÿ’ป Author

Monish Raj A T

B.Tech โ€” Artificial Intelligence & Machine Learning
University Visvesvaraya College of Engineering (UVCE)


โญ Support

If you find CareerCopilot AI interesting, consider giving the repository a โญ on GitHub.


๐Ÿš€ CareerCopilot AI

Resume โ†’ Analysis โ†’ Skill Gaps โ†’ Interview Preparation โ†’ Career Roadmap

About

OCR-Enhanced Resume Intelligence Platform built using RAG, FAISS, BGE Embeddings, Groq LLM, and Streamlit for resume analysis, skill gap identification, interview preparation, and personalized learning roadmaps.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages