π‘ Inspiration
Resume screening is often time-consuming, subjective, and prone to human error β especially when comparing multiple candidates. We wanted to build a smart assistant that can fairly evaluate two resumes and give instant, AI-powered feedback on who's a better fit for a software engineering position. This tool is inspired by the need for smarter recruitment tools that go beyond keyword matching.
βοΈ What it does
Resume Comparer allows users to upload two PDF resumes and get an AI-generated comparison. Using Googleβs Gemini GenAI, it:
- Extracts the content from both resumes
- Analyzes strengths, weaknesses, and unique qualities
- Recommends the more suitable candidate for a software engineering role
- Provides a valid, concise justification (50 words)
π οΈ How we built it
- Backend: Built with FastAPI to handle file uploads, extract text from PDFs using
PyPDF2, and communicate with Gemini AI via thegoogle-generativeaiSDK. - Frontend: Developed using React + Vite, styled with Tailwind CSS, and integrated with Axios for API communication.
- AI Integration: Used Geminiβs
gemini-2.0-flashmodel for fast and cost-effective text generation, with custom prompt engineering for comparing resumes.
π§± Challenges we ran into
- π PDF parsing inconsistencies: Not all resumes extracted cleanly due to different formatting.
- π API authentication: Managing and securing the Gemini API key between local/dev environments.
- π¬ Prompt tuning: Crafting the right prompt to get meaningful, structured, and useful comparisons from Gemini.
- β‘ CORS issues between the frontend and backend during local development.
π Accomplishments that we're proud of
- π― Built a fully functional, AI-powered resume comparison tool end-to-end.
- π Seamlessly integrated Googleβs cutting-edge GenAI into a FastAPI backend.
- π§ Created a reliable prompt that yields insightful comparisons in natural language.
- β‘ Delivered fast performance with a clean, mobile-friendly UI.
π What we learned
- How to work with Gemini GenAI and prompt it effectively.
- Real-world handling of file uploads, PDF processing, and async tasks in FastAPI.
- Frontend-backend API communication with CORS and form-data handling.
- Deploying and testing AI models in production-ready scenarios.
π What's next for Resume Comparer using Gemini GenAI API
- π Add resume name extraction for personalized AI prompts.
- π Support for DOCX and TXT resumes alongside PDFs.
- π§ Use Gemini Pro for deeper analysis and interview suggestions.
- πΎ Save previous comparisons and generate comparison reports (PDF/CSV).
- π₯ Add user authentication and recruiter dashboard features.
- π Deploy on cloud platforms (Render, Vercel, Railway) for public access.
Built With
- fastapi
- gemini
- genai
- javascript
- python
- react
- tailwind
Log in or sign up for Devpost to join the conversation.