/virtual-discussion

"Virtual Discussion" is a Unity project for a job interview simulation. It utilizes STT, TTS, and OpenAI APIs to generate interview questions. Developed under Mr. Badr Hirchoua's supervision, this school project offers an immersive experience to enhance interview skills.

Virtual Discussion

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.

Requirements

Getting Started

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:

  1. Clone or download this repository.

  2. Obtain your OpenAI API credentials (API key + Organization ID).

  3. Create a file named auth.json with the following fields:

    {
      "api_key": "YOUR_API_KEY",
      "organization": "YOUR_ORGANIZATION_ID"
    }

Place this file in the directory: C:\Users\username\.openai

  1. Launch Unity Editor and load the main scene located at Assets/Scenes.

  2. Run the scene.

  3. 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!