feat(index): add homepage with dashboard cards and knowledge graph support
- Add new Index view with dashboard layout and quick action cards - Create TopCardList component to display core data management options - Add GuideCard and VersionCard components for user guidance - Add QuickActions component for common operations - Create KnowledgeGraph and KnowledgeGraphCard components for knowledge base visualization - Add comprehensive SVG assets for index page (apps, arrows, management icons) - Add common API module for shared request utilities - Extend knowledgeBase API with knowledge graph endpoints (getKnowledgeGraph, getKnowledgeGraphEntityTypes) - Update i18n translations for English and Chinese with new index page strings - Update routing configuration to include new Index route - Update menu configuration to reflect new navigation structure - Update KnowledgeBase CreateModal and Private view components - Add TypeScript types for Index page components - Improve overall UI/UX with new dashboard-style homepage
This commit is contained in:
@@ -3,6 +3,58 @@ export const zh = {
|
||||
title: '记忆熊',
|
||||
memoryBear: '记忆熊',
|
||||
welcome: '欢迎使用 React Font CLI',
|
||||
index:{
|
||||
viewGuide: '查看引导',
|
||||
watchVideo: '观看视频',
|
||||
viewDetails: '查看详情',
|
||||
changeLog: '变更日志',
|
||||
getStarted:'快速开始',
|
||||
latestUpdate: '最新更新',
|
||||
latestUpdateDesc: '版本 v0.2.0 发布:新增了可视化工作流编辑器、模型性能监控面板以及多租户权限管理系统。',
|
||||
startedDesc: '了解该平台的核心功能,并通过图形指引和视频教程快速上手。包含从创建空间到发布应用程序的整个操作流程演示。',
|
||||
spaceTitle:'记忆熊智能空间管理平台',
|
||||
spaceSubTitle: '使智能模型的实施变得更加容易——一个集模型管理、知识构建、工作流程编排以及空间操作于一体的综合性平台',
|
||||
},
|
||||
quickActions:{
|
||||
title: '快速操作',
|
||||
spaceManagement: '空间管理',
|
||||
modelManagement: '模型管理',
|
||||
workflowOrchestration: '工作流编排',
|
||||
userManagement: '用户管理',
|
||||
dataExport: '数据导出',
|
||||
logQuery:'日志查询',
|
||||
notificationReminder: '通知提醒',
|
||||
helpCenter: '帮助中心',
|
||||
knowledgeBase: '知识库',
|
||||
knowledgeBaseDesc: '管理和维护您的知识库数据',
|
||||
modelManagementDesc: '配置和优化AI模型参数',
|
||||
userManagementDesc: '管理系统用户和权限设置',
|
||||
systemSettings: '系统设置',
|
||||
systemSettingsDesc: '配置系统全局参数和选项',
|
||||
memoryManagement: '记忆管理',
|
||||
memoryManagementDesc: '管理用户记忆和对话历史',
|
||||
apiManagement: 'API管理',
|
||||
apiManagementDesc: '管理API密钥和接口配置',
|
||||
workflowEngine: '工作流引擎',
|
||||
workflowEngineDesc: '设计和管理自动化工作流程',
|
||||
performanceMonitor: '性能监控',
|
||||
performanceMonitorDesc: '监控系统性能和运行状态',
|
||||
},
|
||||
guide: {
|
||||
quickStart: '快速开始',
|
||||
createKnowledge: '创建知识库',
|
||||
createKnowledgeDesc: '构建您的专属知识库,让AI更好地理解您的业务',
|
||||
manageModel: '管理模型',
|
||||
manageModelDesc: '配置和管理您的AI模型,优化性能表现',
|
||||
createSpace: '创建空间',
|
||||
createSpaceDesc: '创建新的工作空间,组织您的项目和团队',
|
||||
systemConfig: '系统配置',
|
||||
systemConfigDesc: '配置系统参数,个性化您的使用体验',
|
||||
startCreate: '开始创建',
|
||||
goManage: '去管理',
|
||||
createNow: '立即创建',
|
||||
goConfig: '去配置',
|
||||
},
|
||||
menu: {
|
||||
home: '首页',
|
||||
tenantManagement: '租户管理',
|
||||
@@ -247,6 +299,37 @@ export const zh = {
|
||||
fileDurationExceeds:'文件时长超过限制',
|
||||
fileDurationLimitError: '媒体文件时长超过限制,最大支持150秒,当前时长',
|
||||
unableReadFile:'无法读取媒体文件信息,请检查文件格式',
|
||||
// 知识图谱相关
|
||||
knowledgeGraph: '知识图谱',
|
||||
basicConfig: '基础配置',
|
||||
enableKnowledgeGraph: '启用知识图谱',
|
||||
enableKnowledgeGraphTips: '开启后将自动构建实体关系网络',
|
||||
graphConfig: '图谱配置',
|
||||
sceneName: '场景名称',
|
||||
sceneNamePlaceholder: '请输入场景名称',
|
||||
entityTypes: '实体类型',
|
||||
entityTypesPlaceholder: '请输入实体类型,多个类型用换行分隔',
|
||||
entityNormalization: '实体归一化',
|
||||
entityNormalizationTips: '开启后将对相似实体进行合并处理',
|
||||
entityMethod: '实体方法',
|
||||
entityMethodGeneral: '通用',
|
||||
entityMethodLight: '轻量',
|
||||
communityReportGeneration: '社区报告生成',
|
||||
communityReportGenerationTips: '开启后将生成社区分析报告',
|
||||
generateEntityTypes: '生成实体类型',
|
||||
regenerateEntityTypes: '重新生成',
|
||||
generateEntityTypesSuccess: '实体类型生成成功',
|
||||
generateEntityTypesFailed: '生成实体类型失败',
|
||||
unknownError: '未知错误',
|
||||
pleaseSelectLLMModel: '请先在基础配置中选择大语言模型',
|
||||
enterScenarioName: '请输入场景名称',
|
||||
entityDetails: '实体详情',
|
||||
entityDetailEmpty: '请点击图谱中的节点查看详情',
|
||||
entityDetailEmptyDesc: '选择一个实体节点来查看其详细信息',
|
||||
entityDescription: '实体描述',
|
||||
sourceDocuments: '来源文档',
|
||||
graphTitle: '知识图谱:实体、关系与属性的关联网络',
|
||||
graphTips: '探索知识库中的实体节点及其关系脉络',
|
||||
createForm: {
|
||||
name: '名称',
|
||||
embedding_id: '嵌入模型',
|
||||
@@ -581,12 +664,22 @@ export const zh = {
|
||||
totalRecords: '共 {{total}} 条记录'
|
||||
},
|
||||
dashboard: {
|
||||
total_models: '可用模型总数',
|
||||
total_spaces: '活跃空间数量',
|
||||
total_users: '用户总数',
|
||||
total_apps_runs: '应用运行次数',
|
||||
desc_models: '包含 {{ account }} 个大语言模型和 {{ nums }} 个嵌入模型',
|
||||
desc_spaces: '比昨天多',
|
||||
desc_users: '本周新增',
|
||||
desc_apps_runs: '今日成功率',
|
||||
totalMemoryCapacity: '总记忆容量',
|
||||
userMemory: '用户记忆',
|
||||
knowledgeBaseCount: '知识库数量',
|
||||
apiCallCount: 'API调用次数',
|
||||
comparedToYesterday: '与昨天相比',
|
||||
thisWeek: '本周',
|
||||
thisDay: '本日',
|
||||
failureRate: '故障率',
|
||||
application: '应用数量',
|
||||
total_num: '总记忆容量',
|
||||
|
||||
|
||||
Reference in New Issue
Block a user