workflow.ts 24 KB

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