|
|
@@ -205,13 +205,15 @@ export default {
|
|
|
{
|
|
|
id: '1',
|
|
|
title: 'Gmail + GPT-4o-mini',
|
|
|
- description: 'Automatically classify and summarize emails with Gmail, GPT-4o-mini, and Notion',
|
|
|
+ description:
|
|
|
+ 'Automatically classify and summarize emails with Gmail, GPT-4o-mini, and Notion',
|
|
|
icon: '✉️'
|
|
|
},
|
|
|
{
|
|
|
id: '2',
|
|
|
title: 'Telegram + OpenAI',
|
|
|
- description: 'Use Telegram, OpenAI, and Google Drive to classify chats and generate PDF files',
|
|
|
+ description:
|
|
|
+ 'Use Telegram, OpenAI, and Google Drive to classify chats and generate PDF files',
|
|
|
icon: '💬'
|
|
|
},
|
|
|
{
|
|
|
@@ -253,8 +255,8 @@ export default {
|
|
|
name: 'Enter workflow name',
|
|
|
tags: 'Press Enter to add tags',
|
|
|
description: 'Optional. Briefly describe what this workflow does',
|
|
|
- remark: 'Optional. Add extra notes',
|
|
|
- cover: 'Optional. Cover image URL'
|
|
|
+ remark: 'Add notes',
|
|
|
+ cover: 'Cover image'
|
|
|
},
|
|
|
tagLimit: 'Up to 5 tags',
|
|
|
validation: {
|
|
|
@@ -315,17 +317,71 @@ export default {
|
|
|
success: 'Workflow deleted'
|
|
|
},
|
|
|
activities: [
|
|
|
- { id: 1, icon: 'check-circle', type: 'success', text: 'Workflow “Customer Intent Detection” completed successfully', time: '5m ago' },
|
|
|
- { id: 2, icon: 'workflow', type: 'info', text: 'Created a new workflow “Daily Report Generator”', time: '1h ago' },
|
|
|
- { id: 3, icon: 'play', type: 'info', text: 'Workflow “Contract Review” started running', time: '2h ago' },
|
|
|
- { id: 4, icon: 'check-circle', type: 'success', text: 'Workflow “Lead Tagging” completed successfully', time: '3h ago' },
|
|
|
- { id: 5, icon: 'users', type: 'info', text: 'User @ZhangSan joined the team', time: 'Yesterday' }
|
|
|
+ {
|
|
|
+ id: 1,
|
|
|
+ icon: 'check-circle',
|
|
|
+ type: 'success',
|
|
|
+ text: 'Workflow “Customer Intent Detection” completed successfully',
|
|
|
+ time: '5m ago'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 2,
|
|
|
+ icon: 'workflow',
|
|
|
+ type: 'info',
|
|
|
+ text: 'Created a new workflow “Daily Report Generator”',
|
|
|
+ time: '1h ago'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 3,
|
|
|
+ icon: 'play',
|
|
|
+ type: 'info',
|
|
|
+ text: 'Workflow “Contract Review” started running',
|
|
|
+ time: '2h ago'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 4,
|
|
|
+ icon: 'check-circle',
|
|
|
+ type: 'success',
|
|
|
+ text: 'Workflow “Lead Tagging” completed successfully',
|
|
|
+ time: '3h ago'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 5,
|
|
|
+ icon: 'users',
|
|
|
+ type: 'info',
|
|
|
+ text: 'User @ZhangSan joined the team',
|
|
|
+ time: 'Yesterday'
|
|
|
+ }
|
|
|
],
|
|
|
templates: [
|
|
|
- { id: 1, name: 'Customer Intent Detection', desc: 'Analyze customer message intent automatically', icon: 'service', category: 'Support' },
|
|
|
- { id: 2, name: 'Daily Report Generator', desc: 'Compile daily updates automatically', icon: 'efficiency', category: 'Productivity' },
|
|
|
- { id: 3, name: 'Contract Review', desc: 'Review key contract clauses with AI', icon: 'legal', category: 'Legal' },
|
|
|
- { id: 4, name: 'Lead Tagging', desc: 'Tag sales leads automatically', icon: 'growth', category: 'Marketing' }
|
|
|
+ {
|
|
|
+ id: 1,
|
|
|
+ name: 'Customer Intent Detection',
|
|
|
+ desc: 'Analyze customer message intent automatically',
|
|
|
+ icon: 'service',
|
|
|
+ category: 'Support'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 2,
|
|
|
+ name: 'Daily Report Generator',
|
|
|
+ desc: 'Compile daily updates automatically',
|
|
|
+ icon: 'efficiency',
|
|
|
+ category: 'Productivity'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 3,
|
|
|
+ name: 'Contract Review',
|
|
|
+ desc: 'Review key contract clauses with AI',
|
|
|
+ icon: 'legal',
|
|
|
+ category: 'Legal'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 4,
|
|
|
+ name: 'Lead Tagging',
|
|
|
+ desc: 'Tag sales leads automatically',
|
|
|
+ icon: 'growth',
|
|
|
+ category: 'Marketing'
|
|
|
+ }
|
|
|
]
|
|
|
},
|
|
|
orchestration: {
|
|
|
@@ -365,21 +421,71 @@ export default {
|
|
|
open: 'Open',
|
|
|
viewTemplate: 'View Template',
|
|
|
recentWorkflows: [
|
|
|
- { id: '1', name: 'Customer Support Auto Routing', updatedAt: 'Today 10:12', owner: 'Zhang Wei', tag: 'Support' },
|
|
|
- { id: '2', name: 'Content Creation and Review', updatedAt: 'Yesterday 18:20', owner: 'Li Na', tag: 'Content' },
|
|
|
- { id: '3', name: 'RAG Knowledge Sync', updatedAt: 'Jan 27', owner: 'Wang Qiang', tag: 'Knowledge Base' },
|
|
|
- { id: '4', name: 'Financial Report Summary', updatedAt: 'Jan 26', owner: 'Zhao Min', tag: 'Finance' }
|
|
|
+ {
|
|
|
+ id: '1',
|
|
|
+ name: 'Customer Support Auto Routing',
|
|
|
+ updatedAt: 'Today 10:12',
|
|
|
+ owner: 'Zhang Wei',
|
|
|
+ tag: 'Support'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: '2',
|
|
|
+ name: 'Content Creation and Review',
|
|
|
+ updatedAt: 'Yesterday 18:20',
|
|
|
+ owner: 'Li Na',
|
|
|
+ tag: 'Content'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: '3',
|
|
|
+ name: 'RAG Knowledge Sync',
|
|
|
+ updatedAt: 'Jan 27',
|
|
|
+ owner: 'Wang Qiang',
|
|
|
+ tag: 'Knowledge Base'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: '4',
|
|
|
+ name: 'Financial Report Summary',
|
|
|
+ updatedAt: 'Jan 26',
|
|
|
+ owner: 'Zhao Min',
|
|
|
+ tag: 'Finance'
|
|
|
+ }
|
|
|
],
|
|
|
nodeGroups: [
|
|
|
- { label: 'Flow Control', tags: ['Start Node', 'Conditional Branch', 'Loop Node', 'End Node'] },
|
|
|
- { label: 'Data Operations', tags: ['HTTP Request', 'Database Query', 'Code Execution', 'Data Transformation'] },
|
|
|
+ {
|
|
|
+ label: 'Flow Control',
|
|
|
+ tags: ['Start Node', 'Conditional Branch', 'Loop Node', 'End Node']
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: 'Data Operations',
|
|
|
+ tags: ['HTTP Request', 'Database Query', 'Code Execution', 'Data Transformation']
|
|
|
+ },
|
|
|
{ label: 'Trigger Rules', tags: ['Scheduled Trigger', 'Webhook', 'Event Listener'] }
|
|
|
],
|
|
|
templates: [
|
|
|
- { id: 't1', name: 'Customer Intent Detection', desc: 'Receive message → AI intent analysis → condition check → route to support or bot', category: 'Support' },
|
|
|
- { id: 't2', name: 'Daily Summary Automation', desc: 'Scheduled trigger → query data tables → aggregate → generate report → notify team', category: 'Operations' },
|
|
|
- { id: 't3', name: 'Contract Review Assistant', desc: 'Upload contract → OCR → AI review → risk classification → report generation', category: 'Legal' },
|
|
|
- { id: 't4', name: 'Lead Tagging', desc: 'Webhook input → clean data → rule matching → tag leads → write to CRM', category: 'Growth' }
|
|
|
+ {
|
|
|
+ id: 't1',
|
|
|
+ name: 'Customer Intent Detection',
|
|
|
+ desc: 'Receive message → AI intent analysis → condition check → route to support or bot',
|
|
|
+ category: 'Support'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 't2',
|
|
|
+ name: 'Daily Summary Automation',
|
|
|
+ desc: 'Scheduled trigger → query data tables → aggregate → generate report → notify team',
|
|
|
+ category: 'Operations'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 't3',
|
|
|
+ name: 'Contract Review Assistant',
|
|
|
+ desc: 'Upload contract → OCR → AI review → risk classification → report generation',
|
|
|
+ category: 'Legal'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 't4',
|
|
|
+ name: 'Lead Tagging',
|
|
|
+ desc: 'Webhook input → clean data → rule matching → tag leads → write to CRM',
|
|
|
+ category: 'Growth'
|
|
|
+ }
|
|
|
]
|
|
|
},
|
|
|
execution: {
|
|
|
@@ -420,10 +526,38 @@ export default {
|
|
|
{ label: 'P95 Duration', value: '5.9s' }
|
|
|
],
|
|
|
executions: [
|
|
|
- { workflow: 'Customer Support Auto Routing', executionId: 'EXE-20260129001', startedAt: '2026-01-29 09:12:03', duration: '2.1s', trigger: 'Schedule', status: 'success' },
|
|
|
- { workflow: 'Content Creation and Review', executionId: 'EXE-20260129002', startedAt: '2026-01-29 09:15:45', duration: '4.3s', trigger: 'Manual', status: 'running' },
|
|
|
- { workflow: 'RAG Knowledge Sync', executionId: 'EXE-20260129003', startedAt: '2026-01-29 08:58:12', duration: '3.9s', trigger: 'Webhook', status: 'failed' },
|
|
|
- { workflow: 'Financial Report Summary', executionId: 'EXE-20260129004', startedAt: '2026-01-29 08:40:30', duration: '1.6s', trigger: 'Schedule', status: 'success' }
|
|
|
+ {
|
|
|
+ workflow: 'Customer Support Auto Routing',
|
|
|
+ executionId: 'EXE-20260129001',
|
|
|
+ startedAt: '2026-01-29 09:12:03',
|
|
|
+ duration: '2.1s',
|
|
|
+ trigger: 'Schedule',
|
|
|
+ status: 'success'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ workflow: 'Content Creation and Review',
|
|
|
+ executionId: 'EXE-20260129002',
|
|
|
+ startedAt: '2026-01-29 09:15:45',
|
|
|
+ duration: '4.3s',
|
|
|
+ trigger: 'Manual',
|
|
|
+ status: 'running'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ workflow: 'RAG Knowledge Sync',
|
|
|
+ executionId: 'EXE-20260129003',
|
|
|
+ startedAt: '2026-01-29 08:58:12',
|
|
|
+ duration: '3.9s',
|
|
|
+ trigger: 'Webhook',
|
|
|
+ status: 'failed'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ workflow: 'Financial Report Summary',
|
|
|
+ executionId: 'EXE-20260129004',
|
|
|
+ startedAt: '2026-01-29 08:40:30',
|
|
|
+ duration: '1.6s',
|
|
|
+ trigger: 'Schedule',
|
|
|
+ status: 'success'
|
|
|
+ }
|
|
|
]
|
|
|
},
|
|
|
management: {
|
|
|
@@ -461,10 +595,26 @@ export default {
|
|
|
description:
|
|
|
'AI Agent is a powerful and flexible automation workflow platform that helps teams and individuals build intelligent business processes. We aim to make automation simple, efficient, and easy to maintain.',
|
|
|
features: [
|
|
|
- { icon: 'zap', title: 'High Performance', desc: 'An optimized execution engine for fast and reliable workflows' },
|
|
|
- { icon: 'shield', title: 'Secure and Reliable', desc: 'Enterprise-grade security to protect your data and credentials' },
|
|
|
- { icon: 'users', title: 'Team Collaboration', desc: 'Work together to build and maintain workflows' },
|
|
|
- { icon: 'code', title: 'Open and Extensible', desc: 'Custom nodes and integrations for personalized needs' }
|
|
|
+ {
|
|
|
+ icon: 'zap',
|
|
|
+ title: 'High Performance',
|
|
|
+ desc: 'An optimized execution engine for fast and reliable workflows'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: 'shield',
|
|
|
+ title: 'Secure and Reliable',
|
|
|
+ desc: 'Enterprise-grade security to protect your data and credentials'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: 'users',
|
|
|
+ title: 'Team Collaboration',
|
|
|
+ desc: 'Work together to build and maintain workflows'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ icon: 'code',
|
|
|
+ title: 'Open and Extensible',
|
|
|
+ desc: 'Custom nodes and integrations for personalized needs'
|
|
|
+ }
|
|
|
]
|
|
|
},
|
|
|
userCenter: {
|
|
|
@@ -491,7 +641,11 @@ export default {
|
|
|
},
|
|
|
security: {
|
|
|
title: 'Account Security',
|
|
|
- password: { title: 'Login Password', desc: 'Rotate your password regularly to improve account security', action: 'Change' },
|
|
|
+ password: {
|
|
|
+ title: 'Login Password',
|
|
|
+ desc: 'Rotate your password regularly to improve account security',
|
|
|
+ action: 'Change'
|
|
|
+ },
|
|
|
twoFactor: { title: 'Two-Factor Authentication', desc: 'Disabled', action: 'Enable' },
|
|
|
boundPhone: { title: 'Bound Phone', action: 'Replace' }
|
|
|
}
|
|
|
@@ -501,11 +655,46 @@ export default {
|
|
|
searchPlaceholder: 'Search logs...',
|
|
|
levelPlaceholder: 'Log Level',
|
|
|
logs: [
|
|
|
- { id: 1, level: 'info', timestamp: '2026-01-28 14:23:45', workflowName: 'Data Sync Workflow', message: 'Workflow completed successfully', details: { executionTime: '2.5s', nodesExecuted: 5 } },
|
|
|
- { id: 2, level: 'warning', timestamp: '2026-01-28 14:20:12', workflowName: 'API Request Workflow', message: 'Response time exceeded threshold', details: { responseTime: '3200ms', threshold: '3000ms' } },
|
|
|
- { id: 3, level: 'error', timestamp: '2026-01-28 14:15:33', workflowName: 'Email Delivery Workflow', message: 'Email delivery failed: SMTP connection timeout', details: { error: 'Connection timeout', host: 'xxxxx.com' } },
|
|
|
- { id: 4, level: 'info', timestamp: '2026-01-28 14:10:08', workflowName: 'Data Processing Workflow', message: 'Processed 1000 records', details: { processed: 1000, failed: 0 } },
|
|
|
- { id: 5, level: 'info', timestamp: '2026-01-28 14:05:22', workflowName: 'Scheduled Workflow', message: 'Scheduled task triggered', details: { schedule: '*/5 * * * *', triggeredBy: 'cron' } }
|
|
|
+ {
|
|
|
+ id: 1,
|
|
|
+ level: 'info',
|
|
|
+ timestamp: '2026-01-28 14:23:45',
|
|
|
+ workflowName: 'Data Sync Workflow',
|
|
|
+ message: 'Workflow completed successfully',
|
|
|
+ details: { executionTime: '2.5s', nodesExecuted: 5 }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 2,
|
|
|
+ level: 'warning',
|
|
|
+ timestamp: '2026-01-28 14:20:12',
|
|
|
+ workflowName: 'API Request Workflow',
|
|
|
+ message: 'Response time exceeded threshold',
|
|
|
+ details: { responseTime: '3200ms', threshold: '3000ms' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 3,
|
|
|
+ level: 'error',
|
|
|
+ timestamp: '2026-01-28 14:15:33',
|
|
|
+ workflowName: 'Email Delivery Workflow',
|
|
|
+ message: 'Email delivery failed: SMTP connection timeout',
|
|
|
+ details: { error: 'Connection timeout', host: 'xxxxx.com' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 4,
|
|
|
+ level: 'info',
|
|
|
+ timestamp: '2026-01-28 14:10:08',
|
|
|
+ workflowName: 'Data Processing Workflow',
|
|
|
+ message: 'Processed 1000 records',
|
|
|
+ details: { processed: 1000, failed: 0 }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 5,
|
|
|
+ level: 'info',
|
|
|
+ timestamp: '2026-01-28 14:05:22',
|
|
|
+ workflowName: 'Scheduled Workflow',
|
|
|
+ message: 'Scheduled task triggered',
|
|
|
+ details: { schedule: '*/5 * * * *', triggeredBy: 'cron' }
|
|
|
+ }
|
|
|
]
|
|
|
},
|
|
|
modelLog: {
|
|
|
@@ -542,10 +731,62 @@ export default {
|
|
|
cost: 'Cost'
|
|
|
},
|
|
|
logs: [
|
|
|
- { id: 1, timestamp: '2026-01-28 14:25:33', model: 'GPT-4', workflowName: 'AI Article Generation', status: 'success', tokens: '1,250', cost: '$0.025', responseTime: '1.8s', inputTokens: 450, outputTokens: 800, prompt: 'Help me write an article about the development of AI...', response: 'The history of artificial intelligence can be traced back to...' },
|
|
|
- { id: 2, timestamp: '2026-01-28 14:23:15', model: 'Claude-3', workflowName: 'Smart Customer Service', status: 'success', tokens: '680', cost: '$0.014', responseTime: '0.9s', inputTokens: 280, outputTokens: 400, prompt: 'User asks: how do I return a product?', response: 'Hello, here is the return process...' },
|
|
|
- { id: 3, timestamp: '2026-01-28 14:20:42', model: 'GPT-4', workflowName: 'Code Review Assistant', status: 'success', tokens: '2,100', cost: '$0.042', responseTime: '2.3s', inputTokens: 1200, outputTokens: 900, prompt: 'Please review the following code...', response: 'Code review result: overall structure looks solid...' },
|
|
|
- { id: 4, timestamp: '2026-01-28 14:18:05', model: 'GPT-3.5', workflowName: 'Data Analysis', status: 'failed', tokens: '0', cost: '$0.000', responseTime: '5.0s', inputTokens: 0, outputTokens: 0, prompt: 'Analyze sales data...', response: 'Error: API rate limit exceeded' }
|
|
|
+ {
|
|
|
+ id: 1,
|
|
|
+ timestamp: '2026-01-28 14:25:33',
|
|
|
+ model: 'GPT-4',
|
|
|
+ workflowName: 'AI Article Generation',
|
|
|
+ status: 'success',
|
|
|
+ tokens: '1,250',
|
|
|
+ cost: '$0.025',
|
|
|
+ responseTime: '1.8s',
|
|
|
+ inputTokens: 450,
|
|
|
+ outputTokens: 800,
|
|
|
+ prompt: 'Help me write an article about the development of AI...',
|
|
|
+ response: 'The history of artificial intelligence can be traced back to...'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 2,
|
|
|
+ timestamp: '2026-01-28 14:23:15',
|
|
|
+ model: 'Claude-3',
|
|
|
+ workflowName: 'Smart Customer Service',
|
|
|
+ status: 'success',
|
|
|
+ tokens: '680',
|
|
|
+ cost: '$0.014',
|
|
|
+ responseTime: '0.9s',
|
|
|
+ inputTokens: 280,
|
|
|
+ outputTokens: 400,
|
|
|
+ prompt: 'User asks: how do I return a product?',
|
|
|
+ response: 'Hello, here is the return process...'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 3,
|
|
|
+ timestamp: '2026-01-28 14:20:42',
|
|
|
+ model: 'GPT-4',
|
|
|
+ workflowName: 'Code Review Assistant',
|
|
|
+ status: 'success',
|
|
|
+ tokens: '2,100',
|
|
|
+ cost: '$0.042',
|
|
|
+ responseTime: '2.3s',
|
|
|
+ inputTokens: 1200,
|
|
|
+ outputTokens: 900,
|
|
|
+ prompt: 'Please review the following code...',
|
|
|
+ response: 'Code review result: overall structure looks solid...'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 4,
|
|
|
+ timestamp: '2026-01-28 14:18:05',
|
|
|
+ model: 'GPT-3.5',
|
|
|
+ workflowName: 'Data Analysis',
|
|
|
+ status: 'failed',
|
|
|
+ tokens: '0',
|
|
|
+ cost: '$0.000',
|
|
|
+ responseTime: '5.0s',
|
|
|
+ inputTokens: 0,
|
|
|
+ outputTokens: 0,
|
|
|
+ prompt: 'Analyze sales data...',
|
|
|
+ response: 'Error: API rate limit exceeded'
|
|
|
+ }
|
|
|
]
|
|
|
},
|
|
|
statisticsPage: {
|
|
|
@@ -571,43 +812,147 @@ export default {
|
|
|
chartTitle: 'Production Runs Over Time',
|
|
|
tableTitle: 'Production Run Details',
|
|
|
tableData: [
|
|
|
- { name: 'Project 1', totalExecutions: 12, failedExecutions: 1, failureRate: '8.3%', timeSaved: '2.5h', avgRuntime: '5.1s', projectName: 'Data Processing Project' },
|
|
|
- { name: 'Project 2', totalExecutions: 18, failedExecutions: 1, failureRate: '5.6%', timeSaved: '4.2h', avgRuntime: '4.8s', projectName: 'AI Analytics Project' },
|
|
|
- { name: 'Project 3', totalExecutions: 12, failedExecutions: 1, failureRate: '8.3%', timeSaved: '2.5h', avgRuntime: '5.3s', projectName: 'Image Recognition Project' }
|
|
|
+ {
|
|
|
+ name: 'Project 1',
|
|
|
+ totalExecutions: 12,
|
|
|
+ failedExecutions: 1,
|
|
|
+ failureRate: '8.3%',
|
|
|
+ timeSaved: '2.5h',
|
|
|
+ avgRuntime: '5.1s',
|
|
|
+ projectName: 'Data Processing Project'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'Project 2',
|
|
|
+ totalExecutions: 18,
|
|
|
+ failedExecutions: 1,
|
|
|
+ failureRate: '5.6%',
|
|
|
+ timeSaved: '4.2h',
|
|
|
+ avgRuntime: '4.8s',
|
|
|
+ projectName: 'AI Analytics Project'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'Project 3',
|
|
|
+ totalExecutions: 12,
|
|
|
+ failedExecutions: 1,
|
|
|
+ failureRate: '8.3%',
|
|
|
+ timeSaved: '2.5h',
|
|
|
+ avgRuntime: '5.3s',
|
|
|
+ projectName: 'Image Recognition Project'
|
|
|
+ }
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
chartTitle: 'Failed Production Runs Over Time',
|
|
|
tableTitle: 'Failed Run Details',
|
|
|
tableData: [
|
|
|
- { name: 'Project 1', totalExecutions: 1, failedExecutions: 1, failureRate: '100%', timeSaved: '0h', avgRuntime: '2.1s', projectName: 'Data Processing Project' },
|
|
|
- { name: 'Project 2', totalExecutions: 1, failedExecutions: 1, failureRate: '100%', timeSaved: '0h', avgRuntime: '1.8s', projectName: 'AI Analytics Project' },
|
|
|
- { name: 'Project 3', totalExecutions: 1, failedExecutions: 1, failureRate: '100%', timeSaved: '0h', avgRuntime: '3.3s', projectName: 'Image Recognition Project' }
|
|
|
+ {
|
|
|
+ name: 'Project 1',
|
|
|
+ totalExecutions: 1,
|
|
|
+ failedExecutions: 1,
|
|
|
+ failureRate: '100%',
|
|
|
+ timeSaved: '0h',
|
|
|
+ avgRuntime: '2.1s',
|
|
|
+ projectName: 'Data Processing Project'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'Project 2',
|
|
|
+ totalExecutions: 1,
|
|
|
+ failedExecutions: 1,
|
|
|
+ failureRate: '100%',
|
|
|
+ timeSaved: '0h',
|
|
|
+ avgRuntime: '1.8s',
|
|
|
+ projectName: 'AI Analytics Project'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'Project 3',
|
|
|
+ totalExecutions: 1,
|
|
|
+ failedExecutions: 1,
|
|
|
+ failureRate: '100%',
|
|
|
+ timeSaved: '0h',
|
|
|
+ avgRuntime: '3.3s',
|
|
|
+ projectName: 'Image Recognition Project'
|
|
|
+ }
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
chartTitle: 'Failure Rate Over Time',
|
|
|
tableTitle: 'Failure Rate Details',
|
|
|
tableData: [
|
|
|
- { name: 'Project 1', totalExecutions: 12, failedExecutions: 1, failureRate: '8.3%', timeSaved: '2.5h', avgRuntime: '5.1s', projectName: 'Data Processing Project' },
|
|
|
- { name: 'Project 2', totalExecutions: 18, failedExecutions: 1, failureRate: '5.6%', timeSaved: '4.2h', avgRuntime: '4.8s', projectName: 'AI Analytics Project' }
|
|
|
+ {
|
|
|
+ name: 'Project 1',
|
|
|
+ totalExecutions: 12,
|
|
|
+ failedExecutions: 1,
|
|
|
+ failureRate: '8.3%',
|
|
|
+ timeSaved: '2.5h',
|
|
|
+ avgRuntime: '5.1s',
|
|
|
+ projectName: 'Data Processing Project'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'Project 2',
|
|
|
+ totalExecutions: 18,
|
|
|
+ failedExecutions: 1,
|
|
|
+ failureRate: '5.6%',
|
|
|
+ timeSaved: '4.2h',
|
|
|
+ avgRuntime: '4.8s',
|
|
|
+ projectName: 'AI Analytics Project'
|
|
|
+ }
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
chartTitle: 'Time Saved Over Time',
|
|
|
tableTitle: 'Time Saved Details',
|
|
|
tableData: [
|
|
|
- { name: 'Project 1', totalExecutions: 12, failedExecutions: 1, failureRate: '8.3%', timeSaved: '2.5h', avgRuntime: '5.1s', projectName: 'Data Processing Project' },
|
|
|
- { name: 'Project 3', totalExecutions: 12, failedExecutions: 1, failureRate: '8.3%', timeSaved: '2.5h', avgRuntime: '5.3s', projectName: 'Image Recognition Project' }
|
|
|
+ {
|
|
|
+ name: 'Project 1',
|
|
|
+ totalExecutions: 12,
|
|
|
+ failedExecutions: 1,
|
|
|
+ failureRate: '8.3%',
|
|
|
+ timeSaved: '2.5h',
|
|
|
+ avgRuntime: '5.1s',
|
|
|
+ projectName: 'Data Processing Project'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'Project 3',
|
|
|
+ totalExecutions: 12,
|
|
|
+ failedExecutions: 1,
|
|
|
+ failureRate: '8.3%',
|
|
|
+ timeSaved: '2.5h',
|
|
|
+ avgRuntime: '5.3s',
|
|
|
+ projectName: 'Image Recognition Project'
|
|
|
+ }
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
chartTitle: 'Average Runtime Over Time',
|
|
|
tableTitle: 'Runtime Details',
|
|
|
tableData: [
|
|
|
- { name: 'Project 2', totalExecutions: 18, failedExecutions: 1, failureRate: '5.6%', timeSaved: '4.2h', avgRuntime: '4.8s', projectName: 'AI Analytics Project' },
|
|
|
- { name: 'Project 3', totalExecutions: 12, failedExecutions: 1, failureRate: '8.3%', timeSaved: '2.5h', avgRuntime: '5.3s', projectName: 'Image Recognition Project' },
|
|
|
- { name: 'Project 1', totalExecutions: 12, failedExecutions: 1, failureRate: '8.3%', timeSaved: '2.5h', avgRuntime: '5.1s', projectName: 'Data Processing Project' }
|
|
|
+ {
|
|
|
+ name: 'Project 2',
|
|
|
+ totalExecutions: 18,
|
|
|
+ failedExecutions: 1,
|
|
|
+ failureRate: '5.6%',
|
|
|
+ timeSaved: '4.2h',
|
|
|
+ avgRuntime: '4.8s',
|
|
|
+ projectName: 'AI Analytics Project'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'Project 3',
|
|
|
+ totalExecutions: 12,
|
|
|
+ failedExecutions: 1,
|
|
|
+ failureRate: '8.3%',
|
|
|
+ timeSaved: '2.5h',
|
|
|
+ avgRuntime: '5.3s',
|
|
|
+ projectName: 'Image Recognition Project'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'Project 1',
|
|
|
+ totalExecutions: 12,
|
|
|
+ failedExecutions: 1,
|
|
|
+ failureRate: '8.3%',
|
|
|
+ timeSaved: '2.5h',
|
|
|
+ avgRuntime: '5.1s',
|
|
|
+ projectName: 'Data Processing Project'
|
|
|
+ }
|
|
|
]
|
|
|
}
|
|
|
]
|
|
|
@@ -626,10 +971,22 @@ export default {
|
|
|
stepsTitle: 'Getting Started',
|
|
|
resourcesTitle: 'More Resources',
|
|
|
steps: [
|
|
|
- { title: 'Create a Workflow', desc: 'Click the “+” button in the sidebar and choose “Workflow” to create your first flow' },
|
|
|
- { title: 'Add Nodes', desc: 'Use start, end, HTTP request, conditional branch, code execution, data query, and more to assemble your business logic' },
|
|
|
- { title: 'Configure and Test', desc: 'Set node parameters and run tests to confirm everything works as expected' },
|
|
|
- { title: 'Deploy', desc: 'Save and activate your workflow so it can work for you automatically' }
|
|
|
+ {
|
|
|
+ title: 'Create a Workflow',
|
|
|
+ desc: 'Click the “+” button in the sidebar and choose “Workflow” to create your first flow'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: 'Add Nodes',
|
|
|
+ desc: 'Use start, end, HTTP request, conditional branch, code execution, data query, and more to assemble your business logic'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: 'Configure and Test',
|
|
|
+ desc: 'Set node parameters and run tests to confirm everything works as expected'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: 'Deploy',
|
|
|
+ desc: 'Save and activate your workflow so it can work for you automatically'
|
|
|
+ }
|
|
|
],
|
|
|
resources: [
|
|
|
{ icon: 'book', title: 'Read Docs', desc: 'Explore every product capability in depth' },
|
|
|
@@ -640,19 +997,57 @@ export default {
|
|
|
docs: {
|
|
|
sidebarTitle: 'Documentation',
|
|
|
navSections: [
|
|
|
- { title: 'Quick Start', items: [{ key: 'intro', label: 'Introduction' }, { key: 'installation', label: 'Installation' }] },
|
|
|
- { title: 'Core Concepts', items: [{ key: 'workflow', label: 'Workflow' }, { key: 'nodes', label: 'Nodes' }, { key: 'credentials', label: 'Credentials' }] },
|
|
|
- { title: 'Node Docs', items: [{ key: 'http', label: 'HTTP Node' }, { key: 'code', label: 'Code Node' }, { key: 'database', label: 'Database Node' }] }
|
|
|
+ {
|
|
|
+ title: 'Quick Start',
|
|
|
+ items: [
|
|
|
+ { key: 'intro', label: 'Introduction' },
|
|
|
+ { key: 'installation', label: 'Installation' }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: 'Core Concepts',
|
|
|
+ items: [
|
|
|
+ { key: 'workflow', label: 'Workflow' },
|
|
|
+ { key: 'nodes', label: 'Nodes' },
|
|
|
+ { key: 'credentials', label: 'Credentials' }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: 'Node Docs',
|
|
|
+ items: [
|
|
|
+ { key: 'http', label: 'HTTP Node' },
|
|
|
+ { key: 'code', label: 'Code Node' },
|
|
|
+ { key: 'database', label: 'Database Node' }
|
|
|
+ ]
|
|
|
+ }
|
|
|
],
|
|
|
docMap: {
|
|
|
- intro: { title: 'About AI Agent', description: 'Learn the core concepts and basic usage of AI Agent' },
|
|
|
- installation: { title: 'Installation and Deployment', description: 'Install and configure AI Agent in your environment' },
|
|
|
- workflow: { title: 'Workflow Concepts', description: 'Understand design patterns and best practices for workflows' },
|
|
|
- nodes: { title: 'Node System', description: 'Understand how the node system works and how to use it' },
|
|
|
- credentials: { title: 'Credential Management', description: 'Manage and use third-party credentials securely' },
|
|
|
+ intro: {
|
|
|
+ title: 'About AI Agent',
|
|
|
+ description: 'Learn the core concepts and basic usage of AI Agent'
|
|
|
+ },
|
|
|
+ installation: {
|
|
|
+ title: 'Installation and Deployment',
|
|
|
+ description: 'Install and configure AI Agent in your environment'
|
|
|
+ },
|
|
|
+ workflow: {
|
|
|
+ title: 'Workflow Concepts',
|
|
|
+ description: 'Understand design patterns and best practices for workflows'
|
|
|
+ },
|
|
|
+ nodes: {
|
|
|
+ title: 'Node System',
|
|
|
+ description: 'Understand how the node system works and how to use it'
|
|
|
+ },
|
|
|
+ credentials: {
|
|
|
+ title: 'Credential Management',
|
|
|
+ description: 'Manage and use third-party credentials securely'
|
|
|
+ },
|
|
|
http: { title: 'HTTP Node', description: 'Use the HTTP node to work with REST APIs' },
|
|
|
code: { title: 'Code Node', description: 'Write custom code for advanced business logic' },
|
|
|
- database: { title: 'Database Node', description: 'Connect to and operate on database systems' }
|
|
|
+ database: {
|
|
|
+ title: 'Database Node',
|
|
|
+ description: 'Connect to and operate on database systems'
|
|
|
+ }
|
|
|
},
|
|
|
sections: {
|
|
|
overview: 'Overview',
|
|
|
@@ -697,6 +1092,10 @@ export default {
|
|
|
tagPlaceholder: 'Press Enter to add tags',
|
|
|
tagButton: 'Tags',
|
|
|
publish: 'Publish',
|
|
|
+ status: {
|
|
|
+ published: 'Published',
|
|
|
+ unpublished: 'Unpublished'
|
|
|
+ },
|
|
|
menu: {
|
|
|
description: 'Description',
|
|
|
reuse: 'Reuse',
|
|
|
@@ -707,8 +1106,10 @@ export default {
|
|
|
loadFailed: 'Failed to load agent workflow',
|
|
|
saveFailed: 'Failed to save agent',
|
|
|
saved: 'Agent saved',
|
|
|
- varsSaved: 'Variables saved'
|
|
|
- }
|
|
|
+ varsSaved: 'Variables saved',
|
|
|
+ publishSuccess: 'Agent published'
|
|
|
+ },
|
|
|
+ selectPublishNode: 'Please select a node to publish'
|
|
|
},
|
|
|
nodeView: {
|
|
|
messages: {
|
|
|
@@ -716,7 +1117,8 @@ export default {
|
|
|
runFailed: 'Failed to run node',
|
|
|
missingTrigger: 'No runnable trigger node was found',
|
|
|
loopEndOnlyInside: 'The loop-exit node can only be added inside loop or iteration nodes',
|
|
|
- noNestedLoop: 'Loop and iteration nodes cannot be nested inside another loop or iteration node',
|
|
|
+ noNestedLoop:
|
|
|
+ 'Loop and iteration nodes cannot be nested inside another loop or iteration node',
|
|
|
nodeAdded: 'Node added',
|
|
|
addNodeFailed: 'Failed to add node',
|
|
|
edgeCreated: 'Connection created',
|
|
|
@@ -1089,10 +1491,19 @@ export default {
|
|
|
other: 'Other'
|
|
|
},
|
|
|
meta: {
|
|
|
- start: { displayName: 'User Input', description: 'Collect user input when the workflow starts' },
|
|
|
+ start: {
|
|
|
+ displayName: 'User Input',
|
|
|
+ description: 'Collect user input when the workflow starts'
|
|
|
+ },
|
|
|
end: { displayName: 'Output', description: 'Finish the workflow and output the result' },
|
|
|
- 'http-request': { displayName: 'HTTP Request', description: 'Fetch data through an HTTP request' },
|
|
|
- 'if-else': { displayName: 'Condition', description: 'Route to different branches based on conditions' },
|
|
|
+ 'http-request': {
|
|
|
+ displayName: 'HTTP Request',
|
|
|
+ description: 'Fetch data through an HTTP request'
|
|
|
+ },
|
|
|
+ 'if-else': {
|
|
|
+ displayName: 'Condition',
|
|
|
+ description: 'Route to different branches based on conditions'
|
|
|
+ },
|
|
|
database: { displayName: 'Database Query', description: 'Query data through a database' },
|
|
|
code: { displayName: 'Code', description: 'Process data with code' },
|
|
|
iteration: { displayName: 'Iteration', description: 'Iteration node' },
|
|
|
@@ -1103,7 +1514,10 @@ export default {
|
|
|
description: 'Classify questions into predefined categories'
|
|
|
},
|
|
|
'loop-end': { displayName: 'Exit Loop', description: 'Exit the current iteration or loop' },
|
|
|
- 'trigger-schedule': { displayName: 'Schedule Trigger', description: 'Trigger the workflow on a schedule' },
|
|
|
+ 'trigger-schedule': {
|
|
|
+ displayName: 'Schedule Trigger',
|
|
|
+ description: 'Trigger the workflow on a schedule'
|
|
|
+ },
|
|
|
'trigger-webhook': {
|
|
|
displayName: 'Webhook Trigger',
|
|
|
description: 'Receive third-party webhook requests and trigger the workflow'
|