workflow.ts 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635
  1. const translation = {
  2. common: {
  3. undo: 'Undo',
  4. redo: 'Redo',
  5. editing: 'Editing',
  6. autoSaved: 'Auto-Saved',
  7. unpublished: 'Unpublished',
  8. published: 'Published',
  9. publish: 'Publish',
  10. update: 'Update',
  11. run: 'Run',
  12. running: 'Running',
  13. inRunMode: 'In Run Mode',
  14. inPreview: 'In Preview',
  15. inPreviewMode: 'In Preview Mode',
  16. preview: 'Preview',
  17. viewRunHistory: 'View run history',
  18. runHistory: 'Run History',
  19. goBackToEdit: 'Go back to editor',
  20. conversationLog: 'Conversation Log',
  21. features: 'Features',
  22. featuresDescription: 'Enhance web app user experience',
  23. ImageUploadLegacyTip: 'You can now create file type variables in the start form. We will no longer support the image upload feature in the future. ',
  24. fileUploadTip: 'Image upload features have been upgraded to file upload. ',
  25. featuresDocLink: 'Learn more',
  26. debugAndPreview: 'Preview',
  27. restart: 'Restart',
  28. currentDraft: 'Current Draft',
  29. currentDraftUnpublished: 'Current Draft Unpublished',
  30. latestPublished: 'Latest Published',
  31. publishedAt: 'Published',
  32. restore: 'Restore',
  33. runApp: 'Run App',
  34. batchRunApp: 'Batch Run App',
  35. accessAPIReference: 'Access API Reference',
  36. embedIntoSite: 'Embed Into Site',
  37. addTitle: 'Add title...',
  38. addDescription: 'Add description...',
  39. noVar: 'No variable',
  40. searchVar: 'Search variable',
  41. variableNamePlaceholder: 'Variable name',
  42. setVarValuePlaceholder: 'Set variable',
  43. needConnectTip: 'This step is not connected to anything',
  44. maxTreeDepth: 'Maximum limit of {{depth}} nodes per branch',
  45. needEndNode: 'The End block must be added',
  46. needAnswerNode: 'The Answer block must be added',
  47. workflowProcess: 'Workflow Process',
  48. notRunning: 'Not running yet',
  49. previewPlaceholder: 'Enter content in the box below to start debugging the Chatbot',
  50. effectVarConfirm: {
  51. title: 'Remove Variable',
  52. content: 'The variable is used in other nodes. Do you still want to remove it?',
  53. },
  54. insertVarTip: 'Press the \'/\' key to insert quickly',
  55. processData: 'Process Data',
  56. input: 'Input',
  57. output: 'Output',
  58. jinjaEditorPlaceholder: 'Type \'/\' or \'{\' to insert variable',
  59. viewOnly: 'View Only',
  60. showRunHistory: 'Show Run History',
  61. enableJinja: 'Enable Jinja template support',
  62. learnMore: 'Learn More',
  63. copy: 'Copy',
  64. duplicate: 'Duplicate',
  65. addBlock: 'Add Block',
  66. pasteHere: 'Paste Here',
  67. pointerMode: 'Pointer Mode',
  68. handMode: 'Hand Mode',
  69. model: 'Model',
  70. workflowAsTool: 'Workflow as Tool',
  71. configureRequired: 'Configure Required',
  72. configure: 'Configure',
  73. manageInTools: 'Manage in Tools',
  74. workflowAsToolTip: 'Tool reconfiguration is required after the workflow update.',
  75. viewDetailInTracingPanel: 'View details',
  76. syncingData: 'Syncing data, just a few seconds.',
  77. importDSL: 'Import DSL',
  78. importDSLTip: 'Current draft will be overwritten.\nExport workflow as backup before importing.',
  79. backupCurrentDraft: 'Backup Current Draft',
  80. chooseDSL: 'Choose DSL file',
  81. overwriteAndImport: 'Overwrite and Import',
  82. importFailure: 'Import Failed',
  83. importWarning: 'Caution',
  84. importWarningDetails: 'DSL version difference may affect certain features',
  85. importSuccess: 'Import Successfully',
  86. parallelRun: 'Parallel Run',
  87. parallelTip: {
  88. click: {
  89. title: 'Click',
  90. desc: ' to add',
  91. },
  92. drag: {
  93. title: 'Drag',
  94. desc: ' to connect',
  95. },
  96. limit: 'Parallelism is limited to {{num}} branches.',
  97. depthLimit: 'Parallel nesting layer limit of {{num}} layers',
  98. },
  99. disconnect: 'Disconnect',
  100. jumpToNode: 'Jump to this node',
  101. addParallelNode: 'Add Parallel Node',
  102. parallel: 'PARALLEL',
  103. branch: 'BRANCH',
  104. },
  105. env: {
  106. envPanelTitle: 'Environment Variables',
  107. envDescription: 'Environment variables can be used to store private information and credentials. They are read-only and can be separated from the DSL file during export.',
  108. envPanelButton: 'Add Variable',
  109. modal: {
  110. title: 'Add Environment Variable',
  111. editTitle: 'Edit Environment Variable',
  112. type: 'Type',
  113. name: 'Name',
  114. namePlaceholder: 'env name',
  115. value: 'Value',
  116. valuePlaceholder: 'env value',
  117. secretTip: 'Used to define sensitive information or data, with DSL settings configured for leak prevention.',
  118. },
  119. export: {
  120. title: 'Export Secret environment variables?',
  121. checkbox: 'Export secret values',
  122. ignore: 'Export DSL',
  123. export: 'Export DSL with secret values ',
  124. },
  125. },
  126. chatVariable: {
  127. panelTitle: 'Conversation Variables',
  128. panelDescription: 'Conversation Variables are used to store interactive information that LLM needs to remember, including conversation history, uploaded files, user preferences. They are read-write. ',
  129. docLink: 'Visit our docs to learn more.',
  130. button: 'Add Variable',
  131. modal: {
  132. title: 'Add Conversation Variable',
  133. editTitle: 'Edit Conversation Variable',
  134. name: 'Name',
  135. namePlaceholder: 'Variable name',
  136. type: 'Type',
  137. value: 'Default Value',
  138. valuePlaceholder: 'Default value, leave blank to not set',
  139. description: 'Description',
  140. descriptionPlaceholder: 'Describe the variable',
  141. editInJSON: 'Edit in JSON',
  142. oneByOne: 'Add one by one',
  143. editInForm: 'Edit in Form',
  144. arrayValue: 'Value',
  145. addArrayValue: 'Add Value',
  146. objectKey: 'Key',
  147. objectType: 'Type',
  148. objectValue: 'Default Value',
  149. },
  150. storedContent: 'Stored content',
  151. updatedAt: 'Updated at ',
  152. },
  153. changeHistory: {
  154. title: 'Change History',
  155. placeholder: 'You haven\'t changed anything yet',
  156. clearHistory: 'Clear History',
  157. hint: 'Hint',
  158. hintText: 'Your editing actions are tracked in a change history, which is stored on your device for the duration of this session. This history will be cleared when you leave the editor.',
  159. stepBackward_one: '{{count}} step backward',
  160. stepBackward_other: '{{count}} steps backward',
  161. stepForward_one: '{{count}} step forward',
  162. stepForward_other: '{{count}} steps forward',
  163. sessionStart: 'Session Start',
  164. currentState: 'Current State',
  165. nodeTitleChange: 'Block title changed',
  166. nodeDescriptionChange: 'Block description changed',
  167. nodeDragStop: 'Block moved',
  168. nodeChange: 'Block changed',
  169. nodeConnect: 'Block connected',
  170. nodePaste: 'Block pasted',
  171. nodeDelete: 'Block deleted',
  172. nodeAdd: 'Block added',
  173. nodeResize: 'Block resized',
  174. noteAdd: 'Note added',
  175. noteChange: 'Note changed',
  176. noteDelete: 'Note deleted',
  177. edgeDelete: 'Block disconnected',
  178. },
  179. errorMsg: {
  180. fieldRequired: '{{field}} is required',
  181. rerankModelRequired: 'Before turning on the Rerank Model, please confirm that the model has been successfully configured in the settings.',
  182. authRequired: 'Authorization is required',
  183. invalidJson: '{{field}} is invalid JSON',
  184. fields: {
  185. variable: 'Variable Name',
  186. variableValue: 'Variable Value',
  187. code: 'Code',
  188. model: 'Model',
  189. rerankModel: 'Rerank Model',
  190. visionVariable: 'Vision Variable',
  191. },
  192. invalidVariable: 'Invalid variable',
  193. },
  194. singleRun: {
  195. testRun: 'Test Run ',
  196. startRun: 'Start Run',
  197. running: 'Running',
  198. testRunIteration: 'Test Run Iteration',
  199. back: 'Back',
  200. iteration: 'Iteration',
  201. },
  202. tabs: {
  203. 'searchBlock': 'Search block',
  204. 'blocks': 'Blocks',
  205. 'searchTool': 'Search tool',
  206. 'tools': 'Tools',
  207. 'allTool': 'All',
  208. 'builtInTool': 'Built-in',
  209. 'customTool': 'Custom',
  210. 'workflowTool': 'Workflow',
  211. 'question-understand': 'Question Understand',
  212. 'logic': 'Logic',
  213. 'transform': 'Transform',
  214. 'utilities': 'Utilities',
  215. 'noResult': 'No match found',
  216. },
  217. blocks: {
  218. 'start': 'Start',
  219. 'end': 'End',
  220. 'answer': 'Answer',
  221. 'llm': 'LLM',
  222. 'knowledge-retrieval': 'Knowledge Retrieval',
  223. 'question-classifier': 'Question Classifier',
  224. 'if-else': 'IF/ELSE',
  225. 'code': 'Code',
  226. 'template-transform': 'Template',
  227. 'http-request': 'HTTP Request',
  228. 'variable-assigner': 'Variable Aggregator',
  229. 'variable-aggregator': 'Variable Aggregator',
  230. 'assigner': 'Variable Assigner',
  231. 'iteration-start': 'Iteration Start',
  232. 'iteration': 'Iteration',
  233. 'parameter-extractor': 'Parameter Extractor',
  234. 'document-extractor': 'Doc Extractor',
  235. 'list-operator': 'List Operator',
  236. },
  237. blocksAbout: {
  238. 'start': 'Define the initial parameters for launching a workflow',
  239. 'end': 'Define the end and result type of a workflow',
  240. 'answer': 'Define the reply content of a chat conversation',
  241. 'llm': 'Invoking large language models to answer questions or process natural language',
  242. 'knowledge-retrieval': 'Allows you to query text content related to user questions from the Knowledge',
  243. 'question-classifier': 'Define the classification conditions of user questions, LLM can define how the conversation progresses based on the classification description',
  244. 'if-else': 'Allows you to split the workflow into two branches based on if/else conditions',
  245. 'code': 'Execute a piece of Python or NodeJS code to implement custom logic',
  246. 'template-transform': 'Convert data to string using Jinja template syntax',
  247. 'http-request': 'Allow server requests to be sent over the HTTP protocol',
  248. 'variable-assigner': 'Aggregate multi-branch variables into a single variable for unified configuration of downstream nodes.',
  249. 'assigner': 'The variable assignment node is used for assigning values to writable variables(like conversation variables).',
  250. 'variable-aggregator': 'Aggregate multi-branch variables into a single variable for unified configuration of downstream nodes.',
  251. 'iteration': 'Perform multiple steps on a list object until all results are outputted.',
  252. 'parameter-extractor': 'Use LLM to extract structured parameters from natural language for tool invocations or HTTP requests.',
  253. 'document-extractor': 'Used to parse uploaded documents into text content that is easily understandable by LLM.',
  254. 'list-operator': 'Used to filter or sort array content.',
  255. },
  256. operator: {
  257. zoomIn: 'Zoom In',
  258. zoomOut: 'Zoom Out',
  259. zoomTo50: 'Zoom to 50%',
  260. zoomTo100: 'Zoom to 100%',
  261. zoomToFit: 'Zoom to Fit',
  262. },
  263. panel: {
  264. userInputField: 'User Input Field',
  265. changeBlock: 'Change Block',
  266. helpLink: 'Help Link',
  267. about: 'About',
  268. createdBy: 'Created By ',
  269. nextStep: 'Next Step',
  270. addNextStep: 'Add the next block in this workflow',
  271. selectNextStep: 'Select Next Block',
  272. runThisStep: 'Run this step',
  273. checklist: 'Checklist',
  274. checklistTip: 'Make sure all issues are resolved before publishing',
  275. checklistResolved: 'All issues are resolved',
  276. organizeBlocks: 'Organize blocks',
  277. change: 'Change',
  278. optional: '(optional)',
  279. },
  280. nodes: {
  281. common: {
  282. outputVars: 'Output Variables',
  283. insertVarTip: 'Insert Variable',
  284. memory: {
  285. memory: 'Memory',
  286. memoryTip: 'Chat memory settings',
  287. windowSize: 'Window Size',
  288. conversationRoleName: 'Conversation Role Name',
  289. user: 'User prefix',
  290. assistant: 'Assistant prefix',
  291. },
  292. memories: {
  293. title: 'Memories',
  294. tip: 'Chat memory',
  295. builtIn: 'Built-in',
  296. },
  297. },
  298. start: {
  299. required: 'required',
  300. inputField: 'Input Field',
  301. builtInVar: 'Built-in Variables',
  302. outputVars: {
  303. query: 'User input',
  304. memories: {
  305. des: 'Conversation history',
  306. type: 'message type',
  307. content: 'message content',
  308. },
  309. files: 'File list',
  310. },
  311. noVarTip: 'Set inputs that can be used in the Workflow',
  312. },
  313. end: {
  314. outputs: 'Outputs',
  315. output: {
  316. type: 'output type',
  317. variable: 'output variable',
  318. },
  319. type: {
  320. 'none': 'None',
  321. 'plain-text': 'Plain Text',
  322. 'structured': 'Structured',
  323. },
  324. },
  325. answer: {
  326. answer: 'Answer',
  327. outputVars: 'Output Variables',
  328. },
  329. llm: {
  330. model: 'model',
  331. variables: 'variables',
  332. context: 'context',
  333. contextTooltip: 'You can import Knowledge as context',
  334. notSetContextInPromptTip: 'To enable the context feature, please fill in the context variable in PROMPT.',
  335. prompt: 'prompt',
  336. roleDescription: {
  337. system: 'Give high level instructions for the conversation',
  338. user: 'Provide instructions, queries, or any text-based input to the model',
  339. assistant: 'The model’s responses based on the user messages',
  340. },
  341. addMessage: 'Add Message',
  342. vision: 'vision',
  343. files: 'Files',
  344. resolution: {
  345. name: 'Resolution',
  346. high: 'High',
  347. low: 'Low',
  348. },
  349. outputVars: {
  350. output: 'Generate content',
  351. usage: 'Model Usage Information',
  352. },
  353. singleRun: {
  354. variable: 'Variable',
  355. },
  356. sysQueryInUser: 'sys.query in user message is required',
  357. },
  358. knowledgeRetrieval: {
  359. queryVariable: 'Query Variable',
  360. knowledge: 'Knowledge',
  361. outputVars: {
  362. output: 'Retrieval segmented data',
  363. content: 'Segmented content',
  364. title: 'Segmented title',
  365. icon: 'Segmented icon',
  366. url: 'Segmented URL',
  367. metadata: 'Other metadata',
  368. },
  369. },
  370. http: {
  371. inputVars: 'Input Variables',
  372. api: 'API',
  373. apiPlaceholder: 'Enter URL, type ‘/’ insert variable',
  374. extractListPlaceholder: 'Enter list item index, type ‘/’ insert variable',
  375. notStartWithHttp: 'API should start with http:// or https://',
  376. key: 'Key',
  377. type: 'Type',
  378. value: 'Value',
  379. bulkEdit: 'Bulk Edit',
  380. keyValueEdit: 'Key-Value Edit',
  381. headers: 'Headers',
  382. params: 'Params',
  383. body: 'Body',
  384. binaryFileVariable: 'Binary File Variable',
  385. outputVars: {
  386. body: 'Response Content',
  387. statusCode: 'Response Status Code',
  388. headers: 'Response Header List JSON',
  389. files: 'Files List',
  390. },
  391. authorization: {
  392. 'authorization': 'Authorization',
  393. 'authorizationType': 'Authorization Type',
  394. 'no-auth': 'None',
  395. 'api-key': 'API-Key',
  396. 'auth-type': 'Auth Type',
  397. 'basic': 'Basic',
  398. 'bearer': 'Bearer',
  399. 'custom': 'Custom',
  400. 'api-key-title': 'API Key',
  401. 'header': 'Header',
  402. },
  403. insertVarPlaceholder: 'type \'/\' to insert variable',
  404. timeout: {
  405. title: 'Timeout',
  406. connectLabel: 'Connection Timeout',
  407. connectPlaceholder: 'Enter connection timeout in seconds',
  408. readLabel: 'Read Timeout',
  409. readPlaceholder: 'Enter read timeout in seconds',
  410. writeLabel: 'Write Timeout',
  411. writePlaceholder: 'Enter write timeout in seconds',
  412. },
  413. curl: {
  414. title: 'Import from cURL',
  415. placeholder: 'Paste cURL string here',
  416. },
  417. },
  418. code: {
  419. inputVars: 'Input Variables',
  420. outputVars: 'Output Variables',
  421. advancedDependencies: 'Advanced Dependencies',
  422. advancedDependenciesTip: 'Add some preloaded dependencies that take more time to consume or are not default built-in here',
  423. searchDependencies: 'Search Dependencies',
  424. },
  425. templateTransform: {
  426. inputVars: 'Input Variables',
  427. code: 'Code',
  428. codeSupportTip: 'Only supports Jinja2',
  429. outputVars: {
  430. output: 'Transformed content',
  431. },
  432. },
  433. ifElse: {
  434. if: 'If',
  435. else: 'Else',
  436. elseDescription: 'Used to define the logic that should be executed when the if condition is not met.',
  437. and: 'and',
  438. or: 'or',
  439. operator: 'Operator',
  440. notSetVariable: 'Please set variable first',
  441. comparisonOperator: {
  442. 'contains': 'contains',
  443. 'not contains': 'not contains',
  444. 'start with': 'start with',
  445. 'end with': 'end with',
  446. 'is': 'is',
  447. 'is not': 'is not',
  448. 'empty': 'is empty',
  449. 'not empty': 'is not empty',
  450. 'null': 'is null',
  451. 'not null': 'is not null',
  452. 'in': 'in',
  453. 'not in': 'not in',
  454. 'all of': 'all of',
  455. 'exists': 'exists',
  456. 'not exists': 'not exists',
  457. },
  458. optionName: {
  459. image: 'Image',
  460. doc: 'Doc',
  461. audio: 'Audio',
  462. video: 'Video',
  463. localUpload: 'Local Upload',
  464. url: 'URL',
  465. },
  466. enterValue: 'Enter value',
  467. addCondition: 'Add Condition',
  468. conditionNotSetup: 'Condition NOT setup',
  469. selectVariable: 'Select variable...',
  470. addSubVariable: 'Sub Variable',
  471. select: 'Select',
  472. },
  473. variableAssigner: {
  474. title: 'Assign variables',
  475. outputType: 'Output Type',
  476. varNotSet: 'Variable not set',
  477. noVarTip: 'Add the variables to be assigned',
  478. type: {
  479. string: 'String',
  480. number: 'Number',
  481. object: 'Object',
  482. array: 'Array',
  483. },
  484. aggregationGroup: 'Aggregation Group',
  485. aggregationGroupTip: 'Enabling this feature allows the variable aggregator to aggregate multiple sets of variables.',
  486. addGroup: 'Add Group',
  487. outputVars: {
  488. varDescribe: '{{groupName}} output',
  489. },
  490. setAssignVariable: 'Set assign variable',
  491. },
  492. assigner: {
  493. 'assignedVariable': 'Assigned Variable',
  494. 'writeMode': 'Write Mode',
  495. 'writeModeTip': 'Append mode: Available for array variables only.',
  496. 'over-write': 'Overwrite',
  497. 'append': 'Append',
  498. 'plus': 'Plus',
  499. 'clear': 'Clear',
  500. 'setVariable': 'Set Variable',
  501. 'variable': 'Variable',
  502. },
  503. tool: {
  504. toAuthorize: 'To authorize',
  505. inputVars: 'Input Variables',
  506. outputVars: {
  507. text: 'tool generated content',
  508. files: {
  509. title: 'tool generated files',
  510. type: 'Support type. Now only support image',
  511. transfer_method: 'Transfer method.Value is remote_url or local_file',
  512. url: 'Image url',
  513. upload_file_id: 'Upload file id',
  514. },
  515. json: 'tool generated json',
  516. },
  517. },
  518. questionClassifiers: {
  519. model: 'model',
  520. inputVars: 'Input Variables',
  521. outputVars: {
  522. className: 'Class Name',
  523. },
  524. class: 'Class',
  525. classNamePlaceholder: 'Write your class name',
  526. advancedSetting: 'Advanced Setting',
  527. topicName: 'Topic Name',
  528. topicPlaceholder: 'Write your topic name',
  529. addClass: 'Add Class',
  530. instruction: 'Instruction',
  531. instructionTip: 'Input additional instructions to help the question classifier better understand how to categorize questions.',
  532. instructionPlaceholder: 'Write your instruction',
  533. },
  534. parameterExtractor: {
  535. inputVar: 'Input Variable',
  536. extractParameters: 'Extract Parameters',
  537. importFromTool: 'Import from tools',
  538. addExtractParameter: 'Add Extract Parameter',
  539. addExtractParameterContent: {
  540. name: 'Name',
  541. namePlaceholder: 'Extract Parameter Name',
  542. type: 'Type',
  543. typePlaceholder: 'Extract Parameter Type',
  544. description: 'Description',
  545. descriptionPlaceholder: 'Extract Parameter Description',
  546. required: 'Required',
  547. requiredContent: 'Required is only used as a reference for model inference, and not for mandatory validation of parameter output.',
  548. },
  549. extractParametersNotSet: 'Extract Parameters not setup',
  550. instruction: 'Instruction',
  551. instructionTip: 'Input additional instructions to help the parameter extractor understand how to extract parameters.',
  552. advancedSetting: 'Advanced Setting',
  553. reasoningMode: 'Reasoning Mode',
  554. reasoningModeTip: 'You can choose the appropriate reasoning mode based on the model\'s ability to respond to instructions for function calling or prompts.',
  555. isSuccess: 'Is Success.On success the value is 1, on failure the value is 0.',
  556. errorReason: 'Error Reason',
  557. },
  558. iteration: {
  559. deleteTitle: 'Delete Iteration Node?',
  560. deleteDesc: 'Deleting the iteration node will delete all child nodes',
  561. input: 'Input',
  562. output: 'Output Variables',
  563. iteration_one: '{{count}} Iteration',
  564. iteration_other: '{{count}} Iterations',
  565. currentIteration: 'Current Iteration',
  566. comma: ', ',
  567. error_one: '{{count}} Error',
  568. error_other: '{{count}} Errors',
  569. parallelMode: 'Parallel Mode',
  570. parallelModeUpper: 'PARALLEL MODE',
  571. parallelModeEnableTitle: 'Parallel Mode Enabled',
  572. parallelModeEnableDesc: 'In parallel mode, tasks within iterations support parallel execution. You can configure this in the properties panel on the right.',
  573. parallelPanelDesc: 'In parallel mode, tasks in the iteration support parallel execution.',
  574. MaxParallelismTitle: 'Maximum parallelism',
  575. MaxParallelismDesc: 'The maximum parallelism is used to control the number of tasks executed simultaneously in a single iteration.',
  576. errorResponseMethod: 'Error response method',
  577. ErrorMethod: {
  578. operationTerminated: 'Terminated',
  579. continueOnError: 'Continue on Error',
  580. removeAbnormalOutput: 'Remove Abnormal Output',
  581. },
  582. answerNodeWarningDesc: 'Parallel mode warning: Answer nodes, conversation variable assignments, and persistent read/write operations within iterations may cause exceptions.',
  583. },
  584. note: {
  585. addNote: 'Add Note',
  586. editor: {
  587. placeholder: 'Write your note...',
  588. small: 'Small',
  589. medium: 'Medium',
  590. large: 'Large',
  591. bold: 'Bold',
  592. italic: 'Italic',
  593. strikethrough: 'Strikethrough',
  594. link: 'Link',
  595. openLink: 'Open',
  596. unlink: 'Unlink',
  597. enterUrl: 'Enter URL...',
  598. invalidUrl: 'Invalid URL',
  599. bulletList: 'Bullet List',
  600. showAuthor: 'Show Author',
  601. },
  602. },
  603. docExtractor: {
  604. inputVar: 'Input Variable',
  605. outputVars: {
  606. text: 'Extracted text',
  607. },
  608. supportFileTypes: 'Support file types: {{types}}.',
  609. learnMore: 'Learn more',
  610. },
  611. listFilter: {
  612. inputVar: 'Input Variable',
  613. filterCondition: 'Filter Condition',
  614. filterConditionKey: 'Filter Condition Key',
  615. extractsCondition: 'Extract the N item',
  616. filterConditionComparisonOperator: 'Filter Condition Comparison Operator',
  617. filterConditionComparisonValue: 'Filter Condition value',
  618. selectVariableKeyPlaceholder: 'Select sub variable key',
  619. limit: 'Top N',
  620. orderBy: 'Order by',
  621. asc: 'ASC',
  622. desc: 'DESC',
  623. outputVars: {
  624. result: 'Filter result',
  625. first_record: 'First record',
  626. last_record: 'Last record',
  627. },
  628. },
  629. },
  630. tracing: {
  631. stopBy: 'Stop by {{user}}',
  632. },
  633. }
  634. export default translation