How swagatobmca2024-cpu/hirelyzer-career-based-saas-platform works
Purpose and entry point
HIRELYZER is a Python/Streamlit career-assistance application for resume analysis, inclusive rewriting, job/course discovery, resume creation, and administrator visibility. The primary UI/runtime entry point is main.py; Streamlit behavior is configured in .streamlit/config.toml.
Application orchestration and user access
The Streamlit application coordinates user-facing feature areas and session-driven navigation. Authentication and user/admin separation are handled by user_login.py, while administrative activity and trend views are exposed through admin_logs.py. This is a stateful interactive application rather than a separate frontend/backend web service.
Resume ingestion and analysis pipeline
Resume input is parsed and normalized before scoring or recommendation stages. resume_processor.py is the document-processing boundary, with PDF/OCR-related dependencies indicated by the project stack. resume_engine.py performs core resume evaluation, including ATS-oriented matching, keyword gaps, language/format feedback, and weighted scoring. report_generator.py converts analysis results into user-consumable reports or summaries.
Primary flow: uploaded/provided resume → extraction/processing → structured resume content → scoring against job description → report/dashboard/recommendations.
LLM and inclusive-language capabilities
llm_manager.py centralizes the external Groq/LLaMA integration, forming the boundary between local analysis logic and hosted model calls. job_scam_detector.py applies AI or language analysis to job-posting safety signals. cover_letter.py uses the same AI-oriented capability area to generate or tailor application content. LLM-derived outputs should remain downstream of local parsing/scoring and be treated as external-service results.
Resume construction and career recommendations
resume_builder.py supports interactive creation of resume sections and presentation-oriented output. courses.py provides role- or skill-aligned learning recommendations. Job discovery/recommendation functionality is represented by tab3_backend.py, with corresponding data and interface layers in tab3_data.py and tab3_ui.py; this area likely produces external job-platform links rather than operating a proprietary job index.
Persistence, search, and operational boundaries
SQLite persistence is encapsulated by database.py and operational database access/management by db_manager.py. Stored concerns include users, resumes, session/activity logs, and potentially analysis history. The stated stack also includes FAISS and HuggingFace embeddings, establishing a local vector-search/retrieval capability alongside relational SQLite storage. Runtime dependencies are declared in requirements.txt; secrets or deployment-specific values are expected to be supplied from a configuration derived from config.template.json.
Material infrastructure and external services
The application runs on Python 3.10+ with Streamlit. It depends on Groq’s API and LLaMA 3.3 for generative features; EasyOCR/PyMuPDF/pdf2image for document extraction; FAISS plus HuggingFace embeddings for vector search; and NLTK/regex logic for language and gender-coded-bias detection. External job sources are surfaced through links to LinkedIn, Naukri, and FoundIt, making availability and content outside the application’s control.
Main entry points: main.py Streamlit entry point · resume_engine.py Resume evaluation · llm_manager.py Groq/LLaMA gateway · db_manager.py Database operations
Components 19
Streamlit application
- Streamlit entry point · Coordinates navigation and user-facing workflows.
main.py - User and admin access
user_login.py - Admin activity views
admin_logs.py
Resume pipeline
- Resume extraction · Parses and normalizes uploaded resume content.
resume_processor.py - Resume evaluation · Performs ATS matching, gap analysis, feedback, and scoring.
resume_engine.py - Analysis reports
report_generator.py
AI and career features
- Groq/LLaMA gateway · Central boundary for hosted model calls.
llm_manager.py - Job scam detection
job_scam_detector.py - Cover letter generation
cover_letter.py - Resume builder
resume_builder.py - Course recommendations
courses.py - Job discovery UI
tab3_ui.py - Job recommendations
tab3_backend.py - Job source data
tab3_data.py
Data and retrieval
- SQLite persistence · Stores users, resumes, activity, and analysis history.
database.py - Database operations
db_manager.py - FAISS retrieval · Uses HuggingFace embeddings for similarity retrieval.
External services
- Groq LLaMA service
- Job platforms · LinkedIn, Naukri, and FoundIt links.
Connections 23
- Streamlit entry point → User and admin access: user access
- Streamlit entry point → Admin activity views: admin navigation
- Streamlit entry point → Resume extraction: resume upload
- Resume extraction → Resume evaluation: structured content
- Resume evaluation → Analysis reports: scores and feedback
- Streamlit entry point → Analysis reports: dashboard output
- Streamlit entry point → Resume builder: resume creation
- Streamlit entry point → Course recommendations: learning guidance
- Streamlit entry point → Job discovery UI: job discovery
- Job discovery UI → Job recommendations: queries
- Job recommendations → Job source data: source data
- Job recommendations → Job platforms: external links
- Resume evaluation → Groq/LLaMA gateway: AI-assisted feedback
- Groq/LLaMA gateway → Groq LLaMA service: model requests
- Job scam detection → Groq/LLaMA gateway: language analysis
- Cover letter generation → Groq/LLaMA gateway: generation request
- Streamlit entry point → Job scam detection: job safety check
- Streamlit entry point → Cover letter generation: application content
- Database operations → SQLite persistence: read and write
- User and admin access → Database operations: user records
- Admin activity views → Database operations: activity data
- Resume evaluation → Database operations: analysis history
- Course recommendations → FAISS retrieval: similarity retrieval