mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-20 20:39:55 +00:00
feat(ai): 新增智能助手功能模块
feat(backend): 添加ChromaDB向量数据库支持 feat(backend): 实现智能体配置、知识库和文档管理 feat(backend): 重构WebSocket聊天服务为AgentService feat(frontend): 实现完整的聊天界面组件 feat(frontend): 添加智能体配置、知识库和文档管理页面 fix(user): 修复用户导入时性别转换问题 style(import): 优化导入组件加载状态处理
This commit is contained in:
@@ -1848,6 +1848,291 @@
|
||||
"affix": false,
|
||||
"redirect": null,
|
||||
"description": "智能对话"
|
||||
},
|
||||
{
|
||||
"name": "智能体配置详情",
|
||||
"type": 3,
|
||||
"icon": null,
|
||||
"order": 2,
|
||||
"permission": "module_application:agent-config:detail",
|
||||
"route_name": null,
|
||||
"route_path": null,
|
||||
"component_path": null,
|
||||
"status": "0",
|
||||
"keep_alive": true,
|
||||
"hidden": false,
|
||||
"always_show": false,
|
||||
"title": "智能体配置详情",
|
||||
"params": null,
|
||||
"affix": false,
|
||||
"redirect": null,
|
||||
"description": "智能体配置详情"
|
||||
},
|
||||
{
|
||||
"name": "创建智能体配置",
|
||||
"type": 3,
|
||||
"icon": null,
|
||||
"order": 3,
|
||||
"permission": "module_application:agent-config:create",
|
||||
"route_name": null,
|
||||
"route_path": null,
|
||||
"component_path": null,
|
||||
"status": "0",
|
||||
"keep_alive": true,
|
||||
"hidden": false,
|
||||
"always_show": false,
|
||||
"title": "创建智能体配置",
|
||||
"params": null,
|
||||
"affix": false,
|
||||
"redirect": null,
|
||||
"description": "创建智能体配置"
|
||||
},
|
||||
{
|
||||
"name": "修改智能体配置",
|
||||
"type": 3,
|
||||
"icon": null,
|
||||
"order": 4,
|
||||
"permission": "module_application:agent-config:update",
|
||||
"route_name": null,
|
||||
"route_path": null,
|
||||
"component_path": null,
|
||||
"status": "0",
|
||||
"keep_alive": true,
|
||||
"hidden": false,
|
||||
"always_show": false,
|
||||
"title": "修改智能体配置",
|
||||
"params": null,
|
||||
"affix": false,
|
||||
"redirect": null,
|
||||
"description": "修改智能体配置"
|
||||
},
|
||||
{
|
||||
"name": "删除智能体配置",
|
||||
"type": 3,
|
||||
"icon": null,
|
||||
"order": 5,
|
||||
"permission": "module_application:agent-config:delete",
|
||||
"route_name": null,
|
||||
"route_path": null,
|
||||
"component_path": null,
|
||||
"status": "0",
|
||||
"keep_alive": true,
|
||||
"hidden": false,
|
||||
"always_show": false,
|
||||
"title": "删除智能体配置",
|
||||
"params": null,
|
||||
"affix": false,
|
||||
"redirect": null,
|
||||
"description": "删除智能体配置"
|
||||
},
|
||||
{
|
||||
"name": "查询智能体配置",
|
||||
"type": 3,
|
||||
"icon": null,
|
||||
"order": 6,
|
||||
"permission": "module_application:agent-config:query",
|
||||
"route_name": null,
|
||||
"route_path": null,
|
||||
"component_path": null,
|
||||
"status": "0",
|
||||
"keep_alive": true,
|
||||
"hidden": false,
|
||||
"always_show": false,
|
||||
"title": "查询智能体配置",
|
||||
"params": null,
|
||||
"affix": false,
|
||||
"redirect": null,
|
||||
"description": "查询智能体配置"
|
||||
},
|
||||
{
|
||||
"name": "知识库管理详情",
|
||||
"type": 3,
|
||||
"icon": null,
|
||||
"order": 8,
|
||||
"permission": "module_application:knowledge:detail",
|
||||
"route_name": null,
|
||||
"route_path": null,
|
||||
"component_path": null,
|
||||
"status": "0",
|
||||
"keep_alive": true,
|
||||
"hidden": false,
|
||||
"always_show": false,
|
||||
"title": "知识库管理详情",
|
||||
"params": null,
|
||||
"affix": false,
|
||||
"redirect": null,
|
||||
"description": "知识库管理详情"
|
||||
},
|
||||
{
|
||||
"name": "创建知识库",
|
||||
"type": 3,
|
||||
"icon": null,
|
||||
"order": 9,
|
||||
"permission": "module_application:knowledge:create",
|
||||
"route_name": null,
|
||||
"route_path": null,
|
||||
"component_path": null,
|
||||
"status": "0",
|
||||
"keep_alive": true,
|
||||
"hidden": false,
|
||||
"always_show": false,
|
||||
"title": "创建知识库",
|
||||
"params": null,
|
||||
"affix": false,
|
||||
"redirect": null,
|
||||
"description": "创建知识库"
|
||||
},
|
||||
{
|
||||
"name": "修改知识库",
|
||||
"type": 3,
|
||||
"icon": null,
|
||||
"order": 10,
|
||||
"permission": "module_application:knowledge:update",
|
||||
"route_name": null,
|
||||
"route_path": null,
|
||||
"component_path": null,
|
||||
"status": "0",
|
||||
"keep_alive": true,
|
||||
"hidden": false,
|
||||
"always_show": false,
|
||||
"title": "修改知识库",
|
||||
"params": null,
|
||||
"affix": false,
|
||||
"redirect": null,
|
||||
"description": "修改知识库"
|
||||
},
|
||||
{
|
||||
"name": "删除知识库",
|
||||
"type": 3,
|
||||
"icon": null,
|
||||
"order": 11,
|
||||
"permission": "module_application:knowledge:delete",
|
||||
"route_name": null,
|
||||
"route_path": null,
|
||||
"component_path": null,
|
||||
"status": "0",
|
||||
"keep_alive": true,
|
||||
"hidden": false,
|
||||
"always_show": false,
|
||||
"title": "删除知识库",
|
||||
"params": null,
|
||||
"affix": false,
|
||||
"redirect": null,
|
||||
"description": "删除知识库"
|
||||
},
|
||||
{
|
||||
"name": "查询知识库",
|
||||
"type": 3,
|
||||
"icon": null,
|
||||
"order": 12,
|
||||
"permission": "module_application:knowledge:query",
|
||||
"route_name": null,
|
||||
"route_path": null,
|
||||
"component_path": null,
|
||||
"status": "0",
|
||||
"keep_alive": true,
|
||||
"hidden": false,
|
||||
"always_show": false,
|
||||
"title": "查询知识库",
|
||||
"params": null,
|
||||
"affix": false,
|
||||
"redirect": null,
|
||||
"description": "查询知识库"
|
||||
},
|
||||
{
|
||||
"name": "知识库文档详情",
|
||||
"type": 3,
|
||||
"icon": null,
|
||||
"order": 14,
|
||||
"permission": "module_application:document:detail",
|
||||
"route_name": null,
|
||||
"route_path": null,
|
||||
"component_path": null,
|
||||
"status": "0",
|
||||
"keep_alive": true,
|
||||
"hidden": false,
|
||||
"always_show": false,
|
||||
"title": "知识库文档详情",
|
||||
"params": null,
|
||||
"affix": false,
|
||||
"redirect": null,
|
||||
"description": "知识库文档详情"
|
||||
},
|
||||
{
|
||||
"name": "创建知识库文档",
|
||||
"type": 3,
|
||||
"icon": null,
|
||||
"order": 15,
|
||||
"permission": "module_application:document:create",
|
||||
"route_name": null,
|
||||
"route_path": null,
|
||||
"component_path": null,
|
||||
"status": "0",
|
||||
"keep_alive": true,
|
||||
"hidden": false,
|
||||
"always_show": false,
|
||||
"title": "创建知识库文档",
|
||||
"params": null,
|
||||
"affix": false,
|
||||
"redirect": null,
|
||||
"description": "创建知识库文档"
|
||||
},
|
||||
{
|
||||
"name": "修改知识库文档",
|
||||
"type": 3,
|
||||
"icon": null,
|
||||
"order": 16,
|
||||
"permission": "module_application:document:update",
|
||||
"route_name": null,
|
||||
"route_path": null,
|
||||
"component_path": null,
|
||||
"status": "0",
|
||||
"keep_alive": true,
|
||||
"hidden": false,
|
||||
"always_show": false,
|
||||
"title": "修改知识库文档",
|
||||
"params": null,
|
||||
"affix": false,
|
||||
"redirect": null,
|
||||
"description": "修改知识库文档"
|
||||
},
|
||||
{
|
||||
"name": "删除知识库文档",
|
||||
"type": 3,
|
||||
"icon": null,
|
||||
"order": 17,
|
||||
"permission": "module_application:document:delete",
|
||||
"route_name": null,
|
||||
"route_path": null,
|
||||
"component_path": null,
|
||||
"status": "0",
|
||||
"keep_alive": true,
|
||||
"hidden": false,
|
||||
"always_show": false,
|
||||
"title": "删除知识库文档",
|
||||
"params": null,
|
||||
"affix": false,
|
||||
"redirect": null,
|
||||
"description": "删除知识库文档"
|
||||
},
|
||||
{
|
||||
"name": "查询知识库文档",
|
||||
"type": 3,
|
||||
"icon": null,
|
||||
"order": 18,
|
||||
"permission": "module_application:document:query",
|
||||
"route_name": null,
|
||||
"route_path": null,
|
||||
"component_path": null,
|
||||
"status": "0",
|
||||
"keep_alive": true,
|
||||
"hidden": false,
|
||||
"always_show": false,
|
||||
"title": "查询知识库文档",
|
||||
"params": null,
|
||||
"affix": false,
|
||||
"redirect": null,
|
||||
"description": "查询知识库文档"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user