Overview

DeepSeekLLMService provides access to DeepSeek’s language models through an OpenAI-compatible interface. It inherits from OpenAILLMService and supports streaming responses, function calling, and context management with advanced reasoning capabilities.

Installation

To use DeepSeek services, install the required dependency:
pip install "pipecat-ai[deepseek]"

Prerequisites

DeepSeek Account Setup

Before using DeepSeek LLM services, you need:
  1. DeepSeek Account: Sign up at DeepSeek Platform
  2. API Key: Generate an API key from your account dashboard
  3. Model Selection: Choose from available DeepSeek models with reasoning capabilities

Required Environment Variables

  • DEEPSEEK_API_KEY: Your DeepSeek API key for authentication