Files
pipecat/examples/pcc-transport/server
2025-04-01 18:24:46 +00:00
..
2025-04-01 18:24:46 +00:00
2025-04-01 18:24:46 +00:00
2025-04-01 18:24:46 +00:00
2025-04-01 18:24:46 +00:00
2025-04-01 18:24:46 +00:00
2025-04-01 18:24:46 +00:00
2025-04-01 18:24:46 +00:00
2025-04-01 18:24:46 +00:00
2025-04-01 18:24:46 +00:00
2025-04-01 18:24:46 +00:00
2025-04-01 18:24:46 +00:00
2025-04-01 18:24:46 +00:00

Simple Chatbot Server

A Pipecat bot.py file that is built to be deployed to Pipecat Cloud.

Environment Variables

Copy env.example to .env and configure:

OPENAI_API_KEY=          # Your OpenAI API key (required for OpenAI bot)
CARTESIA_API_KEY=        # Your Cartesia API key

Running the server locally

Set up and activate your virtual environment:

python3 -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

Install dependencies:

pip install -r requirements.txt

Run the server:

LOCAL_RUN=1 python bot.py