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',

View File

@@ -6,6 +6,8 @@ const translation = {
agent: 'Agent',
workflow: '工作流',
completion: '文本生成',
advanced: 'Chatflow',
basic: '基础编排',
},
duplicate: '复制',
mermaid: {
@@ -30,25 +32,34 @@ const translation = {
communityIntro: '与团队成员、贡献者和开发者在不同频道中交流',
roadmap: '产品路线图',
newApp: {
learnMore: '了解更多',
startFromBlank: '创建空白应用',
startFromTemplate: '从应用模版创建',
captionAppType: '想要哪种应用类型?',
chatbotDescription: '使用大型语言模型构建基于聊天的助手',
completionDescription: '构建一个根据提示生成高质量文本的应用程序,例如生成文章、摘要、翻译等。',
foundResult: '{{count}} 个结果',
foundResults: '{{count}} 个结果',
noAppsFound: '未找到应用',
noTemplateFound: '未找到模板',
noTemplateFoundTip: '请尝试使用不同的关键字进行搜索。',
chatbotShortDescription: '简单配置即可构建基于 LLM 的对话机器人',
chatbotUserDescription: '通过简单的配置快速搭建一个基于 LLM 的对话机器人。支持切换为 Chatflow 编排。',
completionShortDescription: '用于文本生成任务的 AI 助手',
completionUserDescription: '通过简单的配置快速搭建一个面向文本生成类任务的 AI 助手。',
completionWarning: '该类型不久后将不再支持创建',
agentDescription: '构建一个智能Agent可以自主选择工具来完成任务',
workflowDescription: '以工作流的形式编排生成型应用,提供更多的自定义能力。 它适合有经验的用户。',
agentShortDescription: '具备推理与自主工具调用的智能助手',
agentUserDescription: '能够迭代式的规划推理、自主工具调用,直至完成任务目标的智能助手。',
workflowShortDescription: '面向单轮自动化任务的编排工作流',
workflowUserDescription: '基于工作流编排,适用于自动化、批处理等单轮生成类任务的场景。',
workflowWarning: '正在进行 Beta 测试',
chatbotType: '聊天助手编排方法',
basic: '基础编排',
basicTip: '新手适用,可以切换成工作流编排',
basicFor: '新手适用',
basicDescription: '基本编排允许使用简单的设置编排聊天机器人应用程序,而无需修改内置提示。 它适合初学者。',
advanced: '工作流编排',
advancedFor: '进阶用户适用',
advancedDescription: '工作流编排以工作流的形式编排聊天机器人,提供高度的自定义,包括编辑内置提示的能力。 它适合有经验的用户。',
captionName: '图标 & 名称',
advancedShortDescription: '支持记忆的复杂多轮对话工作流',
advancedUserDescription: '基于工作流编排,适用于定义等复杂流程的多轮对话场景,具有记忆功能。',
chooseAppType: '选择应用类型',
forBeginners: '新手适用',
forAdvanced: '进阶用户适用',
noIdeaTip: '没有想法?试试我们的模板',
captionName: '应用名称 & 图标',
appNamePlaceholder: '给你的应用起个名字',
optional: '可选',
captionDescription: '描述',
appDescriptionPlaceholder: '输入应用的描述',
useTemplate: '使用该模板',
@@ -78,6 +89,19 @@ const translation = {
appCreateFailed: '应用创建失败',
Confirm: '确认',
},
newAppFromTemplate: {
byCategories: '分类',
searchAllTemplate: '搜索所有模版...',
sidebar: {
Recommended: '推荐',
Agent: 'Agent',
Assistant: '助手',
HR: '人力资源',
Workflow: '工作流',
Writing: '写作',
Programming: '编程',
},
},
editApp: '编辑信息',
editAppTitle: '编辑应用信息',
editDone: '应用信息已更新',
@@ -106,6 +130,7 @@ const translation = {
agent: 'Agent',
workflow: '工作流',
completion: '文本生成',
advanced: 'Chatflow',
},
tracing: {
title: '追踪应用性能',

View File

@@ -39,7 +39,7 @@ const translation = {
advanced: '工作流編排',
advancedFor: '進階使用者適用',
advancedDescription: '工作流編排以工作流的形式編排聊天機器人,提供高度的自定義,包括編輯內建提示的能力。 它適合有經驗的使用者。',
captionName: '圖示 & 名稱',
captionName: '應用名稱 & 圖示',
appNamePlaceholder: '給你的應用起個名字',
captionDescription: '描述',
appDescriptionPlaceholder: '輸入應用的描述',