Files
config-center/compute/providers/perplexity.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

73 lines
1.8 KiB
JSON

{
"id": "provider-perplexity-001",
"provider": "perplexity",
"label": "Perplexity Sonar",
"baseUrl": "https://api.perplexity.ai",
"apiFormat": "openai-completions",
"apiKeyRef": "perplexity",
"apiKeyVerified": false,
"enabled": false,
"status": "unconfigured",
"priceCurrency": "USD",
"services": ["chat"],
"models": [
{
"modelName": "sonar-pro",
"displayName": "Sonar Pro",
"serviceType": ["chat"],
"description": "Perplexity 旗舰搜索增强模型,内置实时联网搜索和引用",
"contextWindow": 200000,
"maxOutputTokens": 8192,
"capabilities": [
"chat",
"web_search",
"reasoning",
"citation"
],
"inputPrice": 3.00,
"outputPrice": 15.00,
"defaultTemperature": 1,
"defaultTopP": 1,
"extra": {}
},
{
"modelName": "sonar-reasoning-pro",
"displayName": "Sonar Reasoning Pro",
"serviceType": ["chat"],
"description": "Perplexity 深度推理模型,内置联网搜索和深度思考",
"contextWindow": 128000,
"maxOutputTokens": 8192,
"capabilities": [
"chat",
"web_search",
"reasoning",
"deep_thinking"
],
"inputPrice": 2.00,
"outputPrice": 8.00,
"defaultTemperature": 1,
"defaultTopP": 1,
"extra": {}
},
{
"modelName": "sonar",
"displayName": "Sonar",
"serviceType": ["chat"],
"description": "Perplexity 轻量搜索模型,低成本联网搜索",
"contextWindow": 128000,
"maxOutputTokens": 4096,
"capabilities": [
"chat",
"web_search",
"citation",
"fast"
],
"inputPrice": 1.00,
"outputPrice": 1.00,
"defaultTemperature": 1,
"defaultTopP": 1,
"extra": {}
}
]
}