FEAT: NEW WORKFLOW ENGINE (#3160)

Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: Yeuoly <admin@srmxy.cn>
Co-authored-by: JzoNg <jzongcode@gmail.com>
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
Co-authored-by: jyong <jyong@dify.ai>
Co-authored-by: nite-knite <nkCoding@gmail.com>
Co-authored-by: jyong <718720800@qq.com>
This commit is contained in:
takatost 2024-04-08 18:51:46 +08:00 • committed by GitHub
commit 7753ba2d37
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
1161 changed files with 103836 additions and 10327 deletions

View file

@ -260,18 +260,19 @@ const translation = {
queryNoBeEmpty: 'Запит має бути встановлений у підказці', // Query must be set in the prompt
},
variableConig: {
modalTitle: 'Налаштування поля', // Field settings
description: 'Налаштування для змінної {{varName}}', // Setting for variable {{varName}}
fieldType: 'Тип поля', // Field type
string: 'Короткий текст', // Short Text
paragraph: 'Абзац', // Paragraph
select: 'Вибрати', // Select
notSet: 'Не налаштовано, спробуйте ввести {{input}} у префіксну підказку', // Not set, try typing {{input}} in the prefix prompt
stringTitle: 'Опції текстового поля форми', // Form text box options
maxLength: 'Максимальна довжина', // Max length
options: 'Опції', // Options
addOption: 'Додати опцію', // Add option
apiBasedVar: 'Змінна на основі API', // API-based Variable
'addModalTitle': 'Налаштування поля', // Field settings
'description': 'Налаштування для змінної {{varName}}', // Setting for variable {{varName}}
'fieldType': 'Тип поля', // Field type
'string': 'Короткий текст', // Short Text
'text-input': 'Короткий текст', // Short Text
'paragraph': 'Абзац', // Paragraph
'select': 'Вибрати', // Select
'notSet': 'Не налаштовано, спробуйте ввести {{input}} у префіксну підказку', // Not set, try typing {{input}} in the prefix prompt
'stringTitle': 'Опції текстового поля форми', // Form text box options
'maxLength': 'Максимальна довжина', // Max length
'options': 'Опції', // Options
'addOption': 'Додати опцію', // Add option
'apiBasedVar': 'Змінна на основі API', // API-based Variable
},
vision: {
name: 'Зображення', // Vision

View file

@ -1,15 +1,16 @@
const translation = { // Add the Ukrainian translation object
createApp: 'Створити новий додаток',
createApp: 'Створити додаток',
types: {
all: 'Всі',
assistant: 'Асистент',
all: 'Все',
chatbot: 'Чатбот',
agent: 'Агент',
workflow: 'Робочий Процес',
completion: 'Автодоповнення',
},
modes: {
completion: 'Генератор тексту',
chat: 'Базовий асистент',
},
createFromConfigFile: 'Створити додаток з файла конфігурації',
duplicate: 'Дублювати',
duplicateTitle: 'Дублювати додаток',
export: 'Експортувати DSL',
createFromConfigFile: 'Створити через файл DSL',
deleteAppConfirmTitle: 'Видалити цей додаток?',
deleteAppConfirmContent:
'Видалення додатка є незворотнім. Користувачі більше не матимуть доступ до вашого додатка, всі конфігурації підказок та журнали будуть видалені назавжди.',
@ -19,11 +20,18 @@ const translation = { // Add the Ukrainian translation object
communityIntro:
'Обговорюйте різні питання з членами команди, учасниками та розробниками на різних каналах.',
roadmap: 'Ознайомтеся з нашою дорожньою картою',
appNamePlaceholder: 'Будь ласка, введіть назву додатка',
newApp: {
startToCreate: 'Давайте створимо Ваш новий додаток',
captionName: 'Значок та назва додатка',
startFromBlank: 'Розпочати з порожнього додатку',
startFromTemplate: 'Розпочати з шаблону',
captionAppType: 'Який тип додатка Ви бажаєте створити?',
chatbotDescription: 'Побудувати чат-асистента, використовуючи Модель Великої Мови',
agentDescription: 'Побудувати розумного Агента, який може автономно обирати інструменти для виконання завдань',
workflowDescription: 'Description text here',
captionName: 'Значок та назва додатка',
appNamePlaceholder: 'Назвіть свій додаток',
captionDescription: 'Опис',
appDescriptionPlaceholder: 'Введіть опис додатку',
useTemplate: 'Використати цей шаблон',
previewDemo: 'Попередній перегляд демо',
chatApp: 'Асистент',
chatAppIntro:

View file

@ -400,6 +400,7 @@ const translation = {
promptEng: 'Налаштування',
apiAccess: 'Доступ до API',
logAndAnn: 'Журнали та Повідомлення.',
logs: 'Журнали',
},
environment: {
testing: 'ТЕСТУВАННЯ',

11
web/i18n/uk-UA/run-log.ts Normal file
View file

@ -0,0 +1,11 @@
const translation = {
result: 'RESULT',
tracing: 'TRACING',
resultPanel: {
status: 'STATUS',
time: 'ELAPSED TIME',
tokens: 'TOTAL TOKENS',
},
}
export default translation

View file

@ -0,0 +1,91 @@
const translation = {
nodes: {
common: {
outputVars: 'Output Variables',
insertVarTip: 'Insert Variable',
},
start: {
required: 'required',
inputField: 'Input Field',
builtInVar: 'Built-in Variables',
outputVars: {
query: 'User input',
memories: {
des: 'Conversation history',
type: 'message type',
content: 'message content',
},
files: 'File list',
},
},
end: {
outputs: 'Outputs',
type: {
'none': 'None',
'plain-text': 'Plain Text',
'structured': 'Structured',
},
},
answer: {
answer: 'Answer',
inputVars: 'Input Variables',
},
llm: {
model: 'model',
variables: 'variables',
context: 'context',
prompt: 'prompt',
vision: 'vision',
outputVars: {
output: 'Generate content',
usage: 'Model Usage Information',
},
},
http: {
inputVars: 'Input Variables',
api: 'API',
headers: 'Headers',
params: 'Params',
body: 'Body',
outputVars: {
body: 'Response Content',
statusCode: 'Response Status Code',
headers: 'Response Header List JSON',
},
},
code: {
inputVars: 'Input Variables',
outputVars: 'Output Variables',
},
templateTransform: {
inputVars: 'Input Variables',
code: 'Code',
codeSupportTip: 'Only supports Jinja2',
outputVars: {
output: 'Transformed content',
},
},
ifElse: {
conditions: 'Conditions',
and: 'and',
or: 'or',
comparisonOperator: {
'contains': 'contains',
'not contains': 'not contains',
'start with': 'start with',
'end with': 'end with',
'is': 'is',
'is not': 'is not',
'empty': 'empty',
'not empty': 'not empty',
'null': 'is null',
'not null': 'is not null',
},
},
variableAssigner: {
title: 'Assign variables',
},
},
}
export default translation