How bishoy-512/end-to-end-interview-preparation-system works
This is an end-to-end AI interview-preparation system. The intended journey runs from candidate/job input through job analysis and interview planning, then an adaptive mock interview, answer evaluation, a performance report, and learning recommendations. The repository shows a LangGraph orchestrator, a detailed job-analysis pipeline, and a retrieval system used for interview context and learning advice. Some later-stage behavior is documented in the README but its internal calls are not fully excerpted, so those links are omitted where evidence is insufficient.
Main entry points: job_analysis_tool.py Job Analysis Tool · graph.py Workflow Graph · skill_extractor.py Skill Extraction · __init__.py Agent Set
Components 24
Job Analysis
- Job Analysis Tool
src/job_analysis/tools/job_analysis_tool.py - CV Parser
src/job_analysis/extraction/cv_parser.py - Job Parser
src/job_analysis/extraction/jd_parser.py - Candidate Profile
src/job_analysis/schemas/candidate.py - Job Description
src/job_analysis/schemas/job.py - Skill Extraction
src/job_analysis/analysis/skill_extractor.py - Skill Normalization
src/job_analysis/analysis/skill_normalizer.py - Gap Analysis
src/job_analysis/analysis/gap_analyzer.py - Interview Planner
src/job_analysis/planning/interview_planner.py - Plan Schema
src/job_analysis/schemas/interview_plan_schema.py - Analysis Result
src/job_analysis/schemas/job_analysis_result.py - Groq Structured Output
src/job_analysis/services/groq_client.py
Interview Orchestration
- Interview API
src/orchestrator/api.py - Workflow Graph
src/orchestrator/graph.py - Workflow Stages
src/orchestrator/nodes.py - Interview State
src/orchestrator/state.py
Interview Agents
- Agent Set
src/orchestrator/agents/__init__.py - Real Agents
src/orchestrator/agents/real.py - Mock Agents
src/orchestrator/agents/mocks.py - Question Generator
src/orchestrator/agents/llm_interview.py
Knowledge Retrieval
- RAG Agent
src/rag system agent/rag_agent.py - Knowledge Store
src/rag system agent/chroma_db - Role Knowledge Bases
src/rag system agent/jobs_info
Other components
- Job Seeker
Connections 29
- Job Seeker → Interview API: provides input
README.md - Interview API → Workflow Graph: invokes workflow
src/orchestrator/api.py - Workflow Graph → Workflow Stages: registers stages
src/orchestrator/graph.py - Workflow Graph → Interview State: uses state
src/orchestrator/graph.py - Workflow Graph → Agent Set: builds agents
src/orchestrator/graph.py - Workflow Stages → Agent Set: uses agents
src/orchestrator/nodes.py - Agent Set → Real Agents: selects implementation
src/orchestrator/agents/__init__.py - Agent Set → Mock Agents: selects implementation
src/orchestrator/agents/__init__.py - Real Agents → Job Analysis Tool: calls analysis
src/orchestrator/agents/real.py - Real Agents → RAG Agent: initializes retrieval
src/orchestrator/agents/real.py - Question Generator → Mock Agents: uses fallback
src/orchestrator/agents/llm_interview.py - Question Generator → Groq Structured Output: generates questions
src/orchestrator/agents/llm_interview.py - Job Analysis Tool → CV Parser: parses candidate
src/job_analysis/tools/job_analysis_tool.py - Job Analysis Tool → Job Parser: parses job
src/job_analysis/tools/job_analysis_tool.py - Job Analysis Tool → Skill Extraction: extracts skills
src/job_analysis/tools/job_analysis_tool.py - Job Analysis Tool → Skill Normalization: normalizes skills
src/job_analysis/tools/job_analysis_tool.py - Job Analysis Tool → Gap Analysis: compares skills
src/job_analysis/tools/job_analysis_tool.py - Job Analysis Tool → Interview Planner: creates plan
src/job_analysis/tools/job_analysis_tool.py - Job Analysis Tool → Analysis Result: builds result
src/job_analysis/tools/job_analysis_tool.py - CV Parser → Candidate Profile: validates profile
src/job_analysis/extraction/cv_parser.py - CV Parser → Groq Structured Output: requests extraction
src/job_analysis/extraction/cv_parser.py - Job Parser → Job Description: validates job
src/job_analysis/extraction/jd_parser.py - Skill Extraction → Candidate Profile: reads profile
src/job_analysis/analysis/skill_extractor.py - Skill Extraction → Job Description: reads requirements
src/job_analysis/analysis/skill_extractor.py - Gap Analysis → Skill Extraction: uses skill records
src/job_analysis/analysis/gap_analyzer.py - Interview Planner → Gap Analysis: plans from gaps
src/job_analysis/planning/interview_planner.py - Interview Planner → Plan Schema: builds plan
src/job_analysis/planning/interview_planner.py - RAG Agent → Knowledge Store: retrieves vectors
- RAG Agent → Role Knowledge Bases: indexes documents