First, create a virtual environment, update pip, and install the required packages:
$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip install -U pip
$ pip install -r requirements.txt
You need to set up the following environment variables:
LIVEKIT_URL=...
LIVEKIT_API_KEY=...
LIVEKIT_API_SECRET=...
DEEPGRAM_API_KEY=...
OPENAI_API_KEY=...
Then, run the assistant:
$ python3 assistant.py download-files
$ python3 assistant.py start
Finally, you can load the hosted playground and connect it.