chat
Send an OpenAI-style message list to DeepSeek and receive the assistant's reply text.
Instructions
Send a chat completion request to DeepSeek. Accepts an OpenAI-style message list and returns the assistant's reply text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | DeepSeek model id (default: deepseek-chat; alternative: deepseek-reasoner) | |
| messages | Yes | Chat messages, newest last. Each: {role: system|user|assistant, content: string} | |
| max_tokens | No | Max output tokens (default: 2048) | |
| temperature | No | Sampling temperature (0-2) |