The Advanced Interview Responder is a cutting-edge tool designed to assist users during interviews by leveraging artificial intelligence. It generates contextually relevant responses based on the user's resume and interview questions, displayed in real-time on a teleprompter interface. This allows users to maintain eye contact with the interviewer while confidently delivering their answers.
✨ Features
🤖 Multiple AI Model Integration: Supports OpenAI GPT-4, Google Gemini, Meta LLaMA, Anthropic Claude, and Ollama create tailored responses based on the user's resume and interview questions.
🎤 Speech Recognition: Uses the Vosk speech recognition model to transcribe audio questions in real-time for seamless interaction.
📄 Resume Parsing: Extracts relevant information from the user's PDF resume to provide context for the AI's responses.
⌨️ Keyboard Control: Enables users to pause and resume the application using keyboard shortcuts for greater control during practice sessions or live interviews.
🔩 User-Friendly Interface: Simple command-line interface for selecting AI models and initiating the interview process.
🛠️ How It Works
📑 Resume Data Extraction: The application reads the user's resume and extracts key information to inform the response generation process.
🗣️ Real-Time Question Transcription: As the interviewer asks questions, the application listens and transcribes them using speech recognition technology.
🧠 Contextual Response Generation: The AI processes the transcribed question along with the resume data to generate a relevant response.
📢 Display on Teleprompter: The generated response is displayed on the teleprompter interface, enabling the user to read the answer while engaging with the interviewer.
Replace "your_openai_api_key_here" in the script with your actual API key.
Google Gemini
Note: As of my knowledge cutoff in September 2021, Google’s Gemini model details might be updated. Ensure you have access and obtain the necessary API keys or endpoints from Google Cloud.
Replace "your_gemini_api_key_here" and "https://gemini-api.google.com/v1/generate" with the actual API key and endpoint.
Meta LLaMA
Obtain access to Meta's LLaMA and set up the API endpoint as per Meta's documentation.
Replace "http://your_llama_api_endpoint_here" with your actual LLaMA API endpoint.
You can run the application using one of the following methods:
🔧 Method 1: Using a Virtual Environment
Creating a virtual environment is recommended to manage dependencies separately from your global Python installation.
Clone the Repository:
git clone https://github.com/Gamingpro237/Advanced_Interview_responder_with_AI.git
cd Advanced_Interview_responder_with_AI
Create a Virtual Environment:
python -m venv venv
Activate the Virtual Environment:
On Windows:
venv\Scripts\activate
On macOS and Linux:
source venv/bin/activate
Install the Required Libraries:
pip install -r requirements.txt
Download and Specify the Path for the Vosk Model.
Run the Application:
python main.py
Deactivate the Virtual Environment (after you're done):
deactivate
⚙️ Method 2: Normal Setup (Without Virtual Environment)
If you prefer to install the dependencies globally without using a virtual environment, follow these steps:
Clone the Repository:
git clone https://github.com/Gamingpro237/Advanced_Interview_responder_with_AI.git
cd Advanced_Interview_responder_with_AI
Install the Required Libraries:
pip install -r requirements.txt
Download and Specify the Path for the Vosk Model.
Run the Application:
python main.py
Response Length
To increase the size of the response with Openai or ollama, update the value of the Max token:
full_prompt =f"Respond as if you were me. The question is :\n{prompt}\n\n My Resume information: {resume_context}"try: response = openai.chat.completions.create( model="gpt-3.5-turbo", messages=[{"role":"user","content": full_prompt}], max_tokens=150, n=1, stop=None, temperature=0.7)return response.choices[0].message.content.strip()
💼 Applications
The Advanced Interview Responder can be utilized in various scenarios, including:
💼 Job Interviews: Candidates can practice with the AI to prepare for real interviews, receiving tailored answers based on their resumes.
💻 Virtual Meetings: During online meetings or webinars, users can ask questions and get immediate AI-generated responses to enhance their presentations.
🎤 Public Speaking: Individuals can practice speeches and receive feedback on their delivery by reading AI-generated content.
🏢 Corporate Training: New employees can use the tool for onboarding, helping them prepare for real-world interactions and interviews.
The Advanced Interview Responder with AI is a valuable tool for anyone looking to enhance their interview skills and communication abilities. By combining AI-generated responses with a teleprompter interface, it provides users with a unique and effective way to prepare for and navigate interviews confidently.
📜 License
This project is licensed under the MIT License. See the LICENSE file for details