bot() entry point function receives different types of arguments depending on the session type. These classes represent the structure of those arguments.
PipecatSessionArguments
Standard Pipecat Cloud agent session arguments, used for basic sessions.Properties
Optional[str]
The unique identifier for the current session.
Any
The custom data passed to the agent via the session parameters.
DailySessionArguments
Arguments for sessions that involve Daily WebRTC rooms for voice/video interaction.Properties
Optional[str]
The unique identifier for the current session.
str
The URL for the Daily room.
str
The authentication token for the Daily room.
Any
The custom data passed to the agent via the session parameters.
WebSocketSessionArguments
Arguments for sessions that use WebSocket connections for real-time communication.Properties
Optional[str]
The unique identifier for the current session.
WebSocket
The FastAPI WebSocket connection used to communicate with the client.