A professional AI-powered HR interview application with real-time speech-to-text, resume analysis, and automated candidate evaluation.
- Camera Integration: Live video feed during interviews
- Resume Analysis: AI-powered PDF resume parsing and question generation
- Speech-to-Text: Real-time on-device speech recognition
- Smart Q&A Flow: Initial questions → Follow-up questions → Final rating
- Candidate Rating: Comprehensive evaluation based on resume and responses
hr-interview-app/
├── main.py # FastAPI backend application
├── requirements.txt # Python dependencies
├── .env # Environment variables
├── static/
│ └── index.html # Frontend application
└── README.md # Setup instructions
mkdir hr-interview-app
cd hr-interview-apppython -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activatepip install -r requirements.txtCreate a .env file and add your OpenAI API key:
OPENAI_API_KEY=your_actual_openai_api_key_here
HOST=0.0.0.0
PORT=8000mkdir staticPlace the index.html file in the static/ directory.
uvicorn main:app --reload --host 0.0.0.0 --port 8000Open your browser and navigate to: http://localhost:8000
- Start Camera: Click "Start Camera" to enable video feed
- Upload Resume: Upload a PDF resume for AI analysis
- Answer Questions: Use speech-to-text or type responses
- Complete Interview: Answer all initial and follow-up questions
- View Rating: Get comprehensive candidate evaluation
- Real-time WebSocket communication
- OpenAI GPT-4 integration for question generation and evaluation
- PDF processing with PyPDF2
- RESTful API endpoints for all operations
- Web Speech API for real-time speech recognition
- WebRTC for camera access
- Clean, professional UI with minimal design
- Responsive layout for different screen sizes
- On-device Speech Recognition: No audio data sent to servers
- Progressive Interview Flow: Structured Q&A process
- Comprehensive Rating: Multi-dimensional candidate evaluation
- Professional Design: Clean, minimal interface with blue accent color
- Modern browsers supporting:
- Web Speech API (Chrome, Edge, Safari)
- WebRTC for camera access
- ES6+ JavaScript features
- OpenAI API keys are stored server-side only
- Audio processing happens entirely on-device
- No persistent storage of sensitive data (implement database for production)
- Add user authentication
- Implement proper database storage
- Add rate limiting and API protection
- Configure HTTPS and security headers
- Add comprehensive error handling and logging