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',
|
||||
|
||||
Reference in New Issue
Block a user