mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-10-21 08:44:09 +08:00
feat: 建立版本化模型目录与规范字段生成链路 (#116)
This commit is contained in:
35
compute/v2/compatibility/providers/ollama.json
Normal file
35
compute/v2/compatibility/providers/ollama.json
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"id": "provider-local-ollama",
|
||||
"provider": "ollama",
|
||||
"label": "本地 Ollama",
|
||||
"baseUrl": "http://localhost:11434/v1",
|
||||
"apiFormat": "openai-completions",
|
||||
"apiKeyRef": "",
|
||||
"apiKeyVerified": false,
|
||||
"enabled": false,
|
||||
"status": "unconfigured",
|
||||
"priceCurrency": "USD",
|
||||
"services": [
|
||||
"chat"
|
||||
],
|
||||
"models": [
|
||||
{
|
||||
"modelName": "llama3.1:70b",
|
||||
"displayName": "Llama 3.1 70B",
|
||||
"serviceType": [
|
||||
"chat"
|
||||
],
|
||||
"description": "本地运行的 Llama 3.1 70B",
|
||||
"contextWindow": 131072,
|
||||
"maxOutputTokens": 8192,
|
||||
"capabilities": [
|
||||
"chat",
|
||||
"code",
|
||||
"reasoning"
|
||||
],
|
||||
"defaultTemperature": 0.8,
|
||||
"defaultTopP": 0.9,
|
||||
"extra": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user