feat: 新增语音/图像识别能力(媒体会话、识别接口与路由)
识别只返回文本,不投递、不落库:语音支持 mp3/aac/wav/pcm,WebM 先按文件头识别再转 PCM;图片走 qwen-vl-ocr。新增 /health/ai/asr 与 /health/ai/ocr,登录后按用户限流 20 次/分钟,并对 /health/ai/ 前缀放宽请求体上限。
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
"test": "node --test test/*.test.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@audio/decode-webm": "^1.6.1",
|
||||
"@langchain/anthropic": "^1.5.9",
|
||||
"@langchain/core": "^1.2.9",
|
||||
"@langchain/deepseek": "^1.1.11",
|
||||
|
||||
Reference in New Issue
Block a user