Overview
CerebrasLLMService
provides access to Cerebras’s language models through an OpenAI-compatible interface. It inherits from OpenAILLMService
and supports streaming responses, function calling, and context management with ultra-fast inference speeds.
Cerebras LLM API Reference
Pipecat’s API methods for Cerebras integration
Example Implementation
Complete example with function calling
Cerebras Documentation
Official Cerebras inference API documentation
Cerebras Platform
Access models and manage API keys
Installation
To use Cerebras services, install the required dependency:Prerequisites
Cerebras Account Setup
Before using Cerebras LLM services, you need:- Cerebras Account: Sign up at Cerebras Cloud
- API Key: Generate an API key from your account dashboard
- Model Selection: Choose from available Cerebras models with ultra-fast inference
Required Environment Variables
CEREBRAS_API_KEY
: Your Cerebras API key for authentication