workflow.ts 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692
  1. const translation = {
  2. common: {
  3. undo: '復原',
  4. redo: '重做',
  5. editing: '編輯中',
  6. autoSaved: '自動保存',
  7. unpublished: '未發佈',
  8. published: '已發佈',
  9. publish: '發佈',
  10. update: '更新',
  11. run: '運行',
  12. running: '運行中',
  13. inRunMode: '在運行模式中',
  14. inPreview: '預覽中',
  15. inPreviewMode: '預覽中',
  16. preview: '預覽',
  17. viewRunHistory: '查看運行歷史',
  18. runHistory: '運行歷史',
  19. goBackToEdit: '返回編輯模式',
  20. conversationLog: '對話記錄',
  21. features: '功能',
  22. debugAndPreview: '預覽',
  23. restart: '重新開始',
  24. currentDraft: '當前草稿',
  25. currentDraftUnpublished: '當前草稿未發佈',
  26. latestPublished: '最新發佈',
  27. publishedAt: '發佈於',
  28. restore: '恢復',
  29. runApp: '運行',
  30. batchRunApp: '批量運行',
  31. accessAPIReference: '訪問 API',
  32. embedIntoSite: '嵌入網站',
  33. addTitle: '添加標題...',
  34. addDescription: '添加描述...',
  35. noVar: '沒有變量',
  36. variableNamePlaceholder: '變量名',
  37. searchVar: '搜索變量',
  38. setVarValuePlaceholder: '設置變量值',
  39. needConnectTip: '此節點尚未連接到其他節點',
  40. maxTreeDepth: '每個分支最大限制 {{depth}} 個節點',
  41. needEndNode: '必須添加結束節點',
  42. needAnswerNode: '必須添加直接回覆節點',
  43. workflowProcess: '工作流',
  44. notRunning: '尚未運行',
  45. previewPlaceholder: '在下面的框中輸入內容開始調試聊天機器人',
  46. effectVarConfirm: {
  47. title: '移除變量',
  48. content: '該變量在其他節點中使用。您是否仍要刪除它?',
  49. },
  50. insertVarTip: '按 \'/\' 鍵快速插入',
  51. processData: '數據處理',
  52. input: '輸入',
  53. output: '輸出',
  54. jinjaEditorPlaceholder: '輸入 “/” 或 “{” 插入變量',
  55. viewOnly: '只讀',
  56. showRunHistory: '顯示運行歷史',
  57. enableJinja: '開啟支持 Jinja 模板',
  58. learnMore: '了解更多',
  59. copy: '拷貝',
  60. duplicate: '複製',
  61. addBlock: '添加節點',
  62. pasteHere: '粘貼到這裡',
  63. pointerMode: '指針模式',
  64. handMode: '手模式',
  65. model: '模型',
  66. workflowAsTool: '發佈為工具',
  67. configureRequired: '需要進行配置',
  68. configure: '配置',
  69. manageInTools: '訪問工具頁',
  70. workflowAsToolTip: '工作流更新後需要重新配置工具參數',
  71. viewDetailInTracingPanel: '查看詳細信息',
  72. importDSL: '導入 DSL',
  73. backupCurrentDraft: 'Backup Current Draft',
  74. overwriteAndImport: '覆蓋和導入',
  75. importSuccess: '導入成功',
  76. chooseDSL: '選擇 DSL(yml) 檔',
  77. syncingData: '同步數據,只需幾秒鐘。',
  78. importDSLTip: '當前草稿將被覆蓋。在導入之前將工作流匯出為備份。',
  79. importFailure: '匯入失敗',
  80. parallelTip: {
  81. click: {
  82. title: '點擊',
  83. desc: '添加',
  84. },
  85. drag: {
  86. title: '拖动',
  87. desc: '連接',
  88. },
  89. limit: '並行度僅限於 {{num}} 個分支。',
  90. depthLimit: '並行嵌套層限制為 {{num}} 個層',
  91. },
  92. parallelRun: '並行運行',
  93. disconnect: '斷開',
  94. jumpToNode: '跳轉到此節點',
  95. addParallelNode: '添加並行節點',
  96. parallel: '並行',
  97. branch: '分支',
  98. featuresDocLink: '瞭解更多資訊',
  99. fileUploadTip: '圖片上傳功能已升級為檔上傳。',
  100. ImageUploadLegacyTip: '現在,您可以在起始表單中創建檔案類型變數。我們將來不再支持圖片上傳功能。',
  101. featuresDescription: '增強 Web 應用程式用戶體驗',
  102. importWarning: '謹慎',
  103. importWarningDetails: 'DSL 版本差異可能會影響某些功能',
  104. openInExplore: '在“探索”中打開',
  105. onFailure: '失敗時',
  106. addFailureBranch: '添加 Fail Branch',
  107. },
  108. env: {
  109. envPanelTitle: '環境變數',
  110. envDescription: '環境變數可用於存儲私人信息和憑證。它們是唯讀的,並且可以在導出時與DSL文件分開。',
  111. envPanelButton: '添加變數',
  112. modal: {
  113. title: '添加環境變數',
  114. editTitle: '編輯環境變數',
  115. type: '類型',
  116. name: '名稱',
  117. namePlaceholder: '環境名稱',
  118. value: '值',
  119. valuePlaceholder: '環境值',
  120. secretTip: '用於定義敏感信息或數據,DSL設置配置為防止洩露。',
  121. },
  122. export: {
  123. title: '導出機密環境變數?',
  124. checkbox: '導出機密值',
  125. ignore: '導出DSL',
  126. export: '導出帶有機密值的DSL',
  127. },
  128. },
  129. chatVariable: {
  130. panelTitle: '對話變數',
  131. panelDescription: '對話變數用於儲存 LLM 需要記住的互動資訊,包括對話歷史、上傳的檔案、使用者偏好等。這些變數可讀寫。',
  132. docLink: '查看我們的文件以了解更多。',
  133. button: '新增變數',
  134. modal: {
  135. title: '新增對話變數',
  136. editTitle: '編輯對話變數',
  137. name: '名稱',
  138. namePlaceholder: '變數名稱',
  139. type: '類型',
  140. value: '預設值',
  141. valuePlaceholder: '預設值,留空則不設定',
  142. description: '描述',
  143. descriptionPlaceholder: '描述此變數',
  144. editInJSON: '以 JSON 編輯',
  145. oneByOne: '逐一新增',
  146. editInForm: '在表單中編輯',
  147. arrayValue: '值',
  148. addArrayValue: '新增值',
  149. objectKey: '鍵',
  150. objectType: '類型',
  151. objectValue: '預設值',
  152. },
  153. storedContent: '已儲存內容',
  154. updatedAt: '更新於 ',
  155. },
  156. changeHistory: {
  157. title: '變更履歷',
  158. placeholder: '尚未更改任何內容',
  159. clearHistory: '清除歷史記錄',
  160. hint: '提示',
  161. hintText: '您的編輯操作將被跟踪並存儲在您的設備上,直到您離開編輯器。此歷史記錄將在您離開編輯器時被清除。',
  162. stepBackward_one: '{{count}} 步後退',
  163. stepBackward_other: '{{count}} 步後退',
  164. stepForward_one: '{{count}} 步前進',
  165. stepForward_other: '{{count}} 步前進',
  166. sessionStart: '會話開始',
  167. currentState: '當前狀態',
  168. nodeTitleChange: '區塊標題已更改',
  169. nodeDescriptionChange: '區塊描述已更改',
  170. nodeDragStop: '區塊已移動',
  171. nodeChange: '區塊已更改',
  172. nodeConnect: '區塊已連接',
  173. nodePaste: '區塊已粘貼',
  174. nodeDelete: '區塊已刪除',
  175. nodeAdd: '區塊已添加',
  176. nodeResize: '區塊已調整大小',
  177. noteAdd: '註釋已添加',
  178. noteChange: '註釋已更改',
  179. edgeDelete: '區塊已斷開連接',
  180. noteDelete: '註釋已刪除',
  181. },
  182. errorMsg: {
  183. fieldRequired: '{{field}} 不能為空',
  184. authRequired: '請先授權',
  185. invalidJson: '{{field}} 是非法的 JSON',
  186. fields: {
  187. variable: '變量名',
  188. variableValue: '變量值',
  189. code: '代碼',
  190. model: '模型',
  191. rerankModel: 'Rerank 模型',
  192. visionVariable: 'Vision Variable',
  193. },
  194. invalidVariable: '無效的變量',
  195. rerankModelRequired: '在開啟 Rerank 模型之前,請在設置中確認模型配置成功。',
  196. },
  197. singleRun: {
  198. testRun: '測試運行',
  199. startRun: '開始運行',
  200. running: '運行中',
  201. testRunIteration: '測試運行迭代',
  202. back: '返回',
  203. iteration: '迭代',
  204. },
  205. tabs: {
  206. 'searchBlock': '搜索節點',
  207. 'blocks': '節點',
  208. 'tools': '工具',
  209. 'allTool': '全部',
  210. 'builtInTool': '內置',
  211. 'customTool': '自定義',
  212. 'workflowTool': '工作流',
  213. 'question-understand': '問題理解',
  214. 'logic': '邏輯',
  215. 'transform': '轉換',
  216. 'utilities': '工具',
  217. 'noResult': '未找到匹配項',
  218. 'searchTool': '搜索工具',
  219. },
  220. blocks: {
  221. 'start': '開始',
  222. 'end': '結束',
  223. 'answer': '直接回覆',
  224. 'llm': 'LLM',
  225. 'knowledge-retrieval': '知識檢索',
  226. 'question-classifier': '問題分類器',
  227. 'if-else': '條件分支',
  228. 'code': '代碼執行',
  229. 'template-transform': '模板轉換',
  230. 'http-request': 'HTTP 請求',
  231. 'variable-assigner': '變量聚合器',
  232. 'variable-aggregator': '變量聚合器',
  233. 'assigner': '變數分配器',
  234. 'iteration-start': '迭代開始',
  235. 'iteration': '迭代',
  236. 'parameter-extractor': '參數提取器',
  237. 'list-operator': '清單運算子',
  238. 'document-extractor': '文件提取器',
  239. },
  240. blocksAbout: {
  241. 'start': '定義一個 workflow 流程啟動的參數',
  242. 'end': '定義一個 workflow 流程的結束和結果類型',
  243. 'answer': '定義一個聊天對話的回覆內容',
  244. 'llm': '調用大語言模型回答問題或者對自然語言進行處理',
  245. 'knowledge-retrieval': '允許你從知識庫中查詢與用戶問題相關的文本內容',
  246. 'question-classifier': '定義用戶問題的分類條件,LLM 能夠根據分類描述定義對話的進展方式',
  247. 'if-else': '允許你根據 if/else 條件將 workflow 拆分成兩個分支',
  248. 'code': '執行一段 Python 或 NodeJS 代碼實現自定義邏輯',
  249. 'template-transform': '使用 Jinja 模板語法將數據轉換為字符串',
  250. 'http-request': '允許通過 HTTP 協議發送服務器請求',
  251. 'variable-assigner': '將多路分支的變量聚合為一個變量,以實現下游節點統一配置。',
  252. 'assigner': '變數分配節點用於為可寫入的變數(如對話變數)分配值。',
  253. 'variable-aggregator': '將多路分支的變量聚合為一個變量,以實現下游節點統一配置。',
  254. 'iteration': '對列表對象執行多次步驟直至輸出所有結果。',
  255. 'parameter-extractor': '利用 LLM 從自然語言內推理提取出結構化參數,用於後置的工具調用或 HTTP 請求。',
  256. 'document-extractor': '用於將上傳的文件解析為 LLM 易於理解的文字內容。',
  257. 'list-operator': '用於篩選或排序陣列內容。',
  258. },
  259. operator: {
  260. zoomIn: '放大',
  261. zoomOut: '縮小',
  262. zoomTo50: '縮放到 50%',
  263. zoomTo100: '放大到 100%',
  264. zoomToFit: '自適應視圖',
  265. },
  266. panel: {
  267. userInputField: '用戶輸入字段',
  268. changeBlock: '更改節點',
  269. helpLink: '幫助鏈接',
  270. about: '關於',
  271. createdBy: '作者',
  272. nextStep: '下一步',
  273. addNextStep: '添加此工作流程中的下一個節點',
  274. selectNextStep: '選擇下一個節點',
  275. runThisStep: '運行此步驟',
  276. checklist: '檢查清單',
  277. checklistTip: '發佈前確保所有問題均已解決',
  278. checklistResolved: '所有問題均已解決',
  279. organizeBlocks: '整理節點',
  280. change: '更改',
  281. optional: '(選擇性)',
  282. },
  283. nodes: {
  284. common: {
  285. outputVars: '輸出變量',
  286. insertVarTip: '插入變量',
  287. memory: {
  288. memory: '記憶',
  289. memoryTip: '聊天記憶設置',
  290. windowSize: '記憶窗口',
  291. conversationRoleName: '對話角色名',
  292. user: '用戶前綴',
  293. assistant: '助手前綴',
  294. },
  295. memories: {
  296. title: '記憶',
  297. tip: '聊天記憶',
  298. builtIn: '內置',
  299. },
  300. errorHandle: {
  301. none: {
  302. title: '沒有',
  303. desc: '如果發生異常且未得到處理,節點將停止運行',
  304. },
  305. defaultValue: {
  306. title: '預設值',
  307. desc: '發生錯誤時,請指定靜態輸出內容。',
  308. tip: '出錯時,將返回以下值。',
  309. inLog: 'Node 異常,按照預設值輸出。',
  310. output: '輸出預設值',
  311. },
  312. failBranch: {
  313. title: '失敗分支',
  314. desc: '當發生錯誤時,它會執行 exception 分支',
  315. customize: '轉到畫布以自定義fail分支邏輯。',
  316. inLog: 'Node 異常,將自動執行fail分支。節點輸出將返回錯誤類型和錯誤消息,並將其傳遞給下游。',
  317. customizeTip: '啟動fail分支後,節點引發的異常不會終止進程。相反,它將自動執行預定義的fail分支,允許您靈活地提供錯誤消息、報告、修復或跳過操作。',
  318. },
  319. partialSucceeded: {
  320. tip: '進程中有 {{num}} 個節點運行異常,請前往 tracing 查看日誌。',
  321. },
  322. title: '錯誤處理',
  323. tip: '異常處理策略,當節點遇到異常時觸發。',
  324. },
  325. },
  326. start: {
  327. required: '必填',
  328. inputField: '輸入字段',
  329. builtInVar: '內置變量',
  330. outputVars: {
  331. query: '用戶輸入',
  332. memories: {
  333. des: '會話歷史',
  334. type: '消息類型',
  335. content: '消息內容',
  336. },
  337. files: '文件列表',
  338. },
  339. noVarTip: '設置的輸入可在工作流程中使用',
  340. },
  341. end: {
  342. outputs: '輸出',
  343. output: {
  344. type: '輸出類型',
  345. variable: '輸出變量',
  346. },
  347. type: {
  348. 'none': '無',
  349. 'plain-text': '純文本',
  350. 'structured': '結構化',
  351. },
  352. },
  353. answer: {
  354. answer: '回覆',
  355. outputVars: '輸出變量',
  356. },
  357. llm: {
  358. model: '模型',
  359. variables: '變量',
  360. context: '上下文',
  361. contextTooltip: '您可以導入知識庫作為上下文',
  362. notSetContextInPromptTip: '要啟用上下文功能,請在提示中填寫上下文變量。',
  363. prompt: '提示詞',
  364. addMessage: '添加消息',
  365. roleDescription: {
  366. system: '為對話提供高層指導',
  367. user: '向模型提供指令、查詢或任何基於文本的輸入',
  368. assistant: '基於用戶消息的模型回覆',
  369. },
  370. vision: '視覺',
  371. files: '文件',
  372. resolution: {
  373. name: '分辨率',
  374. high: '高',
  375. low: '低',
  376. },
  377. outputVars: {
  378. output: '生成內容',
  379. usage: '模型用量信息',
  380. },
  381. singleRun: {
  382. variable: '變量',
  383. },
  384. sysQueryInUser: 'user message 中必須包含 sys.query',
  385. },
  386. knowledgeRetrieval: {
  387. queryVariable: '查詢變量',
  388. knowledge: '知識庫',
  389. outputVars: {
  390. output: '召回的分段',
  391. content: '分段內容',
  392. title: '分段標題',
  393. icon: '分段圖標',
  394. url: '分段鏈接',
  395. metadata: '其他元數據',
  396. },
  397. },
  398. http: {
  399. inputVars: '輸入變量',
  400. api: 'API',
  401. apiPlaceholder: '輸入 URL,輸入變量時請鍵入‘/’',
  402. notStartWithHttp: 'API 應該以 http:// 或 https:// 開頭',
  403. key: '鍵',
  404. value: '值',
  405. bulkEdit: '批量編輯',
  406. keyValueEdit: '鍵值編輯',
  407. headers: 'Headers',
  408. params: 'Params',
  409. body: 'Body',
  410. outputVars: {
  411. body: '響應內容',
  412. statusCode: '響應狀態碼',
  413. headers: '響應頭列表 JSON',
  414. files: '文件列表',
  415. },
  416. authorization: {
  417. 'authorization': '鑑權',
  418. 'authorizationType': '鑑權類型',
  419. 'no-auth': '無',
  420. 'api-key': 'API-Key',
  421. 'auth-type': 'API 鑑權類型',
  422. 'basic': '基礎',
  423. 'bearer': 'Bearer',
  424. 'custom': '自定義',
  425. 'api-key-title': 'API Key',
  426. 'header': 'Header',
  427. },
  428. insertVarPlaceholder: '鍵入 \'/\' 鍵快速插入變量',
  429. timeout: {
  430. title: '超時設置',
  431. connectLabel: '連接超時',
  432. connectPlaceholder: '輸入連接超時(以秒為單位)',
  433. readLabel: '讀取超時',
  434. readPlaceholder: '輸入讀取超時(以秒為單位)',
  435. writeLabel: '寫入超時',
  436. writePlaceholder: '輸入寫入超時(以秒為單位)',
  437. },
  438. type: '類型',
  439. binaryFileVariable: '二進位檔變數',
  440. extractListPlaceholder: '輸入清單項索引,鍵入 『/』 插入變數',
  441. curl: {
  442. placeholder: '在此處粘貼 cURL 字串',
  443. title: '從 cURL 導入',
  444. },
  445. },
  446. code: {
  447. inputVars: '輸入變量',
  448. outputVars: '輸出變量',
  449. advancedDependencies: '高級依賴',
  450. advancedDependenciesTip: '在這裡添加一些預加載需要消耗較多時間或非默認內置的依賴包',
  451. searchDependencies: '搜索依賴',
  452. },
  453. templateTransform: {
  454. inputVars: '輸入變量',
  455. code: '代碼',
  456. codeSupportTip: '只支持 Jinja2',
  457. outputVars: {
  458. output: '轉換後內容',
  459. },
  460. },
  461. ifElse: {
  462. if: 'If',
  463. else: 'Else',
  464. elseDescription: '用於定義當 if 條件不滿足時應執行的邏輯。',
  465. and: 'and',
  466. or: 'or',
  467. operator: '操作符',
  468. notSetVariable: '請先設置變量',
  469. comparisonOperator: {
  470. 'contains': '包含',
  471. 'not contains': '不包含',
  472. 'start with': '開始是',
  473. 'end with': '結束是',
  474. 'is': '是',
  475. 'is not': '不是',
  476. 'empty': '為空',
  477. 'not empty': '不為空',
  478. 'null': '空',
  479. 'not null': '不為空',
  480. 'regex match': '正則表達式匹配',
  481. 'all of': '全部',
  482. 'exists': '存在',
  483. 'in': '在',
  484. 'not in': '不在',
  485. 'not exists': '不存在',
  486. },
  487. enterValue: '輸入值',
  488. addCondition: '添加條件',
  489. conditionNotSetup: '條件未設置',
  490. selectVariable: '選擇變數...',
  491. optionName: {
  492. image: '圖像',
  493. url: '網址',
  494. doc: '醫生',
  495. localUpload: '本地上傳',
  496. video: '視頻',
  497. audio: '音訊',
  498. },
  499. select: '選擇',
  500. addSubVariable: '子變數',
  501. },
  502. variableAssigner: {
  503. title: '變量賦值',
  504. outputType: '輸出類型',
  505. varNotSet: '未設置變量',
  506. noVarTip: '添加需要賦值的變量',
  507. type: {
  508. string: 'String',
  509. number: 'Number',
  510. object: 'Object',
  511. array: 'Array',
  512. },
  513. aggregationGroup: '聚合分組',
  514. aggregationGroupTip: '開啟該功能後,變量聚合器內可以同時聚合多組變量',
  515. addGroup: '添加分組',
  516. outputVars: {
  517. varDescribe: '{{groupName}}的輸出變量',
  518. },
  519. setAssignVariable: '設置賦值變量',
  520. },
  521. assigner: {
  522. 'assignedVariable': '已分配變數',
  523. 'writeMode': '寫入模式',
  524. 'writeModeTip': '當已分配變數是陣列時,附加模式會新增到末尾。',
  525. 'over-write': '覆寫',
  526. 'append': '附加',
  527. 'plus': '加',
  528. 'clear': '清除',
  529. 'setVariable': '設定變數',
  530. 'variable': '變數',
  531. 'operations': {
  532. 'overwrite': '改寫',
  533. '/=': '/=',
  534. 'title': '操作',
  535. '*=': '*=',
  536. 'extend': '擴展',
  537. '+=': '+=',
  538. 'set': '設置',
  539. 'over-write': '改寫',
  540. '-=': '-=',
  541. 'append': '附加',
  542. 'clear': '清楚',
  543. },
  544. 'noAssignedVars': '沒有可用的已分配變數',
  545. 'variables': '變數',
  546. 'selectAssignedVariable': '選擇配置的變數...',
  547. 'setParameter': '設定參數...',
  548. 'noVarTip': '點擊 「+」 按鈕添加變數',
  549. 'assignedVarsDescription': '分配的變數必須是可寫變數,例如對話變數。',
  550. 'varNotSet': '未設置變數',
  551. },
  552. tool: {
  553. toAuthorize: '授權',
  554. inputVars: '輸入變量',
  555. outputVars: {
  556. text: '工具生成的內容',
  557. files: {
  558. title: '工具生成的文件',
  559. type: '支持類型。現在只支持圖片',
  560. transfer_method: '傳輸方式。值為 remote_url 或 local_file',
  561. url: '圖片鏈接',
  562. upload_file_id: '上傳文件ID',
  563. },
  564. json: '工具生成的JSON',
  565. },
  566. },
  567. questionClassifiers: {
  568. model: '模型',
  569. inputVars: '輸入變量',
  570. outputVars: {
  571. className: '分類名稱',
  572. },
  573. class: '分類',
  574. classNamePlaceholder: '輸入你的分類名稱',
  575. advancedSetting: '高級設置',
  576. topicName: '主題內容',
  577. topicPlaceholder: '在這裡輸入你的主題內容',
  578. addClass: '添加分類',
  579. instruction: '指令',
  580. instructionTip: '你可以輸入額外的附加指令,幫助問題分類器更好的理解如何分類',
  581. instructionPlaceholder: '在這裡輸入你的指令',
  582. },
  583. parameterExtractor: {
  584. inputVar: '輸入變量',
  585. extractParameters: '提取參數',
  586. importFromTool: '從工具導入',
  587. addExtractParameter: '添加提取參數',
  588. addExtractParameterContent: {
  589. name: '名稱',
  590. namePlaceholder: '提取參數名稱',
  591. type: '類型',
  592. typePlaceholder: '提取參數類型',
  593. description: '描述',
  594. descriptionPlaceholder: '提取參數描述',
  595. required: '必填',
  596. requiredContent: '必填僅作為模型推理的參考,不用於參數輸出的強制驗證。',
  597. },
  598. extractParametersNotSet: '提取參數未設置',
  599. instruction: '指令',
  600. instructionTip: '你可以輸入額外的附加指令,幫助參數提取器理解如何提取參數',
  601. advancedSetting: '高級設置',
  602. reasoningMode: '推理模式',
  603. reasoningModeTip: '你可以根據模型對於 Function calling 或 Prompt 的指令響應能力選擇合適的推理模式',
  604. isSuccess: '是否成功。成功時值為 1,失敗時值為 0。',
  605. errorReason: '錯誤原因',
  606. },
  607. iteration: {
  608. deleteTitle: '刪除迭代節點?',
  609. deleteDesc: '刪除迭代節點將刪除所有子節點',
  610. input: '輸入',
  611. output: '輸出變量',
  612. iteration_one: '{{count}}個迭代',
  613. iteration_other: '{{count}}個迭代',
  614. currentIteration: '當前迭代',
  615. ErrorMethod: {
  616. operationTerminated: '終止',
  617. removeAbnormalOutput: 'remove-abnormal-output',
  618. continueOnError: '出錯時繼續',
  619. },
  620. comma: ',',
  621. parallelMode: '並行模式',
  622. parallelModeEnableTitle: 'Parallel Mode 已啟用',
  623. MaxParallelismTitle: '最大並行度',
  624. parallelModeUpper: '並行模式',
  625. parallelPanelDesc: '在並行模式下,反覆運算中的任務支援並行執行。',
  626. error_one: '{{count}}錯誤',
  627. errorResponseMethod: '錯誤回應方法',
  628. parallelModeEnableDesc: '在並行模式下,反覆運算中的任務支援並行執行。您可以在右側的 properties 面板中進行配置。',
  629. answerNodeWarningDesc: '並行模式警告:反覆運算中的應答節點、對話變數賦值和持久讀/寫操作可能會導致異常。',
  630. error_other: '{{count}}錯誤',
  631. MaxParallelismDesc: '最大並行度用於控制在單個反覆運算中同時執行的任務數。',
  632. },
  633. note: {
  634. editor: {
  635. link: '連結',
  636. openLink: '打開',
  637. medium: '中等',
  638. small: '小',
  639. invalidUrl: 'URL 無效',
  640. italic: '斜體的',
  641. bulletList: '項目符號清單',
  642. large: '大',
  643. unlink: '取消連結',
  644. enterUrl: '輸入網址...',
  645. bold: '大膽',
  646. showAuthor: '顯示作者',
  647. strikethrough: '刪除線',
  648. placeholder: '寫下您的筆記...',
  649. },
  650. addNote: '添加註釋',
  651. },
  652. docExtractor: {
  653. outputVars: {
  654. text: '提取的文字',
  655. },
  656. learnMore: '瞭解更多資訊',
  657. inputVar: '輸入變數',
  658. supportFileTypes: '支援文件類型:{{types}}。',
  659. },
  660. listFilter: {
  661. outputVars: {
  662. last_record: '最後一條記錄',
  663. first_record: '第一條記錄',
  664. result: '篩選結果',
  665. },
  666. desc: '描述',
  667. asc: 'ASC的',
  668. orderBy: '排序依據',
  669. inputVar: '輸入變數',
  670. filterConditionComparisonValue: 'Filter Condition 值',
  671. filterCondition: '篩選條件',
  672. limit: '前 N 名',
  673. selectVariableKeyPlaceholder: 'Select sub variable key (選擇子變數鍵)',
  674. filterConditionComparisonOperator: 'Filter Condition Comparison 運算符',
  675. filterConditionKey: '篩選條件鍵',
  676. extractsCondition: '提取第 N 項',
  677. },
  678. },
  679. tracing: {
  680. stopBy: '由{{user}}終止',
  681. },
  682. variableReference: {
  683. noAvailableVars: '無可用變數',
  684. noAssignedVars: '沒有可用的已分配變數',
  685. noVarsForOperation: '所選操作沒有可用於賦值的變數。',
  686. assignedVarsDescription: '分配的變數必須是可寫變數,例如',
  687. conversationVars: '對話變數',
  688. },
  689. }
  690. export default translation