An AI assistant for technical interviews with React/Next.js frontend.
The project is organized into two main parts:
- Backend API (Python/FastAPI): Handles application logic and connections with the OpenAI API
- Frontend (React/Next.js): Modern and responsive user interface
- Python 3.8+
- Poetry for Python dependency management
- Node.js 18+
- npm or yarn
- An OpenAI account with a valid API key
- Clone the repository
- Install dependencies with Poetry:
poetry install
- Create a
.envfile in the main directory with the following content:OPENAI_API_KEY=your_openai_api_key_here
- Navigate to the frontend directory:
cd frontend - Install dependencies:
npm install # or yarn install - Create a
.env.localfile with the following content:NEXT_PUBLIC_API_URL=http://localhost:8000
# From the main project directory
poetry run start-api
# or
poetry run python -m intervista_assistant.api_launcherThe API server will be available at http://localhost:8000.
# From the frontend directory
npm run dev
# or
yarn devThe frontend application will be available at http://localhost:3000.
- Text message sending
- Audio recording and transcription
- Screenshot analysis
- Support for advanced analysis ("Think")
- Modern and responsive user interface
Interview Assistant is a desktop application that helps software developers during technical job interviews. The application records the interview audio, transcribes it using GPT-4o Audio, detects technical questions, and generates detailed answers using GPT-4o.
The answers are displayed both in the main interface and in easily accessible popups during the interview.
- Real-Time Audio Transcription: Records and transcribes audio during interviews.
- Automatic Question Detection: Automatically detects when a question is asked.
- Detailed Technical Answers: Generates technical answers using GPT-4o.
- Answer Popups: Displays answers in popups for easy consultation during the interview.
- Screenshot Functionality: Allows capturing, saving, and sharing screenshots of the interview.
- Conversation Saving: Saves the entire conversation in JSON format.
- Python 3.8 or higher
- OpenAI API key (to use GPT-4o)
- Dependencies listed in
requirements.txt
-
Clone the repository or download the files:
git clone https://github.com/your-username/intervista-assistant.git cd intervista-assistant -
Install the dependencies:
pip install -r intervista_assistant/requirements.txt -
Create a
.envfile in theintervista_assistantdirectory based on the.env.examplefile:cp intervista_assistant/.env.example intervista_assistant/.env -
Edit the
.envfile by inserting your OpenAI API key:OPENAI_API_KEY=your-openai-api-key-here
You can start the application in one of the following ways:
-
Running the main script:
python run.py -
Running the launcher from within the intervista_assistant directory:
cd intervista_assistant python launcher.py
- Press the "Start Recording" button to begin recording audio.
- Speak clearly, asking technical questions related to software development.
- The application will automatically detect questions and generate answers.
- Answers will appear in the "Answer" area and in a popup.
- Use the "Screenshot" button to capture the screen during the interview.
- The "Share Screenshot" button allows saving and copying the image path.
- At the end of the interview, use "Save Conversation" to save the conversation in JSON.