Skip to content

DeepSeek

Setup

Get your API key from the DeepSeek Platform, and export it as an environment variable:

export DEEPSEEK_API_KEY=<YOUR_DEEPSEEK_API_KEY>

Examples

from toolfront import Database

db = Database("postgresql://user:pass@host/db")

# Latest DeepSeek Chat version
result = db.ask(..., model="deepseek:deepseek-chat")

DeepSeek Model Names

Always specify a DeepSeek model with the deepseek: prefix.