Skip to main content

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.")

Metadata

Release files for langchain-deepseek 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for langchain-deepseek 0.1.3
File Size Uploaded
langchain_deepseek-0.1.3.tar.gz 7.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for langchain-deepseek 0.1.3
File Interpreter ABI Platform
langchain_deepseek-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 15.0 kB

Release files / langchain_deepseek-0.1.3.tar.gz

Download URL langchain_deepseek-0.1.3.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
89dd6aa120fb50dcfcd3d593626d34c1c40deefe4510710d0807fcc19481adf5
BLAKE2b-256 checksum
How to use checksums
ed7fbe5bcf99b3814214a02ac205bda66d49d55a7d5440d47223105cef5df063
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / langchain_deepseek-0.1.3-py3-none-any.whl

Download URL langchain_deepseek-0.1.3-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8588e826371b417fca65c02f4273b4061eb9815a7bfcd5eb05acaa40d603aa89
BLAKE2b-256 checksum
How to use checksums
007d51b60aa91fa77742fc461704e5a8497e856156ae878102e6942799a78915
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Release history Release notifications | RSS feed

1.1.1

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.4

2 release files

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.3

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page