Table of Contents
This project is designed to simulate a job interview environment, where a user can practice answering interview questions tailored to a specific job role. Here’s a breakdown of the project:
User Interaction:
- Job Title Input: The user types in a job title they are interviewing for
- Interview Flow: The AI Interviewer, powered by Google Gemini, will ask a series of questions, starting with “Tell me about yourself.” The subsequent questions will be dynamically generated based on the user’s responses, focused on the specific job title entered.
- User Response Input: After each question, the user provides a response in a textbox.
- Submission: Once the user answers, they can submit their response, which is then sent to Gemini for evaluation.
AI Functionality:
- The AI Interviewer will ask at least 6 questions, based on the job title and user responses.
- At the end of the interview, Gemini will provide feedback on how well the user answered the questions and suggest areas for improvement.
Generative AI Use:
- The project utilizes Google Gemini, which powers the AI Interviewer to ask tailored questions and assess the user’s responses based on the job title provided.
Purpose: This tool aims to help users prepare for job interviews by simulating real-world interview scenarios, offering personalized feedback, and improving their interview skills.
This section lists major frameworks/libraries used to bootstrap this project.
To get a local copy of the application up and running follow these simple example steps.
_ Frontend _
-
npm
npm install npm@latest -g
-
Gemini
npm install @google/generative-ai
_ Backend _
-
express
npm install express
-
cors
npm install cors
- Get a free API Key at https://ai.google.dev/gemini-api/docs
- Clone the repo
git clone https://github.com/caitlincode/g7-m3.git
- Install NPM packages
npm install
- Enter your API key in
index.jsin the backend directoryconst genAI = "ENTER YOUR API KEY";
- Change git remote url to avoid accidental pushes to base project
git remote set-url origin github_username/repo_name git remote -v # confirm the changes
To use the project simply enter a role in the text area then click start interview
Gemini will generate a question to which the user will provide an answer to by typing their response in the text area.
When the interview comes to a conclusion, the user must click End Interview to receive feedback.
Helpful resources