Class | Package | Local | Serializable | JS support | Package downloads | Package latest |
---|---|---|---|---|---|---|
ChatDeepSeek | langchain-deepseek | ❌ | beta | ✅ |
Tool calling | Structured output | JSON mode | Image input | Audio input | Video input | Token-level streaming | Native async | Token usage | Logprobs |
---|---|---|---|---|---|---|---|---|---|
✅ | ✅ | ❌ | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | ❌ |
model="deepseek-reasoner"
, does not support tool calling or structured output. Those features are supported by DeepSeek-V3 (specified via model="deepseek-chat"
).langchain-deepseek
integration package.
DEEPSEEK_API_KEY
environment variable:
langchain-deepseek
package: