474 B
474 B
Quickstart
Setup
-
Set up a venv
-
Install packages
pip install "pipecat-ai[webrtc,deepgram,openai,cartesia,silero]"
"pipecat-ai-small-webrtc-prebuilt"
"python-dotenv"
- Configure environment variables
Create a .env file:
cp env.example .env
Then, add your API keys:
DEEPGRAM_API_KEY=your_deepgram_api_key
OPENAI_API_KEY=your_openai_api_key
CARTESIA_API_KEY=your_cartesia_api_key
- Run the example
python bot.py