mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-09 10:17:00 +00:00
chore: enrich pyproject.toml files with links to new references, others (#33343)
This commit is contained in:
@@ -2,23 +2,4 @@
|
||||
|
||||
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.")
|
||||
```
|
||||
View the [documentation](https://docs.langchain.com/oss/python/integrations/providers/deepseek) for more details.
|
||||
|
||||
Reference in New Issue
Block a user