This project is a fully interactive AI-powered interview simulator built with Streamlit, OpenAI, and a clean session-state architecture. It mimics a real interview experience, generates dynamic questions based on the userโs profile, tracks the entire conversation, and finishes with an automated performance evaluation.
Whether youโre prepping for your dream job or building an HR screening tool, this app delivers a streamlined, modern interview flow powered by LLMs.
-
User Profile Capture
Collects name, experience, skillset, company, role, and job level. -
Adaptive AI Interview
HR-style AI agent asks up to 5 tailored interview questions using OpenAI GPT. -
Streaming Responses
Smooth, real-time answer generation usingst.write_stream(). -
Deep Session Management
Everything is stored inst.session_state: messages, progress, count limits, and more. -
Automatic Evaluation
After the interview, the model generates:
โ A score (1โ10)
โ Structured feedback
โ No extra questions, no extra fluff -
Restart Flow
A single button reloads the entire interface usingstreamlit_js_eval().
- Python 3.10+
- Streamlit
- OpenAI API (gpt-4o)
- streamlit_js_eval
- Session State Logic
- Streaming Chat Completions
git clone https://github.com/Sama-ndari/Interview-tool.git
cd Interview-tool
pip install -r requirements.txt