mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-06-06 08:30:51 +08:00
Batch update from official docs audit - price corrections, context window fixes, field report updates across all providers. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
42 lines
2.3 KiB
Markdown
42 lines
2.3 KiB
Markdown
# 详细字段取值表 - compute/providers/openai.json
|
||
|
||
- provider: `openai`
|
||
- generatedAt: `2026-04-24T00:00:00+08:00`
|
||
- 本轮复核字段: `defaultTemperature` / `defaultTopP`
|
||
|
||
## 来源
|
||
|
||
- https://api.openai.com/v1/responses
|
||
- https://api.openai.com/v1/realtime/sessions
|
||
- https://api.openai.com/v1/embeddings
|
||
- https://api.openai.com/v1/audio/speech
|
||
- https://api.openai.com/v1/audio/transcriptions
|
||
- https://api.openai.com/v1/images/generations
|
||
|
||
## 文本 / 视觉 / 推理模型
|
||
|
||
- 模型: `gpt-5.2`, `gpt-5.2-pro`, `gpt-5.1`, `gpt-5`, `gpt-5-pro`, `gpt-5-mini`, `gpt-5-nano`, `gpt-4.1`, `gpt-4.1-mini`, `gpt-4.1-nano`, `gpt-4o`, `gpt-4o-mini`, `o3`, `o3-pro`, `o3-mini`, `o4-mini`
|
||
|
||
| 字段 | 当前值 | 建议值 | 结论 | 依据/说明 |
|
||
|---|---|---|---|---|
|
||
| `defaultTemperature` | `1` | `1` | 保持 | OpenAI `/v1/responses` 官方示例在请求省略 `temperature` 时,响应对象返回 `temperature: 1.0`。 |
|
||
| `defaultTopP` | `1` | `1` | 保持 | OpenAI `/v1/responses` 官方示例在请求省略 `top_p` 时,响应对象返回 `top_p: 1.0`。 |
|
||
|
||
## Realtime 模型
|
||
|
||
- 模型: `gpt-4o-realtime`, `gpt-4o-realtime-preview`
|
||
|
||
| 字段 | 当前值 | 建议值 | 结论 | 依据/说明 |
|
||
|---|---|---|---|---|
|
||
| `defaultTemperature` | `0.7` | `0.7` | 保持 | OpenAI `/v1/realtime/sessions` 官方示例在请求未显式设置 `temperature` 时,返回的 session 对象包含 `temperature: 0.7`。 |
|
||
| `defaultTopP` | `null` | `null` | 保持 | OpenAI `/v1/realtime/sessions` 官方示例和返回对象未公开 `top_p` 默认值;JSON 不应伪装成官方默认值。 |
|
||
|
||
## Embedding / TTS / ASR / Image 模型
|
||
|
||
- 模型: `text-embedding-3-small`, `text-embedding-3-large`, `tts-1`, `tts-1-hd`, `whisper-1`, `dall-e-3`
|
||
|
||
| 字段 | 当前值 | 建议值 | 结论 | 依据/说明 |
|
||
|---|---|---|---|---|
|
||
| `defaultTemperature` | `null` | `null` | 保持 | OpenAI `embeddings`、`audio/speech`、`images/generations` 等官方接口未给这些模型定义通用聊天采样默认值;按项目规则记为不适用。`whisper-1` 所属 `audio/transcriptions` 虽有任务参数,但不应作为 provider 级模型默认采样值。 |
|
||
| `defaultTopP` | `null` | `null` | 保持 | OpenAI `embeddings`、`audio/speech`、`audio/transcriptions`、`images/generations` 官方接口未给这些模型定义通用聊天采样默认值;按项目规则记为不适用。 |
|