Models
DeepSeek
DeepSeek is a platform for providing endpoints for Large Language models. See their library of models here.
We recommend experimenting to find the best-suited model for your use-case. Here are some general recommendations:
deepseek-chat
model is good for most basic use-cases.deepseek-reasoner
model is good for complex reasoning and multi-step tasks.
DeepSeek does not have rate limits. See their docs for information about how to deal with slower responses during high traffic.
Authentication
Set your DEEPSEEK_API_KEY
environment variable. Get your key from here.
Example
Use DeepSeek
with your Agent
:
View more examples here.
Params
Parameter | Type | Default | Description |
---|---|---|---|
id | str | "deepseek-chat" | The specific model ID used for generating responses. |
name | str | "DeepSeek" | The name identifier for the DeepSeek model. |
provider | str | "DeepSeek" | The provider of the model. |
api_key | Optional[str] | - | The API key used for authenticating requests to the DeepSeek service. Retrieved from the environment variable DEEPSEEK_API_KEY . |
base_url | str | "https://api.deepseek.com" | The base URL for making API requests to the DeepSeek service. |
DeepSeek
also supports the params of OpenAI.