Files
langchain/libs/partners/deepseek/README.md
2025-02-04 14:22:17 -08:00

25 lines
481 B
Markdown

# langchain-deepseek
This package contains the LangChain integration with the DeepSeek API
## Installation
```bash
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.
```python
from langchain_deepseek import ChatDeepSeek
llm = ChatDeepSeek(model="deepseek-chat")
llm.invoke("Sing a ballad of LangChain.")
```