Example
DeepSeek Params
Model Params
DeepSeek is a subclass of the OpenAILike class and has access to the same params.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
from phi.agent import Agent
from phi.model.deepseek import DeepSeekChat
agent = Agent(
model=DeepSeekChat(),
show_tool_calls=True,
markdown=True,
)
agent.print_response("Give me in-depth analysis of NVDA and TSLA")
| Parameter | Type | Default | Description |
|---|---|---|---|
id | str | "deepseek-chat" | The specific model ID used for generating responses. |
name | str | "DeepSeekChat" | 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 is a subclass of the OpenAILike class and has access to the same params.Was this page helpful?