# ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai architecture

> Architecture diagram of the GitHub repository ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-11). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai
- Repository: https://github.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai

## Overview

This Streamlit application turns uploaded resumes into AI-generated analysis and separately supports LinkedIn job discovery. The main workflow is PDF extraction, chunking and FAISS-backed retrieval, followed by a selected analysis generated through Groq; the jobs option also launches a Selenium-based search and displays scraped postings with descriptions. The graph follows the documented stages and sampled calls. Some internal scraper and prompt details were not sampled, so their relationships are shown only where the README or excerpts support them.

Main entry points: [`app.py`](https://github.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai/blob/main/app.py) (Streamlit Workflow), [`resume_utils.py`](https://github.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai/blob/main/resume_utils.py) (Analysis Functions), [`linkedin_scraper.py`](https://github.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai/blob/main/linkedin_scraper.py) (Job Search Loading), [`prompts.py`](https://github.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai/blob/main/prompts.py) (Analysis Prompts)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_resume["Resume Analysis"]
  node_pdf["PDF Extraction<br/>[resume_utils.py]"]
  node_chunks["Text Chunking<br/>[resume_utils.py]"]
  node_embeddings["Hugging Face Embeddings<br/>[resume_utils.py]"]
  node_faiss[("FAISS Vector Store<br/>[resume_utils.py]")]
  node_retrieval["Context Retrieval<br/>[resume_utils.py]"]
end

subgraph group_ai["AI Generation"]
  node_analysis["Analysis Functions<br/>[resume_utils.py]"]
  node_prompts["Analysis Prompts<br/>[prompts.py]"]
  node_groq["Groq LLM"]
end

subgraph group_jobs["LinkedIn Jobs"]
  node_job_inputs["Job Search Inputs<br/>[app.py]"]
  node_webdriver["WebDriver Setup"]
  node_search["Job Search Loading"]
  node_cards["Job Card Extraction"]
  node_descriptions["Description Extraction"]
end

subgraph group_presentation["Application"]
  node_app["Streamlit Workflow<br/>[app.py]"]
  node_result["Analysis Results<br/>[app.py]"]
  node_job_results["Job Results Display"]
end

node_user(("Resume Seeker"))
node_linkedin["LinkedIn"]

node_user -->|"uploads and selects"| node_app
node_app -->|"extracts text"| node_pdf
node_pdf -->|"splits text"| node_chunks
node_chunks -->|"creates vectors"| node_embeddings
node_embeddings -->|"stores vectors"| node_faiss
node_app -->|"builds knowledge base"| node_faiss
node_analysis -->|"retrieves context"| node_faiss
node_analysis -->|"uses prompts"| node_prompts
node_analysis -->|"invokes model"| node_groq
node_app -->|"requests selected analysis"| node_analysis
node_app -->|"displays result"| node_result
node_app -->|"collects search criteria"| node_job_inputs
node_app -->|"starts browser"| node_webdriver
node_app -->|"loads search results"| node_search
node_search -->|"opens and scrolls"| node_linkedin
node_app -->|"requests job details"| node_cards
node_cards -->|"reads job cards"| node_linkedin
node_app -->|"requests descriptions"| node_descriptions
node_descriptions -->|"opens job postings"| node_linkedin
node_app -->|"displays postings"| node_job_results

click node_app "https://github.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai/blob/main/app.py"
click node_pdf "https://github.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai/blob/main/resume_utils.py"
click node_chunks "https://github.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai/blob/main/resume_utils.py"
click node_embeddings "https://github.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai/blob/main/resume_utils.py"
click node_faiss "https://github.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai/blob/main/resume_utils.py"
click node_retrieval "https://github.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai/blob/main/resume_utils.py"
click node_analysis "https://github.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai/blob/main/resume_utils.py"
click node_prompts "https://github.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai/blob/main/prompts.py"
click node_result "https://github.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai/blob/main/app.py"
click node_job_inputs "https://github.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai/blob/main/app.py"
click node_webdriver "https://github.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai/blob/main/linkedin_scraper.py"
click node_search "https://github.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai/blob/main/linkedin_scraper.py"
click node_cards "https://github.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai/blob/main/linkedin_scraper.py"
click node_descriptions "https://github.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai/blob/main/linkedin_scraper.py"
click node_job_results "https://github.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai/blob/main/linkedin_scraper.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_pdf,node_chunks,node_embeddings,node_faiss,node_retrieval toneBlue
class node_analysis,node_prompts,node_groq toneAmber
class node_job_inputs,node_webdriver,node_search,node_cards,node_descriptions toneMint
class node_app,node_result,node_job_results toneRose
class node_user,node_linkedin toneIndigo
```

## Components

### Resume Analysis

- [PDF Extraction](https://github.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai/blob/main/resume_utils.py): `resume_utils.py`
- [Text Chunking](https://github.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai/blob/main/resume_utils.py): `resume_utils.py`
- [Hugging Face Embeddings](https://github.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai/blob/main/resume_utils.py): `resume_utils.py`
- [FAISS Vector Store](https://github.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai/blob/main/resume_utils.py): `resume_utils.py`
- [Context Retrieval](https://github.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai/blob/main/resume_utils.py): `resume_utils.py`

### AI Generation

- [Analysis Functions](https://github.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai/blob/main/resume_utils.py): `resume_utils.py`
- [Analysis Prompts](https://github.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai/blob/main/prompts.py): `prompts.py`
- **Groq LLM**

### LinkedIn Jobs

- [Job Search Inputs](https://github.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai/blob/main/app.py): `app.py`
- [WebDriver Setup](https://github.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai/blob/main/linkedin_scraper.py): `linkedin_scraper.py`
- [Job Search Loading](https://github.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai/blob/main/linkedin_scraper.py): `linkedin_scraper.py`
- [Job Card Extraction](https://github.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai/blob/main/linkedin_scraper.py): `linkedin_scraper.py`
- [Description Extraction](https://github.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai/blob/main/linkedin_scraper.py): `linkedin_scraper.py`

### Application

- [Streamlit Workflow](https://github.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai/blob/main/app.py): `app.py`
- [Analysis Results](https://github.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai/blob/main/app.py): `app.py`
- [Job Results Display](https://github.com/ramendrasingh97204/ai-resume-analyzer-linkedin-job-scraper-using-generative-ai/blob/main/linkedin_scraper.py): `linkedin_scraper.py`

### Other components

- **Resume Seeker**
- **LinkedIn**

## Connections

- Resume Seeker → Streamlit Workflow: uploads and selects (evidence: `README.md`)
- Streamlit Workflow → PDF Extraction: extracts text (evidence: `app.py`)
- PDF Extraction → Text Chunking: splits text (evidence: `README.md`)
- Text Chunking → Hugging Face Embeddings: creates vectors (evidence: `README.md`)
- Hugging Face Embeddings → FAISS Vector Store: stores vectors (evidence: `README.md`)
- Streamlit Workflow → FAISS Vector Store: builds knowledge base (evidence: `app.py`)
- Analysis Functions → FAISS Vector Store: retrieves context (evidence: `resume_utils.py`)
- Analysis Functions → Analysis Prompts: uses prompts (evidence: `resume_utils.py`)
- Analysis Functions → Groq LLM: invokes model (evidence: `resume_utils.py`)
- Streamlit Workflow → Analysis Functions: requests selected analysis (evidence: `app.py`)
- Streamlit Workflow → Analysis Results: displays result (evidence: `app.py`)
- Streamlit Workflow → Job Search Inputs: collects search criteria (evidence: `app.py`)
- Streamlit Workflow → WebDriver Setup: starts browser (evidence: `app.py`)
- Streamlit Workflow → Job Search Loading: loads search results (evidence: `app.py`)
- Job Search Loading → LinkedIn: opens and scrolls (evidence: `README.md`)
- Streamlit Workflow → Job Card Extraction: requests job details (evidence: `app.py`)
- Job Card Extraction → LinkedIn: reads job cards (evidence: `README.md`)
- Streamlit Workflow → Description Extraction: requests descriptions (evidence: `app.py`)
- Description Extraction → LinkedIn: opens job postings (evidence: `README.md`)
- Streamlit Workflow → Job Results Display: displays postings (evidence: `app.py`)
