langchain/libs/partners/deepseek
ccurme 3450bfc806
infra: add UV_FROZEN to makefiles (#29642)
These are set in Github workflows, but forgot to add them to most
makefiles for convenience when developing locally.

`uv run` will automatically sync the lock file. Because many of our
development dependencies are local installs, it will pick up version
changes and update the lock file. Passing `--frozen` or setting this
environment variable disables the behavior.
2025-02-06 14:36:54 -05:00
..
langchain_deepseek docs: rename to langchain-deepseek in docs (#29587) 2025-02-04 14:22:17 -08:00
scripts
tests deepseek[patch]: bump langchain-openai and add to scheduled testing (#29535) 2025-02-01 18:40:59 -05:00
.gitignore
LICENSE
Makefile infra: add UV_FROZEN to makefiles (#29642) 2025-02-06 14:36:54 -05:00
pyproject.toml infra: migrate to uv (#29566) 2025-02-06 13:36:26 -05:00
README.md docs: rename to langchain-deepseek in docs (#29587) 2025-02-04 14:22:17 -08:00
uv.lock infra: migrate to uv (#29566) 2025-02-06 13:36:26 -05: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.")