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 en = {
|
||||
welcome: 'Welcome to React Font CLI',
|
||||
title: 'Memory Bear.AI ',
|
||||
memoryBear: 'Memory Bear.AI',
|
||||
index:{
|
||||
viewGuide: 'View Guide',
|
||||
watchVideo: 'Watch Video',
|
||||
viewDetails: 'View Details',
|
||||
changeLog: 'Change Log',
|
||||
latestUpdate: 'Latest Update',
|
||||
latestUpdateDesc: 'Version v0.2.0 release: Added visual workflow editor, model performance monitoring panel, and multi tenant permission management system.',
|
||||
getStarted: 'Getting Started',
|
||||
startedDesc: 'Understand the core functions of the platform and quickly get started through graphic guidance and video tutorials. Includes a full process demonstration from creating a space to publishing an application.',
|
||||
spaceTitle:'Memory Bear Intelligent Space Management Platform',
|
||||
spaceSubTitle: 'Making it easier to implement intelligent models - a one-stop platform for model management, knowledge building, workflow orchestration, and spatial operations',
|
||||
},
|
||||
quickActions:{
|
||||
title: 'Quick Actions',
|
||||
spaceManagement: 'Space Management',
|
||||
modelManagement: 'Model Management',
|
||||
workflowOrchestration: 'Workflow Orchestration',
|
||||
userManagement: 'User Management',
|
||||
dataExport: 'Data Export',
|
||||
logQuery:'Log Query',
|
||||
notificationReminder: 'Notification Reminder',
|
||||
helpCenter: 'Help Center',
|
||||
knowledgeBase: 'Knowledge Base',
|
||||
knowledgeBaseDesc: 'Manage and maintain your knowledge base data',
|
||||
modelManagementDesc: 'Configure and optimize AI model parameters',
|
||||
userManagementDesc: 'Manage system users and permission settings',
|
||||
systemSettings: 'System Settings',
|
||||
systemSettingsDesc: 'Configure global system parameters and options',
|
||||
memoryManagement: 'Memory Management',
|
||||
memoryManagementDesc: 'Manage user memories and conversation history',
|
||||
apiManagement: 'API Management',
|
||||
apiManagementDesc: 'Manage API keys and interface configurations',
|
||||
workflowEngine: 'Workflow Engine',
|
||||
workflowEngineDesc: 'Design and manage automated workflows',
|
||||
performanceMonitor: 'Performance Monitor',
|
||||
performanceMonitorDesc: 'Monitor system performance and operational status',
|
||||
},
|
||||
guide: {
|
||||
quickStart: 'Quick Start',
|
||||
createKnowledge: 'Create Knowledge Base',
|
||||
createKnowledgeDesc: 'Build your exclusive knowledge base to help AI better understand your business',
|
||||
manageModel: 'Manage Models',
|
||||
manageModelDesc: 'Configure and manage your AI models to optimize performance',
|
||||
createSpace: 'Create Space',
|
||||
createSpaceDesc: 'Create new workspaces to organize your projects and teams',
|
||||
systemConfig: 'System Configuration',
|
||||
systemConfigDesc: 'Configure system parameters to personalize your experience',
|
||||
startCreate: 'Start Creating',
|
||||
goManage: 'Go Manage',
|
||||
createNow: 'Create Now',
|
||||
goConfig: 'Go Configure',
|
||||
},
|
||||
menu: {
|
||||
home: 'Home',
|
||||
tenantManagement: 'Tenant Management',
|
||||
@@ -40,12 +92,22 @@ export const en = {
|
||||
selfReflectionEngine: 'Self Reflection Engine',
|
||||
},
|
||||
dashboard: {
|
||||
total_models: 'Total number of available models',
|
||||
total_spaces: 'Number of active spaces',
|
||||
total_users: 'Total number of users',
|
||||
total_apps_runs: 'Number of application runs',
|
||||
desc_models: 'Contains {{ account }} LLMs and {{ nums }} Embeddings',
|
||||
desc_spaces: 'more than yesterday',
|
||||
desc_users: 'New additions this week',
|
||||
desc_apps_runs: "Today's success rate",
|
||||
totalMemoryCapacity: 'Total Memory Capacity',
|
||||
userMemory: 'User Memory',
|
||||
knowledgeBaseCount: 'Knowledge Base Count',
|
||||
apiCallCount: 'API Call Count',
|
||||
comparedToYesterday: 'compared to yesterday',
|
||||
thisWeek: 'this week',
|
||||
thisDay: 'day on day',
|
||||
failureRate: 'Failure Rate',
|
||||
application: 'Application Count',
|
||||
total_num: 'Total Memory Capacity',
|
||||
|
||||
@@ -625,6 +687,37 @@ export const en = {
|
||||
fileDurationExceeds: 'File duration exceeds the limit',
|
||||
fileDurationLimitError: 'The duration of the media file exceeds the limit. The maximum supported duration is 150 seconds. Current duration',
|
||||
unableReadFile:'Unable to read the information of the media file. Please check the file format.',
|
||||
// Knowledge Graph related
|
||||
knowledgeGraph: 'Knowledge Graph',
|
||||
basicConfig: 'Basic Configuration',
|
||||
enableKnowledgeGraph: 'Enable Knowledge Graph',
|
||||
enableKnowledgeGraphTips: 'Once activated, it will automatically construct an entity relationship network.',
|
||||
graphConfig: 'Graph Configuration',
|
||||
sceneName: 'Scene Name',
|
||||
sceneNamePlaceholder: 'Please enter scene name',
|
||||
entityTypes: 'Entity Types',
|
||||
entityTypesPlaceholder: 'Please enter entity types, separate multiple types with line breaks',
|
||||
entityNormalization: 'Entity Normalization',
|
||||
entityNormalizationTips: 'Merge similar entities when enabled',
|
||||
entityMethod: 'Entity Method',
|
||||
entityMethodGeneral: 'General',
|
||||
entityMethodLight: 'Light',
|
||||
communityReportGeneration: 'Community Report Generation',
|
||||
communityReportGenerationTips: 'Generate community analysis reports when enabled',
|
||||
generateEntityTypes: 'Generate Entity Types',
|
||||
regenerateEntityTypes: 'Regenerate',
|
||||
generateEntityTypesSuccess: 'Entity types generated successfully',
|
||||
generateEntityTypesFailed: 'Failed to generate entity types',
|
||||
unknownError: 'Unknown error',
|
||||
pleaseSelectLLMModel: 'Please select a LLM model in basic configuration first',
|
||||
enterScenarioName: 'Please enter scenario name',
|
||||
entityDetails: 'Entity Details',
|
||||
entityDetailEmpty: 'Click on a node in the graph to view details',
|
||||
entityDetailEmptyDesc: 'Select an entity node to view its detailed information',
|
||||
entityDescription: 'Entity Description',
|
||||
graphTitle: 'Knowledge Graph: The Network of Entity, Relationship and Attribute Associations',
|
||||
graphTips: 'Explore the entity nodes in the knowledge base and their relationship networks',
|
||||
sourceDocuments: 'Source Documents',
|
||||
createForm:{
|
||||
name: 'Name',
|
||||
embedding_id: 'Embedding',
|
||||
|
||||
@@ -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