langchain/libs/partners/deepseek
Mason Daugherty 4d9eefecab
fix: bump lockfiles (#31923)
* bump lockfiles after upgrading ruff
* resolve resulting linting fixes
2025-07-08 13:27:55 -04:00
..
langchain_deepseek deepseek[patch]: ruff fixes and rules (#31901) 2025-07-07 21:54:44 -04:00
scripts deepseek[patch]: ruff fixes and rules (#31901) 2025-07-07 21:54:44 -04:00
tests deepseek[patch]: ruff fixes and rules (#31901) 2025-07-07 21:54:44 -04:00
.gitignore
LICENSE
Makefile fix: automatically fix issues with ruff (#31897) 2025-07-07 14:13:10 -04:00
pyproject.toml fix: bump lockfiles (#31923) 2025-07-08 13:27:55 -04:00
README.md
uv.lock fix: bump lockfiles (#31923) 2025-07-08 13:27:55 -04:00

langchain-deepseek

This package contains the LangChain integration with the DeepSeek API

Installation

pip install -U langchain-deepseek

And you should configure credentials by setting the following environment variables:

  • DEEPSEEK_API_KEY

Chat Models

ChatDeepSeek class exposes chat models from DeepSeek.

from langchain_deepseek import ChatDeepSeek

llm = ChatDeepSeek(model="deepseek-chat")
llm.invoke("Sing a ballad of LangChain.")