Hack Interview
Overview
The Hack Interview application is an innovative tool that aids job seekers in preparing for interviews by harnessing the capabilities of Generative AI. It adeptly combines voice recognition and text generation technologies, enabling users to transcribe interview questions and generate responses on-the-fly. This empowers individuals to approach interviews with confidence and ease.
⚠️ Disclaimer ⚠️
This application is intended as a proof of concept and should be used with ethics and responsibility in mind. It is not designed to deceive or mislead interviewers; rather, it showcases AI's potential to assist with understanding questions and generating responses in real-time. Users are encouraged to use this tool strictly for practice and educational purposes.
Features
- Real-Time Audio Processing: The application can seamlessly record and transcribe audio inputs.
- Voice Recognition: It leverages OpenAI's Whisper model to deliver precise voice recognition services.
- Intelligent Response Generation: Utilizing OpenAI's GPT models, it crafts concise and relevant responses.
- Cross-Platform Functionality: The design ensures compatibility across various operating systems.
- User-Friendly Interface: It features a straightforward, intuitive, and easy-to-interact-with graphical user interface.
Requirements
- Python 3.10 or Higher: Ensure that Python is installed on your device.
- OpenAI API Key: To access OpenAI's GPT models, users need an API key.
- BlackHole for MacOS: This is essential for capturing your computer's audio output (like sounds from Zoom calls or browser tabs).
- Microphone Fallback: If BlackHole is unavailable, the app can still function with microphone input recording.
Installation
-
Clone the Repository:
git clone https://github.com/ivnvxd/hack-interview.git cd hack-interview
-
Install Dependencies:
pip install -r requirements.txt
-
BlackHole: If using MacOS, install BlackHole and set up a Multi Output Device.
-
Environment Setup:
- Add your OpenAI API key to the
.env
file. If needed, you can obtain one here.
- Add your OpenAI API key to the
Usage
- Starting the Application: Execute
python main.py
to launch the graphical user interface. - (optional) Setup: Select the OpenAI model for generating responses and specify the job position you're interviewing for. Default settings are adjustable in the
src/config.py
file. - Recording: Use the
R
key or click the red toggle button to start/stop audio recording, creating arecording.wav
file in the project folder. - Transcription and Response Generation: Press
A
or click 'Analyze' to transcribe audio and generate answers. - Viewing Responses: Responses are displayed in the interface, offering both brief and detailed answers.
Contributions
Contributions are highly welcomed. Feel free to submit a pull request or create an issue for any suggestions or improvements.
Support
Gratitude for utilizing this project! If it proves helpful and you wish to support further developments, consider buying the creator a coffee. Every bit of support is greatly appreciated!
And don't forget to star the project if you find it valuable! :star:
Acknowledgments
The project draws inspiration from hack_interview by slgero and extends thanks to the developers and contributors of OpenAI.