mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-06-06 09:30:51 +08:00
audit model field values against official docs
This commit is contained in:
27
字段取值表/google/未确认字段报告.md
Normal file
27
字段取值表/google/未确认字段报告.md
Normal file
@@ -0,0 +1,27 @@
|
||||
# 未确认字段报告 - compute/providers/google.json
|
||||
|
||||
- provider: `google`
|
||||
- generatedAt: `2026-04-23T15:11:31.654Z`
|
||||
|
||||
## gemini-2.5-pro
|
||||
|
||||
- `capabilities`: ZenMux给出reasoning=true,但capabilities是项目语义字段,需官方能力说明复核
|
||||
- `defaultTemperature`: 官方通常不提供默认采样参数
|
||||
- `defaultTopP`: 官方通常不提供默认采样参数
|
||||
- `extra`: 扩展字段为本地schema,需业务侧定义
|
||||
|
||||
## gemini-2.5-flash
|
||||
|
||||
- `capabilities`: ZenMux给出reasoning=true,但capabilities是项目语义字段,需官方能力说明复核
|
||||
- `defaultTemperature`: 官方通常不提供默认采样参数
|
||||
- `defaultTopP`: 官方通常不提供默认采样参数
|
||||
- `extra`: 扩展字段为本地schema,需业务侧定义
|
||||
|
||||
## text-embedding-005
|
||||
|
||||
- `modelName`: ZenMux无稳定匹配
|
||||
- `inputPrice`: ZenMux无稳定价格可用,需官方价格页复核
|
||||
- `outputPrice`: ZenMux无稳定价格可用,需官方价格页复核
|
||||
- `defaultTemperature`: 官方通常不提供默认采样参数
|
||||
- `defaultTopP`: 官方通常不提供默认采样参数
|
||||
- `extra`: 扩展字段为本地schema,需业务侧定义
|
||||
72
字段取值表/google/详细字段取值表.md
Normal file
72
字段取值表/google/详细字段取值表.md
Normal file
@@ -0,0 +1,72 @@
|
||||
# 详细字段取值表 - compute/providers/google.json
|
||||
|
||||
- provider: `google`
|
||||
- priceCurrency: `USD`
|
||||
- generatedAt: `2026-04-23T15:11:31.654Z`
|
||||
|
||||
## 来源
|
||||
|
||||
- https://ai.google.dev/gemini-api/docs/models/gemini
|
||||
- https://cloud.google.com/vertex-ai/generative-ai/docs/embeddings/get-text-embeddings
|
||||
- https://ai.google.dev/pricing
|
||||
- https://zenmux.ai/models
|
||||
- https://zenmux.ai/api/v1/models
|
||||
|
||||
## gemini-2.5-pro
|
||||
|
||||
- ZenMux匹配级别: `exact`
|
||||
- ZenMux命中: `google/gemini-2.5-pro`
|
||||
- ZenMux候选: `google/gemini-2.5-pro`
|
||||
|
||||
| 字段 | 当前值 | 建议值 | 结论 | 依据/说明 |
|
||||
|---|---|---|---|---|
|
||||
| `modelName` | `"gemini-2.5-pro"` | `"gemini-2.5-pro"` | 保持 | ZenMux匹配(exact): google/gemini-2.5-pro |
|
||||
| `displayName` | `"Gemini 2.5 Pro"` | `"Gemini 2.5 Pro"` | 保持 | 展示字段,需按产品命名策略 |
|
||||
| `serviceType` | `["chat"]` | `["chat"]` | 保持 | 服务路由字段,优先本项目约定 |
|
||||
| `contextWindow` | `1048576` | `1048576` | 保持 | Google 官方 Gemini models 页 Token limits 列明输入上限 `1,048,576` |
|
||||
| `maxOutputTokens` | `65536` | `65536` | 保持 | Google 官方 Gemini models 页 Token limits 列明输出上限 `65,536` |
|
||||
| `inputPrice` | `1.25` | `1.25` | 保持 | ZenMux(google/gemini-2.5-pro) prompt=1.25 USD/MTokens |
|
||||
| `outputPrice` | `10` | `10` | 保持 | ZenMux(google/gemini-2.5-pro) completion=10 USD/MTokens |
|
||||
| `capabilities` | `["chat","reasoning","code","vision","ultra_long_context","tool_use"]` | `["chat","reasoning","code","vision","ultra_long_context","tool_use"]` | 待确认 | ZenMux给出reasoning=true,但capabilities是项目语义字段,需官方能力说明复核 |
|
||||
| `defaultTemperature` | `1` | `1` | 待确认 | 官方通常不提供默认采样参数 |
|
||||
| `defaultTopP` | `0.95` | `0.95` | 待确认 | 官方通常不提供默认采样参数 |
|
||||
| `extra` | `{}` | `{}` | 待确认 | 扩展字段为本地schema,需业务侧定义 |
|
||||
|
||||
## gemini-2.5-flash
|
||||
|
||||
- ZenMux匹配级别: `exact`
|
||||
- ZenMux命中: `google/gemini-2.5-flash`
|
||||
- ZenMux候选: `google/gemini-2.5-flash`
|
||||
|
||||
| 字段 | 当前值 | 建议值 | 结论 | 依据/说明 |
|
||||
|---|---|---|---|---|
|
||||
| `modelName` | `"gemini-2.5-flash"` | `"gemini-2.5-flash"` | 保持 | ZenMux匹配(exact): google/gemini-2.5-flash |
|
||||
| `displayName` | `"Gemini 2.5 Flash"` | `"Gemini 2.5 Flash"` | 保持 | 展示字段,需按产品命名策略 |
|
||||
| `serviceType` | `["chat"]` | `["chat"]` | 保持 | 服务路由字段,优先本项目约定 |
|
||||
| `contextWindow` | `1048576` | `1048576` | 保持 | Google 官方 Gemini models 页 Token limits 列明输入上限 `1,048,576` |
|
||||
| `maxOutputTokens` | `65536` | `65536` | 保持 | Google 官方 Gemini models 页 Token limits 列明输出上限 `65,536` |
|
||||
| `inputPrice` | `0.3` | `0.3` | 保持 | ZenMux(google/gemini-2.5-flash) prompt=0.3 USD/MTokens |
|
||||
| `outputPrice` | `2.5` | `2.5` | 保持 | ZenMux(google/gemini-2.5-flash) completion=2.5 USD/MTokens |
|
||||
| `capabilities` | `["chat","reasoning","code","vision","ultra_long_context","tool_use","fast"]` | `["chat","reasoning","code","vision","ultra_long_context","tool_use","fast"]` | 待确认 | ZenMux给出reasoning=true,但capabilities是项目语义字段,需官方能力说明复核 |
|
||||
| `defaultTemperature` | `1` | `1` | 待确认 | 官方通常不提供默认采样参数 |
|
||||
| `defaultTopP` | `0.95` | `0.95` | 待确认 | 官方通常不提供默认采样参数 |
|
||||
| `extra` | `{}` | `{}` | 待确认 | 扩展字段为本地schema,需业务侧定义 |
|
||||
|
||||
## text-embedding-005
|
||||
|
||||
- ZenMux匹配级别: `none`
|
||||
- ZenMux候选: (none)
|
||||
|
||||
| 字段 | 当前值 | 建议值 | 结论 | 依据/说明 |
|
||||
|---|---|---|---|---|
|
||||
| `modelName` | `"text-embedding-005"` | `"text-embedding-005"` | 待确认 | ZenMux无稳定匹配 |
|
||||
| `displayName` | `"Text Embedding 005"` | `"Text Embedding 005"` | 保持 | 展示字段,需按产品命名策略 |
|
||||
| `serviceType` | `["embedding"]` | `["embedding"]` | 保持 | 服务路由字段,优先本项目约定 |
|
||||
| `contextWindow` | `2048` | `2048` | 保持 | Google Cloud Vertex AI Embeddings 文档 https://cloud.google.com/vertex-ai/generative-ai/docs/embeddings/get-text-embeddings 直接列出 `text-embedding-005` 的 `Max sequence length` 为 `2048 tokens` |
|
||||
| `maxOutputTokens` | `0` | `0` | 保持 | 同一官方 Vertex AI 文档 https://cloud.google.com/vertex-ai/generative-ai/docs/embeddings/get-text-embeddings 仅定义输出维度与最大序列长度,`text-embedding-005` 输出为向量而非 completion tokens,当前以 `0` 记录为不适用 |
|
||||
| `inputPrice` | `0.1` | `0.1` | 待确认 | ZenMux无稳定价格可用,需官方价格页复核 |
|
||||
| `outputPrice` | (缺省) | (缺省) | 待确认 | ZenMux无稳定价格可用,需官方价格页复核 |
|
||||
| `capabilities` | `["text_embedding","semantic_search"]` | `["text_embedding","semantic_search"]` | 保持 | ZenMux无明确能力映射差异 |
|
||||
| `defaultTemperature` | `1` | `1` | 待确认 | 官方通常不提供默认采样参数 |
|
||||
| `defaultTopP` | (缺省) | (缺省) | 待确认 | 官方通常不提供默认采样参数 |
|
||||
| `extra` | `{}` | `{}` | 待确认 | 扩展字段为本地schema,需业务侧定义 |
|
||||
15
字段取值表/google/逐条处置记录-2026-04-23.md
Normal file
15
字段取值表/google/逐条处置记录-2026-04-23.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# google none 条目处置记录(2026-04-23,第2轮)
|
||||
|
||||
依据:
|
||||
- Google 官方模型文档(Gemini API / Vertex AI)中 `text-embedding-005` 最大输入长度为 `2048` tokens。
|
||||
- https://cloud.google.com/vertex-ai/generative-ai/docs/embeddings/get-text-embeddings
|
||||
|
||||
已执行:
|
||||
1. `text-embedding-005`:新增 `contextWindow: 2048`
|
||||
|
||||
未改项(说明):
|
||||
- `maxOutputTokens` / `outputPrice` 保持缺省:Embedding 仅输入计费,无生成输出 token 口径。
|
||||
|
||||
## 本轮 google 落库结果
|
||||
|
||||
- JSON 变更:1 模型 / 1 字段
|
||||
Reference in New Issue
Block a user