|
|
il y a 16 heures | |
|---|---|---|
| public | il y a 16 heures | |
| src | il y a 16 heures | |
| .editorconfig | il y a 2 mois | |
| .env.development | il y a 1 mois | |
| .env.production | il y a 1 mois | |
| .eslintignore | il y a 2 mois | |
| .eslintrc.js | il y a 2 mois | |
| .gitignore | il y a 16 heures | |
| .prettierrc.cjs | il y a 2 mois | |
| CLAUDE.md | il y a 1 mois | |
| README.md | il y a 16 heures | |
| agents.md | il y a 2 mois | |
| index.html | il y a 1 mois | |
| jest.config.js | il y a 2 mois | |
| package-lock.json | il y a 1 mois | |
| package.json | il y a 16 heures | |
| tsconfig.json | il y a 16 heures | |
| tsconfig.node.json | il y a 2 mois | |
| vite.config.ts | il y a 16 heures |
企业政策匹配与办事咨询的前端。Vue 3 + TypeScript + Vite。
用户提问后,对话走 POST /api/chat(SSE)。src/components/api-chat-coordinator.ts 把事件翻译成内容标记,再交给消息组件渲染正文、政策卡片、参考资料和补问。
npm install
npm run dev
npm run build
npm run preview
部署后的接口与栏目配置在 public/config.js,可直接修改,不必重新打包。
src/components/BusinessAssistantPC.vue、BusinessAssistantMobile.vue:页面主壳src/components/api-chat-coordinator.ts:聊天协议适配src/components/Chat/:回答渲染src/asr/:语音识别public/merchant-agent/:惠企政策库