2026-02-24 06:54:14 +00:00
|
|
|
import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'
|
|
|
|
|
|
|
|
|
|
const routes: Array<RouteRecordRaw> = [
|
|
|
|
|
{
|
|
|
|
|
path: '/',
|
|
|
|
|
redirect: '/dashboard'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/dashboard',
|
|
|
|
|
name: 'Dashboard',
|
|
|
|
|
component: () => import('@/views/dashboard/index.vue'),
|
|
|
|
|
meta: { title: '控制台' }
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/kb',
|
|
|
|
|
name: 'KBManagement',
|
|
|
|
|
component: () => import('@/views/kb/index.vue'),
|
|
|
|
|
meta: { title: '知识库管理' }
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/rag-lab',
|
|
|
|
|
name: 'RagLab',
|
|
|
|
|
component: () => import('@/views/rag-lab/index.vue'),
|
|
|
|
|
meta: { title: 'RAG 实验室' }
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/monitoring',
|
|
|
|
|
name: 'Monitoring',
|
|
|
|
|
component: () => import('@/views/monitoring/index.vue'),
|
|
|
|
|
meta: { title: '会话监控' }
|
feat(AISVC-T8): LLM配置管理与RAG调试输出支持 [AC-AISVC-42, AC-AISVC-43, AC-AISVC-44, AC-AISVC-45, AC-AISVC-46, AC-AISVC-47, AC-AISVC-48, AC-AISVC-49, AC-AISVC-50]
- 新增 LLMProviderFactory 工厂类支持 OpenAI/Ollama/Azure [AC-AISVC-42]
- 新增 LLMConfigManager 支持配置热更新 [AC-AISVC-43, AC-AISVC-44]
- 新增 LLM 管理 API 端点 [AC-AISVC-42~AC-AISVC-46]
- 更新 RAG 实验接口支持 AI 回复生成 [AC-AISVC-47, AC-AISVC-49]
- 新增 RAG 实验流式输出 SSE [AC-AISVC-48]
- 支持指定 LLM 提供者 [AC-AISVC-50]
- 更新 OpenAPI 契约添加 LLM 管理接口
- 更新前后端规范文档 v0.4.0 迭代
2026-02-24 17:25:53 +00:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/admin/embedding',
|
|
|
|
|
name: 'EmbeddingConfig',
|
|
|
|
|
component: () => import('@/views/admin/embedding/index.vue'),
|
|
|
|
|
meta: { title: '嵌入模型配置' }
|
2026-02-24 06:54:14 +00:00
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
const router = createRouter({
|
|
|
|
|
history: createWebHistory(),
|
|
|
|
|
routes
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
export default router
|