Skip to main content

An integration package connecting DeepSeek and LangChain

Project description

langchain-deepseek-official

This package contains the LangChain integration with the DeepSeek API

Installation

pip install -U langchain-deepseek-official

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

langchain_deepseek_official-0.1.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

langchain_deepseek_official-0.1.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file langchain_deepseek_official-0.1.0.tar.gz.

File metadata

  • Download URL: langchain_deepseek_official-0.1.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.4 Darwin/24.2.0

File hashes

Hashes for langchain_deepseek_official-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d2b95dbba22fce979a24d9682e8c90e5b01ce4070ddd153532f9fecb00dd6125
MD5 68441951d265bdf7f546a750e8004312
BLAKE2b-256 b9c1cbbb912139acd89725b991b54866f250e11f58e78ae14589a67a8c7b432a

See more details on using hashes here.

File details

Details for the file langchain_deepseek_official-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_deepseek_official-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bf8736cb5e566530da52d266ad991f81872a2afde15495eec9b1e51ac5be4895
MD5 49c030ec925d5392cfceb2ab91e9ce30
BLAKE2b-256 01607ac1df787fdc4335987f4b24ddfb39d89ef1f818718390b5600b38e4b50f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page