π SmartHire CV with RAG | AI-Powered Resume Analysis for Recruiters
π Introduction
SmartHire CV with RAG is a next-gen AI tool that simplifies and accelerates resume screening. Upload a PDF CV and instantly extract structured data, generate summaries, and ask custom questions β all powered by a cutting-edge Retrieval-Augmented Generation pipeline with AWS Bedrock embeddings, MongoDB vector search, and GPT-3.5.
Whether youβre a recruiter, HR manager, or talent specialist, SmartHire CV lets you assess candidates in seconds β without losing the context of the original CV. π€π
π Features
βοΈ One-Click Summary Table β Auto-extracts Name, Role, Education, Experience, Skills, Certifications
βοΈ RAG-Powered Q\&A β Ask questions like βWhat tech stacks?β or βWould they fit a Product Owner role?β
βοΈ AWS Bedrock Embeddings β Uses Titan-embed-text v2 for accurate semantic search
βοΈ MongoDB Atlas $vectorSearch β High-speed vector retrieval at scale
βοΈ Concise GPT Responses β Prompts begin with βPlease answer conciselyβ¦β to ensure brief, focused output
βοΈ Multi-CV Management β Upload, index, choose, and delete multiple resumes
βοΈ Streamlit Web UI β Clean, no-code interface for non-technical users
ποΈ Technologies
- π Python 3.12 β Backend and orchestration
- π Streamlit β Lightweight frontend
- π LangChain β RAG pipeline management
- π§ OpenAI GPT-3.5 β LLM for Q\&A and summarization
- π§ AWS Bedrock β Embedding via Titan model
- π MongoDB Atlas β Vector DB for resume chunks
- π PyMuPDF (fitz) β PDF parsing and text extraction
- π python-dotenv β Environment variable handling
π¦ Installation
1οΈβ£ Clone the Repository
git clone https://github.com/Yacine-Mekideche/cv-smart-hire.git
cd cv-smart-hire
2οΈβ£ Create a .env File
OPENAI_API_KEY=your_openai_api_key
MONGO_URI=your_mongodb_connection_string
AWS_PROFILE=your_aws_profile
AWS_REGION=your_aws_region
3οΈβ£ Set Up Your Environment
python -m venv venv
# Activate:
venv\Scripts\activate # Windows
source venv/bin/activate # macOS/Linux
4οΈβ£ Install Dependencies
pip install -r requirements.txt
βΆοΈ Running the App
streamlit run app.py
Once launched in your browser, you can:
- π Upload one or more PDF resumes
- βοΈ Click βIndex CVβ to generate embeddings and store in MongoDB
- π Select a CV and click βGenerate Full Profileβ
- π¨οΈ Ask free-form questions in the Chat with CV panel
π― Demo
π§ AI Architecture Overview
PDF Resume Upload
β
Parsing & Chunking (PyMuPDF)
β
Embeddings
β’ AWS Bedrock (Titan-embed-text v2)
β’ OpenAI (fallback)
β
Vector Store (MongoDB Atlas)
β
RAG Pipeline (LangChain)
β
GPT-3.5 Inference
β
Streamlit UI (Summary + Chat)
π¬ Contact Me
π‘ Transform your hiring pipeline with AI-powered CV insights.
π© Business inquiries: contact@iacine.tech
#SmartHire #ResumeAI #RAG #GPT #AWSBedrock #MongoDBAtlas #LangChain #Streamlit #RecruitmentTech #AIforHR #CVAnalysis #PythonProject #YacineTech #FreelanceAI