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.4

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.4
File Size Uploaded
langchain_deepseek-0.1.4.tar.gz 8.9 kB Details

Built distribution (wheel)

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

Total release size: 16.4 kB

Release files / langchain_deepseek-0.1.4.tar.gz

Download URL langchain_deepseek-0.1.4.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
dc105138aee4fce03badd0521e69d5508b37f5c087d92b3e8481ffb8f9563d33
BLAKE2b-256 checksum
How to use checksums
8a6415fe061165574b3ba80011d96cb3f428f9e6f5631cd76058b028333023db
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.4-py3-none-any.whl

Download URL langchain_deepseek-0.1.4-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9ce3dbfc7a40f221657ffe31e8623ea6e397f6c90de2a58d38204ac63e8f41ff
BLAKE2b-256 checksum
How to use checksums
39d30da6f3f5548e1a771d0500e17da723996f8ba1398bcef7198a2ecbca6e1b
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

This release

0.1.4 This release

2 release files

0.1.3

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