mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-12-05 20:00:22 +08:00
fix(compute): 语音识别预置可用化并更新预设数据至 v135 (#128)
百炼 paraformer-v2 与本地 Whisper 的预置没有语音协议,解析报 missing_model_profile,用户选了也用不了。 - 百炼预置改用 fun-asr-realtime,paraformer-v2 只接受公网 URL,移出接入面并写入 tombstones,规格保留。 - 本地 Whisper 绑定独立规格 whisper-large-v3,声明 credentialMode: none;该字段只进 V1 投影,已发布客户端的 V2 连接 Schema 不接受。 - OpenAI 新增 gpt-transcribe,whisper-1 记录 2027-02-26 停服并暂留。 - 同步官方来源、模型与平台指纹、适配与规格决策记录、来源缺口清单和回归测试。
This commit is contained in:
47 files changed
+1512
-409
No files matched your search
+218
-87
@@ -5238,6 +5238,52 @@
|
||||
"sourceFile": "compute/model-specs/openai.json"
|
||||
}
|
||||
},
|
||||
{
|
||||
"modelRef": "openai:gpt-transcribe",
|
||||
"identity": {
|
||||
"vendor": "openai",
|
||||
"canonicalModelId": "gpt-transcribe"
|
||||
},
|
||||
"facts": {
|
||||
"capabilities": [
|
||||
"asr",
|
||||
"multilingual"
|
||||
],
|
||||
"serviceType": [
|
||||
"asr"
|
||||
],
|
||||
"description": "OpenAI 推荐的录音转写模型,支持多语言音频,自动识别语言",
|
||||
"constraints": {
|
||||
"modelOrigin": {
|
||||
"vendor": "openai",
|
||||
"canonicalModelId": "gpt-transcribe",
|
||||
"family": "gpt-transcribe"
|
||||
},
|
||||
"speech": {
|
||||
"protocol": "openai-audio-transcriptions",
|
||||
"protocolVersion": "1",
|
||||
"modes": [
|
||||
"batch"
|
||||
],
|
||||
"inputFormats": [
|
||||
"webm",
|
||||
"wav",
|
||||
"mp3"
|
||||
],
|
||||
"languageHints": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"routing": {},
|
||||
"lifecycle": {
|
||||
"status": "active",
|
||||
"checkedAt": "2026-11-01"
|
||||
},
|
||||
"metadata": {
|
||||
"recordedExtra": {},
|
||||
"sourceFile": "compute/model-specs/openai.json"
|
||||
}
|
||||
},
|
||||
{
|
||||
"modelRef": "openai:whisper-1",
|
||||
"identity": {
|
||||
@@ -5255,6 +5301,54 @@
|
||||
"description": "OpenAI 通用语音识别"
|
||||
},
|
||||
"routing": {},
|
||||
"lifecycle": {
|
||||
"status": "deprecated",
|
||||
"retiredAt": "2027-02-26",
|
||||
"evidence": "https://developers.openai.com/api/docs/deprecations",
|
||||
"checkedAt": "2026-11-01"
|
||||
},
|
||||
"metadata": {
|
||||
"recordedExtra": {},
|
||||
"sourceFile": "compute/model-specs/openai.json"
|
||||
}
|
||||
},
|
||||
{
|
||||
"modelRef": "openai:whisper-large-v3",
|
||||
"identity": {
|
||||
"vendor": "openai",
|
||||
"canonicalModelId": "whisper-large-v3"
|
||||
},
|
||||
"facts": {
|
||||
"capabilities": [
|
||||
"asr",
|
||||
"multilingual"
|
||||
],
|
||||
"serviceType": [
|
||||
"asr"
|
||||
],
|
||||
"description": "OpenAI 开放权重的 Whisper large-v3,需自行部署兼容 OpenAI 转写接口的服务",
|
||||
"constraints": {
|
||||
"modelOrigin": {
|
||||
"vendor": "openai",
|
||||
"canonicalModelId": "whisper-large-v3",
|
||||
"family": "whisper"
|
||||
},
|
||||
"speech": {
|
||||
"protocol": "openai-audio-transcriptions",
|
||||
"protocolVersion": "1",
|
||||
"modes": [
|
||||
"batch"
|
||||
],
|
||||
"inputFormats": [
|
||||
"webm",
|
||||
"wav",
|
||||
"mp3"
|
||||
],
|
||||
"languageHints": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"routing": {},
|
||||
"lifecycle": {
|
||||
"status": "unknown"
|
||||
},
|
||||
@@ -6819,6 +6913,58 @@
|
||||
"sourceFile": "compute/model-specs/qwen.json"
|
||||
}
|
||||
},
|
||||
{
|
||||
"modelRef": "qwen:fun-asr-realtime",
|
||||
"identity": {
|
||||
"vendor": "qwen",
|
||||
"canonicalModelId": "fun-asr-realtime"
|
||||
},
|
||||
"facts": {
|
||||
"capabilities": [
|
||||
"asr",
|
||||
"chinese_optimized",
|
||||
"multilingual"
|
||||
],
|
||||
"serviceType": [
|
||||
"asr"
|
||||
],
|
||||
"description": "通义 Fun-ASR 实时语音识别,WebSocket 流式转写",
|
||||
"constraints": {
|
||||
"modelOrigin": {
|
||||
"vendor": "alibaba",
|
||||
"canonicalModelId": "fun-asr-realtime",
|
||||
"family": "fun-asr-realtime"
|
||||
},
|
||||
"speech": {
|
||||
"protocol": "dashscope-websocket-asr",
|
||||
"protocolVersion": "1",
|
||||
"modes": [
|
||||
"batch",
|
||||
"streaming"
|
||||
],
|
||||
"inputFormats": [
|
||||
"webm",
|
||||
"wav",
|
||||
"pcm",
|
||||
"mp3"
|
||||
],
|
||||
"sampleRates": [
|
||||
16000
|
||||
],
|
||||
"languageHints": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"routing": {},
|
||||
"lifecycle": {
|
||||
"status": "active",
|
||||
"checkedAt": "2026-11-01"
|
||||
},
|
||||
"metadata": {
|
||||
"recordedExtra": {},
|
||||
"sourceFile": "compute/model-specs/qwen.json"
|
||||
}
|
||||
},
|
||||
{
|
||||
"modelRef": "qwen:paraformer-v2",
|
||||
"identity": {
|
||||
@@ -6833,7 +6979,7 @@
|
||||
"serviceType": [
|
||||
"asr"
|
||||
],
|
||||
"description": "通义语音识别"
|
||||
"description": "通义录音文件异步转写,只接受公网可访问的音频 URL;客户端未适配"
|
||||
},
|
||||
"routing": {},
|
||||
"lifecycle": {
|
||||
@@ -12154,7 +12300,8 @@
|
||||
"qwen-plus",
|
||||
"qwen-turbo",
|
||||
"qwen3-max",
|
||||
"qwen3-max-trans"
|
||||
"qwen3-max-trans",
|
||||
"paraformer-v2"
|
||||
]
|
||||
},
|
||||
"models": [
|
||||
@@ -13091,58 +13238,44 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"apiModelId": "paraformer-v2",
|
||||
"modelRef": "qwen:paraformer-v2",
|
||||
"apiModelId": "fun-asr-realtime",
|
||||
"modelRef": "qwen:fun-asr-realtime",
|
||||
"binding": {
|
||||
"kind": "exact",
|
||||
"reason": "exact-id-or-declared-alias"
|
||||
"reason": "official-exact-model-identity"
|
||||
},
|
||||
"overrides": {},
|
||||
"request": {},
|
||||
"billing": [],
|
||||
"billing": [
|
||||
{
|
||||
"sourceKey": "extra.pricingNotes",
|
||||
"amount": "华北2(北京)按输入音频秒数计费 0.00033 元/秒,输出不计费。",
|
||||
"currency": "CNY",
|
||||
"unit": "annotation",
|
||||
"verification": "officially-verified-access-contract"
|
||||
}
|
||||
],
|
||||
"lifecycle": {
|
||||
"status": "unknown"
|
||||
"status": "active"
|
||||
},
|
||||
"metadata": {
|
||||
"attributes": {
|
||||
"displayName": "Paraformer V2",
|
||||
"description": "通义语音识别"
|
||||
"displayName": "Fun-ASR Realtime",
|
||||
"description": "通义 Fun-ASR 实时语音识别,支持听写与音频文件转写"
|
||||
},
|
||||
"recordedExtra": {
|
||||
"maxAudioLength": 3600,
|
||||
"supportedInputFormats": [
|
||||
"pcm",
|
||||
"wav",
|
||||
"mp3",
|
||||
"pcm",
|
||||
"ogg"
|
||||
"opus",
|
||||
"speex",
|
||||
"aac",
|
||||
"amr"
|
||||
],
|
||||
"streamingSupported": true
|
||||
},
|
||||
"sourceRecord": "compute/providers/dashscope.json#paraformer-v2",
|
||||
"adapterReadiness": {
|
||||
"checkedAt": "2026-10-03",
|
||||
"evidence": [
|
||||
{
|
||||
"path": "packages/agent-service/src/speech/asr-adapter.ts",
|
||||
"assertion": "recognize/synthesize通过resolveSpeechCompute解析model profile与adapter,非直接按Provider.apiFormat发送。"
|
||||
},
|
||||
{
|
||||
"path": "packages/agent-service/src/speech/speech-resolver.ts",
|
||||
"assertion": "resolveProfile仅显式modelOrigin/speech或兼容表;无profile且无兼容命中立即fail missing_model_profile。"
|
||||
},
|
||||
{
|
||||
"path": "packages/speech-core/src/model-compatibility.ts",
|
||||
"assertion": "逐精确ID匹配:tts-1/hd、whisper-1、mimo-v2.5tts/asr、cosyvoice-v2/v3前缀、fun-asr-realtime前缀;本行均未命中,无provider/local-whisper fallback。"
|
||||
}
|
||||
],
|
||||
"floorDecision": "没有实现/正式发布证据,不填猜测版本。候选展示保留,出站及自动路由禁止,适配验收后再解除。"
|
||||
}
|
||||
},
|
||||
"protocol": {
|
||||
"state": "unsupported",
|
||||
"reason": "missing-speech-profile-and-compatibility",
|
||||
"apiFormat": "openai-completions",
|
||||
"adapterId": "required-adapter:asr:dashscope"
|
||||
"sourceRecord": "compute/providers/dashscope.json#fun-asr-realtime"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -15539,30 +15672,12 @@
|
||||
"models": [
|
||||
{
|
||||
"apiModelId": "whisper-large-v3",
|
||||
"modelRef": null,
|
||||
"modelRef": "openai:whisper-large-v3",
|
||||
"binding": {
|
||||
"kind": "access-local",
|
||||
"reason": "本地开源安装与云whisper-1不是同一合同;保留本地安装识别,不继承云端接口/额度。"
|
||||
},
|
||||
"overrides": {
|
||||
"serviceType": {
|
||||
"value": [
|
||||
"asr"
|
||||
],
|
||||
"reason": "preserved-access-contract",
|
||||
"evidence": "compute/providers/local-whisper.json#whisper-large-v3",
|
||||
"verification": "inherited-not-reverified"
|
||||
},
|
||||
"capabilities": {
|
||||
"value": [
|
||||
"asr",
|
||||
"multilingual"
|
||||
],
|
||||
"reason": "preserved-access-contract",
|
||||
"evidence": "compute/providers/local-whisper.json#whisper-large-v3",
|
||||
"verification": "inherited-not-reverified"
|
||||
}
|
||||
"kind": "exact",
|
||||
"reason": "本地部署的开放权重 large-v3 精确身份;不继承云端 whisper-1 的接口与额度。"
|
||||
},
|
||||
"overrides": {},
|
||||
"request": {},
|
||||
"billing": [],
|
||||
"lifecycle": {
|
||||
@@ -15584,32 +15699,7 @@
|
||||
],
|
||||
"streamingSupported": true
|
||||
},
|
||||
"sourceRecord": "compute/providers/local-whisper.json#whisper-large-v3",
|
||||
"automaticRouting": false,
|
||||
"adapterReadiness": {
|
||||
"checkedAt": "2026-10-03",
|
||||
"evidence": [
|
||||
{
|
||||
"path": "packages/agent-service/src/speech/asr-adapter.ts",
|
||||
"assertion": "recognize/synthesize通过resolveSpeechCompute解析model profile与adapter,非直接按Provider.apiFormat发送。"
|
||||
},
|
||||
{
|
||||
"path": "packages/agent-service/src/speech/speech-resolver.ts",
|
||||
"assertion": "resolveProfile仅显式modelOrigin/speech或兼容表;无profile且无兼容命中立即fail missing_model_profile。"
|
||||
},
|
||||
{
|
||||
"path": "packages/speech-core/src/model-compatibility.ts",
|
||||
"assertion": "逐精确ID匹配:tts-1/hd、whisper-1、mimo-v2.5tts/asr、cosyvoice-v2/v3前缀、fun-asr-realtime前缀;本行均未命中,无provider/local-whisper fallback。"
|
||||
}
|
||||
],
|
||||
"floorDecision": "没有实现/正式发布证据,不填猜测版本。候选展示保留,出站及自动路由禁止,适配验收后再解除。"
|
||||
}
|
||||
},
|
||||
"protocol": {
|
||||
"state": "unsupported",
|
||||
"reason": "missing-speech-profile-and-compatibility",
|
||||
"apiFormat": "openai-completions",
|
||||
"adapterId": "required-adapter:asr:local-whisper"
|
||||
"sourceRecord": "compute/providers/local-whisper.json#whisper-large-v3"
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -21351,6 +21441,47 @@
|
||||
"sourceRecord": "compute/providers/openai.json#tts-1-hd"
|
||||
}
|
||||
},
|
||||
{
|
||||
"apiModelId": "gpt-transcribe",
|
||||
"modelRef": "openai:gpt-transcribe",
|
||||
"binding": {
|
||||
"kind": "exact",
|
||||
"reason": "official-exact-model-identity"
|
||||
},
|
||||
"overrides": {},
|
||||
"request": {},
|
||||
"billing": [
|
||||
{
|
||||
"sourceKey": "extra.pricingNotes",
|
||||
"amount": "OpenAI lists this model at $0.0045 per minute of transcription audio.",
|
||||
"currency": "USD",
|
||||
"unit": "annotation",
|
||||
"verification": "officially-verified-access-contract"
|
||||
}
|
||||
],
|
||||
"lifecycle": {
|
||||
"status": "active"
|
||||
},
|
||||
"metadata": {
|
||||
"attributes": {
|
||||
"displayName": "GPT Transcribe",
|
||||
"description": "OpenAI 推荐的录音转写模型,按音频分钟计费,接替将于 2027-02-26 停服的 Whisper"
|
||||
},
|
||||
"recordedExtra": {
|
||||
"supportedInputFormats": [
|
||||
"mp3",
|
||||
"mp4",
|
||||
"mpeg",
|
||||
"mpga",
|
||||
"m4a",
|
||||
"wav",
|
||||
"webm"
|
||||
],
|
||||
"streamingSupported": true
|
||||
},
|
||||
"sourceRecord": "compute/providers/openai.json#gpt-transcribe"
|
||||
}
|
||||
},
|
||||
{
|
||||
"apiModelId": "whisper-1",
|
||||
"modelRef": "openai:whisper-1",
|
||||
@@ -21376,7 +21507,7 @@
|
||||
"metadata": {
|
||||
"attributes": {
|
||||
"displayName": "Whisper",
|
||||
"description": "通用语音识别"
|
||||
"description": "通用语音识别。OpenAI 已标记弃用,将于 2027-02-26 停服,新配置请选 GPT Transcribe"
|
||||
},
|
||||
"recordedExtra": {
|
||||
"maxAudioLength": 600,
|
||||
@@ -31500,5 +31631,5 @@
|
||||
"authority": "catalog/v2/catalog.json",
|
||||
"verification": "migration-preserves-existing-evidence"
|
||||
},
|
||||
"digest": "193fc9bb6ebb7890044d59cf06d5ce01a61d7518731b26ee06d5696ed660f823"
|
||||
"digest": "d007fc910cff2b732270071f0f803a1625c3800e5e98abe360e0334dc5a2d719"
|
||||
}
|
||||
Reference in new issue
Block a user