Files
pipecat/examples/bot-ready-signalling/server
2025-03-30 16:21:00 -07:00
..
2025-01-29 15:45:48 -03:00
2025-01-29 15:52:42 -03:00
2025-02-06 11:11:37 -08:00

Bot ready signaling Server

A FastAPI server that manages bot instances and provide endpoint for Pipecat client connections.

Endpoints

  • POST /connect - Pipecat client connection endpoint

Environment Variables

Copy env.example to .env and configure:

# Required API Keys
DAILY_API_KEY=           # Your Daily API key
CARTESIA_API_KEY=        # Your Cartesia API key

# Optional Configuration
DAILY_API_URL=           # Optional: Daily API URL (defaults to https://api.daily.co/v1)
DAILY_SAMPLE_ROOM_URL=   # Optional: Fixed room URL for development
HOST=                    # Optional: Host address (defaults to 0.0.0.0)
FAST_API_PORT=           # Optional: Port number (defaults to 7860)

Running the Server

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

If you want to use the local version of pipecat in this repo rather than the last published version, also run:

pip install --editable "../../../[daily,cartesia,openai]"

Run the server:

python server.py