Skip to content

hanifjilani/Interview_with_AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

44 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– AI-Powered Interview Question Generator

A smart and production-ready AI tool that analyzes resumes or job descriptions and generates tailored technical and behavioral interview questions using OpenAI's GPT models.

πŸš€ Try "Interview with AI" Live!

Want to see it in action?

πŸ‘‰ Click here to try the AI-powered Interview Question Generator!

Paste your resume or job description and get tailored technical & behavioral interview questions instantly.

🎬 Demo

πŸ“Œ What This Project Does

This app lets users:

  1. Upload a resume (.pdf) or Provide Job Description
  2. Automatically extract key information using a custom parser (no broken dependencies!)
  3. Send the structured info to GPT-4o
  4. Generate 3 technical + 3 behavioral interview questions, customized to your skills and experiences

✨ Features

βœ… Custom resume parser (uses spaCy, fitz, regex)
βœ… Dynamic skill extraction from skills.txt
βœ… Degree & organization detection (medical, law, tech, etc.)
βœ… GPT-powered interview question generation
βœ… Streamlit-ready interface
βœ… Modular, extensible code structure


πŸš€ Setup Instructions

πŸ”Ή 1. Clone the repo

git clone https://github.com/yourusername/ai-interview-question-generator.git
cd ai-interview-question-generator

πŸ”Ή 2. Create and activate a virtual environment

python -m venv venv
source venv/bin/activate      # On macOS/Linux
# OR
venv\Scripts\activate         # On Windows

πŸ”Ή 3. Install dependencies

pip install -r requirements.txt
python -m spacy download en_core_web_sm

πŸ”Ή 4. Add your OpenAI API key

Create .streamlit/secrets.toml file and then add
OPENAI_API_KEY = "sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

πŸ”Ή 5. Run the Application

streamlit run app.py

πŸ§ͺ Example Output

πŸ“„ Extracted information from uploaded resume β€” click to view
{
  "name": "Hanif Jilani",
  "email": "hanif@umich.edu",
  "phone": "734-596-6393",
  "skills": [
    "entrepreneurship",
    "aws",
    "sql",
    "python",
    "c",
    "mysql",
    "react",
    "django",
    "javascript",
    "node.js",
    "flask",
    "git"
  ],
  "degree": [
    "Bachelor of Science in Engineering"
  ],
  "organizations": [
    "Comparators",
    "Learning Management Systems",
    "India β€’",
    "Google/Bing",
    "MI β€’ Optimized",
    "Figma",
    "LMS",
    "SEO",
    "CSS",
    "University of Michigan Ann Arbor",
    "Danish Institute for Study Abroad Copenhagen",
    "Madoop",
    "Magento",
    "C/C++",
    "Github Private Repo",
    "Education University",
    "HTML/CSS Frameworks",
    "Google",
    "MapReduce",
    "Data-Driven Web Applications",
    "India β€’ Built",
    "Projects LC2K Simulator & Assembler",
    "Denmark β€’ Founded",
    "Present University of Michigan Ann Arbor",
    "Hafa Math Academy Chennai",
    "MI β€’ Integrated",
    "Swagger.io",
    "HTML",
    "University Honors",
    "MS Project, MS Office"
  ],
  "experience": [
    "Education University of Michigan - College of Engineering Ann Arbor, MI Bachelor of Science in Engineering, Computer Science GPA:",
    "Awards: Engineering Dean’s List (Fall 2022, Spring 2024), University Honors (Fall 2022) β€’",
    "Courses: Web Systems, Data-Driven Web Applications, Discrete Math, Computational Linear Algebra Experience Backend Developer Intern at CLUES",
    "Entrepreneurship Study/Internship Abroad May 2023 – July 2023 Danish Institute for Study Abroad Copenhagen, Denmark β€’ Founded Gro-share-ies, simulated ride-share grocery startup targeting college students.",
    "Backend Developer Intern May 2021 – Sep. 2021 Hafa Math Academy Chennai, India β€’",
    "Web Developer Intern Apr 2021 – Apr 2021",
    "Engineered a segmented inverted index using a MapReduce pipeline, optimizing search efficiency.",
    "SQL Clone | Github Private Repo | C++ Feb 2024 – March 2024 β€’ Engineered a relational database system supporting insert, remove, select, print, index, and join queries.",
    "Technical Skills Languages: Python, C/C++, MySQL, JavaScript, HTML/CSS Frameworks: Flask, Django, Node.js, React, Dialogflow Developer Tools: Git, Google Cloud Platform, VS Code, Figma, MS Project, MS Office"
  ]
}
➑️ The app generates:

πŸ”§ Technical Questions:

1. Django and Flask:

Can you walk us through a project where you used Django or Flask? How did you decide which framework to use, and what challenges did you face during the development process?

2. React and Node.js:

Describe a project where you integrated React with a Node.js backend. How did you manage state and data flow between the front end and back end?

3. SQL and MapReduce:

You've mentioned engineering a segmented inverted index using a MapReduce pipeline. Can you explain what this project entailed and how you utilized SQL and MapReduce to optimize search efficiency?

πŸ’¬ Behavioral Questions:

1. Entrepreneurship:

During your time at the Danish Institute for Study Abroad, you founded a simulated ride-share grocery startup. Can you describe a challenge you encountered in this project and how you overcame it?

2. Teamwork and Collaboration:

As a Backend Developer Intern at CLUES, how did you ensure effective collaboration with your team, especially when working on complex projects?

3. Adaptability:

You've had experience working in different countries and environments, such as the Danish Institute for Study Abroad and Hafa Math Academy in India. How did you adapt to these varying work cultures, and what did you learn from these experiences?

πŸ“„ License

MIT License Β© Hanif Jilani
Developed to empower learners, job seekers, and researchers with practical AI-driven tools.

About

AI-powered tool that reads resumes and creates custom technical and behavioral questions. Perfect for mock interviews, recruiters, or self-assessment.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages