workflow.ts 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662
  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. variableReference: {
  264. noAvailableVars: 'No available variables',
  265. noVarsForOperation: 'There are no variables available for assignment with the selected operation.',
  266. noAssignedVars: 'No available assigned variables',
  267. assignedVarsDescription: 'Assigned variables must be writable variables, such as ',
  268. conversationVars: 'conversation variables',
  269. },
  270. panel: {
  271. userInputField: 'User Input Field',
  272. changeBlock: 'Change Block',
  273. helpLink: 'Help Link',
  274. about: 'About',
  275. createdBy: 'Created By ',
  276. nextStep: 'Next Step',
  277. addNextStep: 'Add the next block in this workflow',
  278. selectNextStep: 'Select Next Block',
  279. runThisStep: 'Run this step',
  280. checklist: 'Checklist',
  281. checklistTip: 'Make sure all issues are resolved before publishing',
  282. checklistResolved: 'All issues are resolved',
  283. organizeBlocks: 'Organize blocks',
  284. change: 'Change',
  285. optional: '(optional)',
  286. },
  287. nodes: {
  288. common: {
  289. outputVars: 'Output Variables',
  290. insertVarTip: 'Insert Variable',
  291. memory: {
  292. memory: 'Memory',
  293. memoryTip: 'Chat memory settings',
  294. windowSize: 'Window Size',
  295. conversationRoleName: 'Conversation Role Name',
  296. user: 'User prefix',
  297. assistant: 'Assistant prefix',
  298. },
  299. memories: {
  300. title: 'Memories',
  301. tip: 'Chat memory',
  302. builtIn: 'Built-in',
  303. },
  304. },
  305. start: {
  306. required: 'required',
  307. inputField: 'Input Field',
  308. builtInVar: 'Built-in Variables',
  309. outputVars: {
  310. query: 'User input',
  311. memories: {
  312. des: 'Conversation history',
  313. type: 'message type',
  314. content: 'message content',
  315. },
  316. files: 'File list',
  317. },
  318. noVarTip: 'Set inputs that can be used in the Workflow',
  319. },
  320. end: {
  321. outputs: 'Outputs',
  322. output: {
  323. type: 'output type',
  324. variable: 'output variable',
  325. },
  326. type: {
  327. 'none': 'None',
  328. 'plain-text': 'Plain Text',
  329. 'structured': 'Structured',
  330. },
  331. },
  332. answer: {
  333. answer: 'Answer',
  334. outputVars: 'Output Variables',
  335. },
  336. llm: {
  337. model: 'model',
  338. variables: 'variables',
  339. context: 'context',
  340. contextTooltip: 'You can import Knowledge as context',
  341. notSetContextInPromptTip: 'To enable the context feature, please fill in the context variable in PROMPT.',
  342. prompt: 'prompt',
  343. roleDescription: {
  344. system: 'Give high level instructions for the conversation',
  345. user: 'Provide instructions, queries, or any text-based input to the model',
  346. assistant: 'The model’s responses based on the user messages',
  347. },
  348. addMessage: 'Add Message',
  349. vision: 'vision',
  350. files: 'Files',
  351. resolution: {
  352. name: 'Resolution',
  353. high: 'High',
  354. low: 'Low',
  355. },
  356. outputVars: {
  357. output: 'Generate content',
  358. usage: 'Model Usage Information',
  359. },
  360. singleRun: {
  361. variable: 'Variable',
  362. },
  363. sysQueryInUser: 'sys.query in user message is required',
  364. },
  365. knowledgeRetrieval: {
  366. queryVariable: 'Query Variable',
  367. knowledge: 'Knowledge',
  368. outputVars: {
  369. output: 'Retrieval segmented data',
  370. content: 'Segmented content',
  371. title: 'Segmented title',
  372. icon: 'Segmented icon',
  373. url: 'Segmented URL',
  374. metadata: 'Other metadata',
  375. },
  376. },
  377. http: {
  378. inputVars: 'Input Variables',
  379. api: 'API',
  380. apiPlaceholder: 'Enter URL, type ‘/’ insert variable',
  381. extractListPlaceholder: 'Enter list item index, type ‘/’ insert variable',
  382. notStartWithHttp: 'API should start with http:// or https://',
  383. key: 'Key',
  384. type: 'Type',
  385. value: 'Value',
  386. bulkEdit: 'Bulk Edit',
  387. keyValueEdit: 'Key-Value Edit',
  388. headers: 'Headers',
  389. params: 'Params',
  390. body: 'Body',
  391. binaryFileVariable: 'Binary File Variable',
  392. outputVars: {
  393. body: 'Response Content',
  394. statusCode: 'Response Status Code',
  395. headers: 'Response Header List JSON',
  396. files: 'Files List',
  397. },
  398. authorization: {
  399. 'authorization': 'Authorization',
  400. 'authorizationType': 'Authorization Type',
  401. 'no-auth': 'None',
  402. 'api-key': 'API-Key',
  403. 'auth-type': 'Auth Type',
  404. 'basic': 'Basic',
  405. 'bearer': 'Bearer',
  406. 'custom': 'Custom',
  407. 'api-key-title': 'API Key',
  408. 'header': 'Header',
  409. },
  410. insertVarPlaceholder: 'type \'/\' to insert variable',
  411. timeout: {
  412. title: 'Timeout',
  413. connectLabel: 'Connection Timeout',
  414. connectPlaceholder: 'Enter connection timeout in seconds',
  415. readLabel: 'Read Timeout',
  416. readPlaceholder: 'Enter read timeout in seconds',
  417. writeLabel: 'Write Timeout',
  418. writePlaceholder: 'Enter write timeout in seconds',
  419. },
  420. curl: {
  421. title: 'Import from cURL',
  422. placeholder: 'Paste cURL string here',
  423. },
  424. },
  425. code: {
  426. inputVars: 'Input Variables',
  427. outputVars: 'Output Variables',
  428. advancedDependencies: 'Advanced Dependencies',
  429. advancedDependenciesTip: 'Add some preloaded dependencies that take more time to consume or are not default built-in here',
  430. searchDependencies: 'Search Dependencies',
  431. },
  432. templateTransform: {
  433. inputVars: 'Input Variables',
  434. code: 'Code',
  435. codeSupportTip: 'Only supports Jinja2',
  436. outputVars: {
  437. output: 'Transformed content',
  438. },
  439. },
  440. ifElse: {
  441. if: 'If',
  442. else: 'Else',
  443. elseDescription: 'Used to define the logic that should be executed when the if condition is not met.',
  444. and: 'and',
  445. or: 'or',
  446. operator: 'Operator',
  447. notSetVariable: 'Please set variable first',
  448. comparisonOperator: {
  449. 'contains': 'contains',
  450. 'not contains': 'not contains',
  451. 'start with': 'start with',
  452. 'end with': 'end with',
  453. 'is': 'is',
  454. 'is not': 'is not',
  455. 'empty': 'is empty',
  456. 'not empty': 'is not empty',
  457. 'null': 'is null',
  458. 'not null': 'is not null',
  459. 'in': 'in',
  460. 'not in': 'not in',
  461. 'all of': 'all of',
  462. 'exists': 'exists',
  463. 'not exists': 'not exists',
  464. },
  465. optionName: {
  466. image: 'Image',
  467. doc: 'Doc',
  468. audio: 'Audio',
  469. video: 'Video',
  470. localUpload: 'Local Upload',
  471. url: 'URL',
  472. },
  473. enterValue: 'Enter value',
  474. addCondition: 'Add Condition',
  475. conditionNotSetup: 'Condition NOT setup',
  476. selectVariable: 'Select variable...',
  477. addSubVariable: 'Sub Variable',
  478. select: 'Select',
  479. },
  480. variableAssigner: {
  481. title: 'Assign variables',
  482. outputType: 'Output Type',
  483. varNotSet: 'Variable not set',
  484. noVarTip: 'Add the variables to be assigned',
  485. type: {
  486. string: 'String',
  487. number: 'Number',
  488. object: 'Object',
  489. array: 'Array',
  490. },
  491. aggregationGroup: 'Aggregation Group',
  492. aggregationGroupTip: 'Enabling this feature allows the variable aggregator to aggregate multiple sets of variables.',
  493. addGroup: 'Add Group',
  494. outputVars: {
  495. varDescribe: '{{groupName}} output',
  496. },
  497. setAssignVariable: 'Set assign variable',
  498. },
  499. assigner: {
  500. 'assignedVariable': 'Assigned Variable',
  501. 'varNotSet': 'Variable NOT Set',
  502. 'variables': 'Variables',
  503. 'noVarTip': 'Click the "+" button to add variables',
  504. 'writeMode': 'Write Mode',
  505. 'writeModeTip': 'Append mode: Available for array variables only.',
  506. 'over-write': 'Overwrite',
  507. 'append': 'Append',
  508. 'plus': 'Plus',
  509. 'clear': 'Clear',
  510. 'setVariable': 'Set Variable',
  511. 'selectAssignedVariable': 'Select assigned variable...',
  512. 'setParameter': 'Set parameter...',
  513. 'operations': {
  514. 'title': 'Operation',
  515. 'over-write': 'Overwrite',
  516. 'overwrite': 'Overwrite',
  517. 'set': 'Set',
  518. 'clear': 'Clear',
  519. 'extend': 'Extend',
  520. 'append': 'Append',
  521. '+=': '+=',
  522. '-=': '-=',
  523. '*=': '*=',
  524. '/=': '/=',
  525. },
  526. 'variable': 'Variable',
  527. 'noAssignedVars': 'No available assigned variables',
  528. 'assignedVarsDescription': 'Assigned variables must be writable variables, such as conversation variables.',
  529. },
  530. tool: {
  531. toAuthorize: 'To authorize',
  532. inputVars: 'Input Variables',
  533. outputVars: {
  534. text: 'tool generated content',
  535. files: {
  536. title: 'tool generated files',
  537. type: 'Support type. Now only support image',
  538. transfer_method: 'Transfer method.Value is remote_url or local_file',
  539. url: 'Image url',
  540. upload_file_id: 'Upload file id',
  541. },
  542. json: 'tool generated json',
  543. },
  544. },
  545. questionClassifiers: {
  546. model: 'model',
  547. inputVars: 'Input Variables',
  548. outputVars: {
  549. className: 'Class Name',
  550. },
  551. class: 'Class',
  552. classNamePlaceholder: 'Write your class name',
  553. advancedSetting: 'Advanced Setting',
  554. topicName: 'Topic Name',
  555. topicPlaceholder: 'Write your topic name',
  556. addClass: 'Add Class',
  557. instruction: 'Instruction',
  558. instructionTip: 'Input additional instructions to help the question classifier better understand how to categorize questions.',
  559. instructionPlaceholder: 'Write your instruction',
  560. },
  561. parameterExtractor: {
  562. inputVar: 'Input Variable',
  563. extractParameters: 'Extract Parameters',
  564. importFromTool: 'Import from tools',
  565. addExtractParameter: 'Add Extract Parameter',
  566. addExtractParameterContent: {
  567. name: 'Name',
  568. namePlaceholder: 'Extract Parameter Name',
  569. type: 'Type',
  570. typePlaceholder: 'Extract Parameter Type',
  571. description: 'Description',
  572. descriptionPlaceholder: 'Extract Parameter Description',
  573. required: 'Required',
  574. requiredContent: 'Required is only used as a reference for model inference, and not for mandatory validation of parameter output.',
  575. },
  576. extractParametersNotSet: 'Extract Parameters not setup',
  577. instruction: 'Instruction',
  578. instructionTip: 'Input additional instructions to help the parameter extractor understand how to extract parameters.',
  579. advancedSetting: 'Advanced Setting',
  580. reasoningMode: 'Reasoning Mode',
  581. reasoningModeTip: 'You can choose the appropriate reasoning mode based on the model\'s ability to respond to instructions for function calling or prompts.',
  582. isSuccess: 'Is Success.On success the value is 1, on failure the value is 0.',
  583. errorReason: 'Error Reason',
  584. },
  585. iteration: {
  586. deleteTitle: 'Delete Iteration Node?',
  587. deleteDesc: 'Deleting the iteration node will delete all child nodes',
  588. input: 'Input',
  589. output: 'Output Variables',
  590. iteration_one: '{{count}} Iteration',
  591. iteration_other: '{{count}} Iterations',
  592. currentIteration: 'Current Iteration',
  593. comma: ', ',
  594. error_one: '{{count}} Error',
  595. error_other: '{{count}} Errors',
  596. parallelMode: 'Parallel Mode',
  597. parallelModeUpper: 'PARALLEL MODE',
  598. parallelModeEnableTitle: 'Parallel Mode Enabled',
  599. parallelModeEnableDesc: 'In parallel mode, tasks within iterations support parallel execution. You can configure this in the properties panel on the right.',
  600. parallelPanelDesc: 'In parallel mode, tasks in the iteration support parallel execution.',
  601. MaxParallelismTitle: 'Maximum parallelism',
  602. MaxParallelismDesc: 'The maximum parallelism is used to control the number of tasks executed simultaneously in a single iteration.',
  603. errorResponseMethod: 'Error response method',
  604. ErrorMethod: {
  605. operationTerminated: 'Terminated',
  606. continueOnError: 'Continue on Error',
  607. removeAbnormalOutput: 'Remove Abnormal Output',
  608. },
  609. answerNodeWarningDesc: 'Parallel mode warning: Answer nodes, conversation variable assignments, and persistent read/write operations within iterations may cause exceptions.',
  610. },
  611. note: {
  612. addNote: 'Add Note',
  613. editor: {
  614. placeholder: 'Write your note...',
  615. small: 'Small',
  616. medium: 'Medium',
  617. large: 'Large',
  618. bold: 'Bold',
  619. italic: 'Italic',
  620. strikethrough: 'Strikethrough',
  621. link: 'Link',
  622. openLink: 'Open',
  623. unlink: 'Unlink',
  624. enterUrl: 'Enter URL...',
  625. invalidUrl: 'Invalid URL',
  626. bulletList: 'Bullet List',
  627. showAuthor: 'Show Author',
  628. },
  629. },
  630. docExtractor: {
  631. inputVar: 'Input Variable',
  632. outputVars: {
  633. text: 'Extracted text',
  634. },
  635. supportFileTypes: 'Support file types: {{types}}.',
  636. learnMore: 'Learn more',
  637. },
  638. listFilter: {
  639. inputVar: 'Input Variable',
  640. filterCondition: 'Filter Condition',
  641. filterConditionKey: 'Filter Condition Key',
  642. extractsCondition: 'Extract the N item',
  643. filterConditionComparisonOperator: 'Filter Condition Comparison Operator',
  644. filterConditionComparisonValue: 'Filter Condition value',
  645. selectVariableKeyPlaceholder: 'Select sub variable key',
  646. limit: 'Top N',
  647. orderBy: 'Order by',
  648. asc: 'ASC',
  649. desc: 'DESC',
  650. outputVars: {
  651. result: 'Filter result',
  652. first_record: 'First record',
  653. last_record: 'Last record',
  654. },
  655. },
  656. },
  657. tracing: {
  658. stopBy: 'Stop by {{user}}',
  659. },
  660. }
  661. export default translation