I suppose we are all relegated to fighting fire with fire now. This AI Interview Assistant is an standalone python application that uses speech recognition and AI-powered responses intended to help during the interview process. When active, it listens to all system audio for spoken questions, processes them using OpenAI's api, and then provides spoken and written responses. The idea is that you could have this running while on an online interview (zoom etc.)
- Speech recognition for capturing user questions
- AI-powered responses using OpenAI's GPT-3.5-turbo model
- Text-to-speech functionality for spoken answers
- User-friendly web interface
- API key management for OpenAI integration
- Mutable audio responses
- Responsive design for various screen sizes
Before you begin, ensure you have met the following requirements:
- Python 3.7+
- An OpenAI API key
-
Clone the repository:
git clone https://github.com/yourusername/ai-interview-assistant.git cd ai-interview-assistant -
Install the required Python packages:
pip3 install eel SpeechRecognition openai -
Set up your OpenAI API key:
- Run the application
- Use the UI to enter your API key
- The key will be saved for future use
-
Run the main Python script:
python inter_ass.py -
The application will open in your default web browser.
-
If you haven't already, enter your OpenAI API key when prompted.
-
Click the "Start Listening" button to begin.
-
If you sk your question clearly, the application will process your speech and display the question.
-
The AI will generate a response, which will be displayed in text and spoken aloud.
-
Use the mute icon next to each answer to toggle the audio on/off for that specific response.
-
Click the "Stop Listening" button when you're done.
- You can toggle text-to-speech on/off using the speaker icon next to the "Answers" heading.
- The "Clear Text" button will remove all questions and answers from the display.
- To change or remove your API key, use the "Change/Remove API Key" button.
- If you encounter issues with speech recognition, ensure your microphone is properly connected and has the necessary permissions.
- If responses are slow, check your internet connection as the application requires online access for AI processing.
Contributions to the AI Interview Assistant are welcome. Please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b <branch_name>. - Make your changes and commit them:
git commit -m '<commit_message>' - Push to the original branch:
git push origin <project_name>/<location> - Create the pull request.
Alternatively, see the GitHub documentation on creating a pull request.
This project uses the following license: Common Development and Distribution License 1.0.
If you want to contact me, you can reach me at pixelpump@gmail.com.
- OpenAI for providing the GPT and text-to-speech APIs
- Eel for the Python/JavaScript integration
- SpeechRecognition for the speech recognition functionality
