按任务找源码
如果你正在找预约助手的开场语从哪里进入通话,先看 smart-aicc 的 RealtimeConfigMapper。如果你在改它的配置表单,从前端 apps/web-smart/src/views/call/agent 开始。两个仓库的主要入口如下。
首次打开仓库
SmartCall/
├── smart-boot/ 单体启动与配置
├── smart-aicc/ 商业呼叫、模型、智能体与通话数据
│ └── src/main/python/vllmomni/ 自建推理服务的 WebSocket 适配层
├── smart-voice/
│ ├── smart-voice-asterisk/ Asterisk 电话接入
│ ├── smart-voice-realtime/ 实时会话、媒体和业务扩展接口
│ └── smart-voice-agent/ Python 三段式执行端
├── script/boot/ 单体示例和初始化 SQL
└── script/asterisk/ Asterisk 配置模板
smart-call-ui/
└── apps/
├── web-smart/src/ 商业管理端
│ ├── api/call/ 呼叫中心请求与类型
│ ├── views/call/ 商业配置、任务与记录页面
│ └── views/_call/ 坐席拨号盘和机器人通话页面
└── web-admin/src/ 认证、系统管理与请求封装基座
跨服务代码可从 smart-gateway、smart-auth、smart-upms、smart-api 继续读。MaxKB 与运维相关模块分别在 smart-maxkb、smart-ops。各服务配置入口见开发配置从哪里读。
商业业务定位
下表中的 Java 包相对于 smart-aicc/src/main/java/com/qidiangk/smart/aicc/。
| 想修改的能力 | Java 包或入口 | 前端入口,相对 apps/web-smart |
|---|---|---|
| 智能体配置和会话装配 | controller/agent、service/impl/AgentServiceImpl、realtime/RealtimeConfigMapper |
src/views/call/agent、src/api/call/agent |
| 模型参数与音色 | controller/model、utils/ModelParameterProfiles、voice、tripartite |
src/views/call/model、src/views/call/voice |
| 通话技能与知识 | realtime/skill、realtime/knowledge |
src/views/call/agent/modules/tab |
| 线路、坐席、话单 | controller/line、controller/attend、controller/cdr、listener |
src/views/call/line、src/views/call/attend、src/views/call/records |
| 外呼及任务 | controller/CallController、controller/task、service/impl/OutTaskDetailServiceImpl |
src/views/_call/robot、src/views/call/task |
| 坐席拨号盘 | controller/attend/AttendController、controller/CallController |
src/views/_call/phone |
接口改动从 Controller 的请求类型与权限编号出发,沿 Service、DAO 或会话装配检查存储与运行行为,最后核对前端 API 类型及表单回填。
