2026-03-12 12:47:56 +08:00
|
|
|
{
|
|
|
|
|
"name": "voice-chat-server",
|
|
|
|
|
"version": "1.0.0",
|
|
|
|
|
"description": "混合编排语音通话后端服务",
|
|
|
|
|
"main": "app.js",
|
|
|
|
|
"scripts": {
|
|
|
|
|
"start": "node app.js",
|
|
|
|
|
"dev": "node --watch app.js"
|
|
|
|
|
},
|
|
|
|
|
"dependencies": {
|
|
|
|
|
"@volcengine/openapi": "^1.36.0",
|
|
|
|
|
"axios": "^1.6.2",
|
|
|
|
|
"cors": "^2.8.5",
|
|
|
|
|
"crypto-js": "^4.2.0",
|
|
|
|
|
"dotenv": "^16.6.1",
|
|
|
|
|
"express": "^4.18.2",
|
feat(kb): VikingDB纯检索+重排+Redis上下文+全库搜索+别名扩展+KB保护窗口+RAG语气引导
- 新增 kbRetriever.js: VikingDB search_knowledge 纯检索替代 Ark chat/completions, doubao-seed-rerank 重排, RAG payload 语气引导缓解音色差异
- 新增 redisClient.js: Redis 连接管理 + 5轮对话历史 + KB缓存双写
- toolExecutor.js: 产品别名扩展25条, 全库检索topK=25, 检索阈值0.01, 精简 buildDeterministicKnowledgeQuery
- nativeVoiceGateway.js: isPureChitchat扩展, KB保护窗口60s, prequery参数调优
- realtimeDialogRouting.js: resolveReply感知KB保护窗口, fast-path适配raw模式
- app.js: 健康检查新增 redis/reranker/kbRetrievalMode
- 新增测试: alias A/B测试, KB retriever测试, Redis客户端测试, raw模式集成测试
2026-03-26 14:30:32 +08:00
|
|
|
"ioredis": "^5.4.0",
|
2026-03-13 13:06:46 +08:00
|
|
|
"mysql2": "^3.19.1",
|
2026-03-12 12:47:56 +08:00
|
|
|
"node-fetch": "^2.7.0",
|
feat(kb): VikingDB纯检索+重排+Redis上下文+全库搜索+别名扩展+KB保护窗口+RAG语气引导
- 新增 kbRetriever.js: VikingDB search_knowledge 纯检索替代 Ark chat/completions, doubao-seed-rerank 重排, RAG payload 语气引导缓解音色差异
- 新增 redisClient.js: Redis 连接管理 + 5轮对话历史 + KB缓存双写
- toolExecutor.js: 产品别名扩展25条, 全库检索topK=25, 检索阈值0.01, 精简 buildDeterministicKnowledgeQuery
- nativeVoiceGateway.js: isPureChitchat扩展, KB保护窗口60s, prequery参数调优
- realtimeDialogRouting.js: resolveReply感知KB保护窗口, fast-path适配raw模式
- app.js: 健康检查新增 redis/reranker/kbRetrievalMode
- 新增测试: alias A/B测试, KB retriever测试, Redis客户端测试, raw模式集成测试
2026-03-26 14:30:32 +08:00
|
|
|
"ssh2": "^1.17.0",
|
2026-03-13 13:06:46 +08:00
|
|
|
"uuid": "^9.0.0",
|
|
|
|
|
"ws": "^8.19.0"
|
2026-03-12 12:47:56 +08:00
|
|
|
}
|
|
|
|
|
}
|