Base Service Classes
Overview
Overview of Pipecat’s core service implementations
Pipecat services inherit from base classes that define common functionality, parameters, and methods shared across similar service types.
Transport
Base classes for handling audio/video I/O streams and real-time communication
Speech Services
Base implementations for STT, TTS, and Speech-to-Speech services
Language Models
Base class for LLM service implementations with function calling support
Media Processing
Base classes for image generation, vision, and video services
Text Processing
Text filters and preprocessing utilities
Common Patterns
All base classes follow these patterns:
- Abstract methods define required service implementations
- Standard input/output frame handling
- Consistent error handling
- Optional configuration parameters
- Async/await support
For implementation examples, see individual service documentation in the Supported Services section.