Files
config-center/compute/model-specs/cohere.json
Johnson-LYS e84edec964 feat(model-specs): 新增模型规格库——跨 provider 模型参数统一维护(presetDataVersion 54→58)
* feat(model-specs): 新增模型规格库与 schema 契约

- compute/model-specs/:按厂商维护模型内在参数(上下文窗口/最大输出/能力/serviceType/默认温度,不含价签)
- schemas/model-spec.schema.json:Draft-07 契约,spec 允许 null(新文件不影响老客户端 frozen 契约)
- scripts/validate.mjs:pickSchemaKey 纳入 model-specs 校验
- manifest.presetDataVersion 54→55

* feat(model-specs): 新增小米 MiMo 系列模型规格;bump presetDataVersion 55→56

* feat(model-specs): 补全全量模型规格;presetDataVersion 56→57

* feat(model-specs): 新增 releasedAt/retiredAt 时间戳字段;补充 mimo 退役日期
2026-06-01 19:45:14 +08:00

58 lines
2.0 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"description": "Cohere 系列模型规格。参数来源config-center compute/providers/cohere.json。包含对话、Embedding 和 Rerank 三类服务。",
"specs": [
{
"id": "command-a-03-2025",
"displayName": "Command A",
"family": "command-a",
"match": { "exact": ["command-a-03-2025"], "patterns": ["command-a*"] },
"spec": {
"contextWindow": 256000,
"maxOutputTokens": 8000,
"capabilities": ["chat", "reasoning", "code", "vision", "tool_use", "rag", "long_context"],
"serviceType": ["chat"],
"defaultTemperature": 0.3,
"description": "Cohere 旗舰对话模型256K 上下文,擅长 RAG 和工具调用"
}
},
{
"id": "command-r7b-12-2024",
"displayName": "Command R7B",
"family": "command-r7b",
"match": { "exact": ["command-r7b-12-2024"], "patterns": ["command-r7b*"] },
"spec": {
"contextWindow": 128000,
"maxOutputTokens": 4000,
"capabilities": ["chat", "reasoning", "tool_use", "rag", "fast"],
"serviceType": ["fast"],
"defaultTemperature": 0.3,
"description": "Cohere 小型高速对话模型,适合高吞吐、低延迟场景"
}
},
{
"id": "embed-v4.0",
"displayName": "Embed V4",
"family": "embed-v4",
"match": { "exact": ["embed-v4.0"], "patterns": ["embed-v4*"] },
"spec": {
"contextWindow": 128000,
"capabilities": ["text_embedding", "multilingual"],
"serviceType": ["embedding"],
"description": "Cohere 最新 Embedding 模型128K 上下文,多语言支持"
}
},
{
"id": "rerank-v3.5",
"displayName": "Rerank V3.5",
"family": "rerank-v3",
"match": { "exact": ["rerank-v3.5"], "patterns": ["rerank-v3*"] },
"spec": {
"contextWindow": 4096,
"capabilities": ["rerank", "semantic_reranking"],
"serviceType": ["rerank"],
"description": "Cohere 语义重排序模型,用于检索结果精排"
}
}
]
}