Files
config-center/compute/providers/cohere.json
yi-ge e2f4a6935c refactor: defaultTemperature/defaultTopP 从 Provider 级别迁移到 Model 级别
- 删除所有 Provider 顶层的 defaultTemperature / defaultTopP
- 为所有对话类模型添加 model 级别的推荐温度参数(基于官方文档)
- volcengine:将 extra 内温度参数提升到模型顶层正式字段
- presetDataVersion 7→8

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 18:57:13 +08:00

67 lines
1.7 KiB
JSON
Raw Permalink 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.
{
"id": "provider-cohere-001",
"provider": "cohere",
"label": "Cohere",
"baseUrl": "https://api.cohere.ai/compatibility/v1",
"apiFormat": "openai-completions",
"apiKeyRef": "cohere",
"apiKeyVerified": false,
"enabled": false,
"status": "unconfigured",
"priceCurrency": "USD",
"services": ["chat", "embedding", "rerank"],
"models": [
{
"modelName": "command-a-03-2025",
"displayName": "Command A",
"serviceType": ["chat"],
"description": "Cohere 旗舰对话模型262K 上下文,擅长 RAG 和工具调用",
"contextWindow": 262144,
"maxOutputTokens": 8192,
"capabilities": [
"chat",
"reasoning",
"code",
"tool_use",
"rag",
"long_context"
],
"inputPrice": 2.50,
"outputPrice": 10.00,
"defaultTemperature": 1,
"defaultTopP": 1,
"extra": {}
},
{
"modelName": "embed-v4.0",
"displayName": "Embed V4",
"serviceType": ["embedding"],
"description": "Cohere 最新 Embedding 模型131K 上下文,多语言支持",
"contextWindow": 131072,
"maxOutputTokens": 0,
"capabilities": [
"text_embedding",
"multilingual"
],
"inputPrice": 0.12,
"outputPrice": 0,
"extra": {}
},
{
"modelName": "rerank-v3.5",
"displayName": "Rerank V3.5",
"serviceType": ["rerank"],
"description": "Cohere 语义重排序模型,用于检索结果精排",
"contextWindow": 0,
"maxOutputTokens": 0,
"capabilities": [
"rerank",
"semantic_reranking"
],
"inputPrice": 2.00,
"outputPrice": 0,
"extra": {}
}
]
}