Install using pip3:

  • openai
  • pyaudio
  • python-dotenv
  • pyttsx3
  • SpeechRecognition

Create a .env file in the root directory and add the following:

OPENAI_API_KEY=your api key

Run the following command to start the assistant: python3 voice-assistant.py

Say "Genius" to activate the assistant and then ask it a question.