export DEEPSEEK_API_KEY=***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.
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.
from bitca.agent import Agent, RunResponse
from bitca.model.deepseek import DeepSeekChat
agent = Agent(model=DeepSeekChat(), markdown=True)
# Get the response in a variable
# run: RunResponse = agent.run("Share a 2 sentence horror story.")
# print(run.content)
# Print the response in the terminal
agent.print_response("Share a 2 sentence horror story.")