You need an OPENAI_API_KEY and a GOOGLE_API_KEY to run this code. Store them in a .env file in the root directory of the project, or set them as environment variables.
Create a virtual environment, update pip, and install the required packages:
Python Version : 3.11 to support PyAudio
$ py -m venv .venv
$ .venv/Scripts/activate.ps1
$ pip install -U pip
$ pip install -r requirements.txt