Overview
Integration details
| Class | Package | Local | Serializable | JS support | Downloads | Version |
|---|---|---|---|---|---|---|
| ChatDeepSeek | langchain-deepseek | ❌ | beta | ✅ |
Model features
| Tool calling | Structured output | JSON mode | Image input | Audio input | Video input | Token-level streaming | Native async | Token usage | Logprobs |
|---|---|---|---|---|---|---|---|---|---|
| ✅ | ✅ | ❌ | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | ❌ |
model="deepseek-reasoner"로 지정되는 DeepSeek-R1은 tool calling이나 structured output을 지원하지 않습니다. 이러한 기능은 model="deepseek-chat"으로 지정되는 DeepSeek-V3에서 지원됩니다.Setup
DeepSeek 모델에 액세스하려면 DeepSeek 계정을 생성하고 API key를 받은 다음langchain-deepseek integration package를 설치해야 합니다.
Credentials
DeepSeek의 API Key 페이지로 이동하여 DeepSeek에 가입하고 API key를 생성하세요. 완료한 후DEEPSEEK_API_KEY environment variable을 설정하세요:
Installation
LangChain DeepSeek integration은langchain-deepseek package에 있습니다:
Instantiation
이제 model object를 인스턴스화하고 chat completion을 생성할 수 있습니다:Invocation
API reference
모든 ChatDeepSeek 기능 및 구성에 대한 자세한 문서는 API Reference를 참조하세요.Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.