This Unity project is a job interview simulation that utilizes Speech-to-Text (STT) and Text-to-Speech (TTS) functionalities along with the OpenAI API for question generation. It allows users to practice their interview skills in an immersive environment.
- Unity Editor version: 2021.3.19f1
- OpenAI API key
- Additional Packages:
To use the project, you can either use the Windows Build (build folder in this repository) or follow these steps to open and run the project in Unity:
-
Clone or download this repository.
-
Obtain your OpenAI API credentials (API key + Organization ID).
-
Create a file named
auth.jsonwith the following fields:{ "api_key": "YOUR_API_KEY", "organization": "YOUR_ORGANIZATION_ID" }
Place this file in the directory: C:\Users\username\.openai
-
Launch Unity Editor and load the main scene located at Assets/Scenes.
-
Run the scene.
-
Click on the "Record" button to start recording your speech. The transcribed text will be displayed. Send the recorded text and wait for the response. Once the character starts moving, click on the "Speak" button.
Feel free to explore and enhance your interview skills using this immersive simulation!