mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-04 20:46:45 +00:00
docs: rename to langchain-deepseek in docs (#29587)
This commit is contained in:
@@ -417,7 +417,7 @@ def _init_chat_model_helper(
|
||||
|
||||
return ChatAnthropicVertex(model=model, **kwargs)
|
||||
elif model_provider == "deepseek":
|
||||
_check_pkg("langchain_deepseek", pkg_kebab="langchain-deepseek-official")
|
||||
_check_pkg("langchain_deepseek", pkg_kebab="langchain-deepseek")
|
||||
from langchain_deepseek import ChatDeepSeek
|
||||
|
||||
return ChatDeepSeek(model=model, **kwargs)
|
||||
|
@@ -365,7 +365,7 @@ packages:
|
||||
repo: sambanova/langchain-sambanova
|
||||
path: .
|
||||
downloads: 0
|
||||
- name: langchain-deepseek-official
|
||||
- name: langchain-deepseek
|
||||
repo: langchain-ai/langchain
|
||||
path: libs/partners/deepseek
|
||||
downloads: 0
|
||||
|
@@ -1,11 +1,11 @@
|
||||
# langchain-deepseek-official
|
||||
# langchain-deepseek
|
||||
|
||||
This package contains the LangChain integration with the DeepSeek API
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
pip install -U langchain-deepseek-official
|
||||
pip install -U langchain-deepseek
|
||||
```
|
||||
|
||||
And you should configure credentials by setting the following environment variables:
|
||||
|
@@ -16,11 +16,11 @@ class ChatDeepSeek(BaseChatOpenAI):
|
||||
"""DeepSeek chat model integration to access models hosted in DeepSeek's API.
|
||||
|
||||
Setup:
|
||||
Install ``langchain-deepseek-official`` and set environment variable ``DEEPSEEK_API_KEY``.
|
||||
Install ``langchain-deepseek`` and set environment variable ``DEEPSEEK_API_KEY``.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
pip install -U langchain-deepseek-official
|
||||
pip install -U langchain-deepseek
|
||||
export DEEPSEEK_API_KEY="your-api-key"
|
||||
|
||||
Key init args — completion params:
|
||||
|
Reference in New Issue
Block a user