- Open the command palette with
ctrl + shift + p
in vscode - Type
python create env
and select the option - Select
Venv
- Select
Python 3.XX
python 3.8 or greater - Check
requirements.txt
and press OK pip install git+https://github.com/openai/openai-python.git@b2b4239bc95a2c81d9db49416ec4095f8a72d5e2
to install speech streaming compatible version
- Create a empty file called
.env
- Enter your openai api key in env file. example:
OPENAI_API_KEY=...
- Enter your together ai api key in env file. example:
TOGETHER_API_KEY=...
- Follow the tutorial here
- activate environment
python app/app.py