mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-06-02 00:57:41 +08:00
32 lines
730 B
Plaintext
32 lines
730 B
Plaintext
---
|
|
title: DeepSeek
|
|
description: DeepSeek model configuration
|
|
---
|
|
|
|
Option 1: Native integration (recommended):
|
|
|
|
```json
|
|
{
|
|
"model": "deepseek-chat",
|
|
"deepseek_api_key": "YOUR_API_KEY"
|
|
}
|
|
```
|
|
|
|
| Parameter | Description |
|
|
| --- | --- |
|
|
| `model` | `deepseek-chat` (DeepSeek-V3), `deepseek-reasoner` (DeepSeek-R1) |
|
|
| `deepseek_api_key` | Create at [DeepSeek Platform](https://platform.deepseek.com/api_keys) |
|
|
| `deepseek_api_base` | Optional, defaults to `https://api.deepseek.com/v1`. Can be changed to a third-party proxy |
|
|
|
|
Option 2: OpenAI-compatible configuration:
|
|
|
|
```json
|
|
{
|
|
"model": "deepseek-chat",
|
|
"bot_type": "openai",
|
|
"open_ai_api_key": "YOUR_API_KEY",
|
|
"open_ai_api_base": "https://api.deepseek.com/v1"
|
|
}
|
|
```
|
|
|