How snehalkrushnabandal/snehal-ai-representative works
Snehal AI is a candidate-representative portfolio with a profile and projects interface plus an AI recruiter chat. The visible chat flow sends a question and conversation history from the browser to the FastAPI streaming endpoint, which generates an answer using candidate context and Groq. The backend also contains resume parsing and job-match models, and the UI includes recruiter job-description analysis; their detailed routes are not shown. The empty README and partial backend excerpt limit evidence for those broader capabilities.
Main entry points: App.jsx Portfolio Views · snehal-ai.py Chat API · AIChat.jsx Chat Interface · main.jsx Web Entry
Components 13
Portfolio UI
- Web Entry
frontend/src/main.jsx - Portfolio Views
frontend/src/App.jsx - Profile & Projects
frontend/src/App.jsx - Chat Interface
frontend/src/components/AIChat.jsx
AI Assistant
- Chat API
backend/snehal-ai.py - Answer Generation
backend/snehal-ai.py - Context Selection
backend/snehal-ai.py - Resume Parsing
backend/snehal-ai.py - Job Matching
backend/snehal-ai.py
Candidate Data
- Profile Loader
backend/services/candidate_service.py - Candidate Profile
backend/candidate_profile.json
Other components
- Recruiter
- Groq API
Connections 13
- Recruiter → Web Entry: opens portfolio
frontend/src/main.jsx - Web Entry → Portfolio Views: renders
frontend/src/main.jsx - Portfolio Views → Profile & Projects: shows views
frontend/src/App.jsx - Portfolio Views → Chat Interface: opens chat
frontend/src/App.jsx - Recruiter → Chat Interface: asks questions
frontend/src/components/AIChat.jsx - Chat Interface → Chat API: streams question
frontend/src/components/AIChat.jsx - Chat API → Answer Generation: dispatches
backend/snehal-ai.py - Answer Generation → Context Selection: selects context
backend/snehal-ai.py - Answer Generation → Groq API: requests completion
backend/snehal-ai.py - Resume Parsing → Groq API: requests parse
backend/snehal-ai.py - Job Matching → Groq API: evaluates match
- Chat API → Profile Loader: imports helper
backend/snehal-ai.py - Profile Loader → Candidate Profile: loads JSON