Feat: new entry point for app creation (#10847)

This commit is contained in:
NFish
2024-12-13 17:29:09 +08:00
committed by GitHub
parent bdfdccd511
commit a725b8bb6e
93 changed files with 1368 additions and 592 deletions

View File

@@ -6,6 +6,8 @@ const translation = {
agent: 'Agent',
workflow: 'Workflow',
completion: 'Completion',
advanced: 'Chatflow',
basic: 'Basic',
},
duplicate: 'Duplicate',
mermaid: {
@@ -31,26 +33,33 @@ const translation = {
'Discuss with team members, contributors and developers on different channels.',
roadmap: 'See our roadmap',
newApp: {
learnMore: 'Learn more',
startFromBlank: 'Create from Blank',
startFromTemplate: 'Create from Template',
captionAppType: 'What type of app do you want to create?',
chatbotDescription: 'Build a chat-based application. This app uses a question-and-answer format, allowing for multiple rounds of continuous conversation.',
completionDescription: 'Build an application that generates high-quality text based on prompts, such as generating articles, summaries, translations, and more.',
completionWarning: 'This type of app will no longer be supported.',
agentDescription: 'Build an intelligent Agent which can autonomously choose tools to complete the tasks',
workflowDescription: 'Build an application that generates high-quality text based on workflow orchestrates with a high degree of customization. It is suitable for experienced users.',
foundResult: '{{count}} Result',
foundResults: '{{count}} Results',
noAppsFound: 'No apps found',
noTemplateFound: 'No templates found',
noTemplateFoundTip: 'Try searching using different keywords.',
chatbotShortDescription: 'LLM-based chatbot with simple setup',
chatbotUserDescription: 'Quickly build an LLM-based chatbot with simple configuration. You can switch to Chatflow later.',
completionShortDescription: 'AI assistant for text generation tasks',
completionUserDescription: 'Quickly build an AI assistant for text generation tasks with simple configuration.',
agentShortDescription: 'Intelligent agent with reasoning and autonomous tool use',
agentUserDescription: 'An intelligent agent capable of iterative reasoning and autonomous tool use to achieve task goals.',
workflowShortDescription: 'Orchestration for single-turn automation tasks',
workflowUserDescription: 'Workflow orchestration for single-round tasks like automation and batch processing.',
workflowWarning: 'Currently in beta',
chatbotType: 'Chatbot orchestrate method',
basic: 'Basic',
basicTip: 'For beginners, can switch to Chatflow later',
basicFor: 'FOR BEGINNERS',
basicDescription: 'Basic Orchestrate allows for the orchestration of a Chatbot app using simple settings, without the ability to modify built-in prompts. It is suitable for beginners.',
advanced: 'Chatflow',
advancedFor: 'For advanced users',
advancedDescription: 'Workflow Orchestrate orchestrates Chatbots in the form of workflows, offering a high degree of customization, including the ability to edit built-in prompts. It is suitable for experienced users.',
captionName: 'App icon & name',
advancedShortDescription: 'Workflow for complex multi-turn dialogues with memory',
advancedUserDescription: 'Workflow orchestration for multi-round complex dialogue tasks with memory capabilities.',
chooseAppType: 'Choose App Type',
forBeginners: 'FOR BEGINNERS',
forAdvanced: 'FOR ADVANCED USERS',
noIdeaTip: 'No ideas? Check out our templates',
captionName: 'App Name & Icon',
appNamePlaceholder: 'Give your app a name',
captionDescription: 'Description',
optional: 'Optional',
appDescriptionPlaceholder: 'Enter the description of the app',
useTemplate: 'Use this template',
previewDemo: 'Preview demo',
@@ -79,6 +88,19 @@ const translation = {
appCreateDSLErrorPart4: 'System-supported DSL version: ',
appCreateFailed: 'Failed to create app',
},
newAppFromTemplate: {
byCategories: 'BY CATEGORIES',
searchAllTemplate: 'Search all templates...',
sidebar: {
Recommended: 'Recommended',
Agent: 'Agent',
Assistant: 'Assistant',
HR: 'HR',
Workflow: 'Workflow',
Writing: 'Writing',
Programming: 'Programming',
},
},
editApp: 'Edit Info',
editAppTitle: 'Edit App Info',
editDone: 'App info updated',
@@ -108,6 +130,7 @@ const translation = {
agent: 'Agent',
workflow: 'Workflow',
completion: 'Completion',
advanced: 'Chatflow',
},
tracing: {
title: 'Tracing app performance',