workflow.ts 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705
  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. retry: {
  326. retry: '重試',
  327. retryOnFailure: '失敗時重試',
  328. maxRetries: '最大重試次數',
  329. retryInterval: '重試間隔',
  330. retryTimes: '失敗時重試 {{times}} 次',
  331. retrying: '重試。。。',
  332. retrySuccessful: '重試成功',
  333. retryFailed: '重試失敗',
  334. retryFailedTimes: '{{times}} 次重試失敗',
  335. times: '次',
  336. ms: '女士',
  337. retries: '{{num}}重試',
  338. },
  339. },
  340. start: {
  341. required: '必填',
  342. inputField: '輸入字段',
  343. builtInVar: '內置變量',
  344. outputVars: {
  345. query: '用戶輸入',
  346. memories: {
  347. des: '會話歷史',
  348. type: '消息類型',
  349. content: '消息內容',
  350. },
  351. files: '文件列表',
  352. },
  353. noVarTip: '設置的輸入可在工作流程中使用',
  354. },
  355. end: {
  356. outputs: '輸出',
  357. output: {
  358. type: '輸出類型',
  359. variable: '輸出變量',
  360. },
  361. type: {
  362. 'none': '無',
  363. 'plain-text': '純文本',
  364. 'structured': '結構化',
  365. },
  366. },
  367. answer: {
  368. answer: '回覆',
  369. outputVars: '輸出變量',
  370. },
  371. llm: {
  372. model: '模型',
  373. variables: '變量',
  374. context: '上下文',
  375. contextTooltip: '您可以導入知識庫作為上下文',
  376. notSetContextInPromptTip: '要啟用上下文功能,請在提示中填寫上下文變量。',
  377. prompt: '提示詞',
  378. addMessage: '添加消息',
  379. roleDescription: {
  380. system: '為對話提供高層指導',
  381. user: '向模型提供指令、查詢或任何基於文本的輸入',
  382. assistant: '基於用戶消息的模型回覆',
  383. },
  384. vision: '視覺',
  385. files: '文件',
  386. resolution: {
  387. name: '分辨率',
  388. high: '高',
  389. low: '低',
  390. },
  391. outputVars: {
  392. output: '生成內容',
  393. usage: '模型用量信息',
  394. },
  395. singleRun: {
  396. variable: '變量',
  397. },
  398. sysQueryInUser: 'user message 中必須包含 sys.query',
  399. },
  400. knowledgeRetrieval: {
  401. queryVariable: '查詢變量',
  402. knowledge: '知識庫',
  403. outputVars: {
  404. output: '召回的分段',
  405. content: '分段內容',
  406. title: '分段標題',
  407. icon: '分段圖標',
  408. url: '分段鏈接',
  409. metadata: '其他元數據',
  410. },
  411. },
  412. http: {
  413. inputVars: '輸入變量',
  414. api: 'API',
  415. apiPlaceholder: '輸入 URL,輸入變量時請鍵入‘/’',
  416. notStartWithHttp: 'API 應該以 http:// 或 https:// 開頭',
  417. key: '鍵',
  418. value: '值',
  419. bulkEdit: '批量編輯',
  420. keyValueEdit: '鍵值編輯',
  421. headers: 'Headers',
  422. params: 'Params',
  423. body: 'Body',
  424. outputVars: {
  425. body: '響應內容',
  426. statusCode: '響應狀態碼',
  427. headers: '響應頭列表 JSON',
  428. files: '文件列表',
  429. },
  430. authorization: {
  431. 'authorization': '鑑權',
  432. 'authorizationType': '鑑權類型',
  433. 'no-auth': '無',
  434. 'api-key': 'API-Key',
  435. 'auth-type': 'API 鑑權類型',
  436. 'basic': '基礎',
  437. 'bearer': 'Bearer',
  438. 'custom': '自定義',
  439. 'api-key-title': 'API Key',
  440. 'header': 'Header',
  441. },
  442. insertVarPlaceholder: '鍵入 \'/\' 鍵快速插入變量',
  443. timeout: {
  444. title: '超時設置',
  445. connectLabel: '連接超時',
  446. connectPlaceholder: '輸入連接超時(以秒為單位)',
  447. readLabel: '讀取超時',
  448. readPlaceholder: '輸入讀取超時(以秒為單位)',
  449. writeLabel: '寫入超時',
  450. writePlaceholder: '輸入寫入超時(以秒為單位)',
  451. },
  452. type: '類型',
  453. binaryFileVariable: '二進位檔變數',
  454. extractListPlaceholder: '輸入清單項索引,鍵入 『/』 插入變數',
  455. curl: {
  456. placeholder: '在此處粘貼 cURL 字串',
  457. title: '從 cURL 導入',
  458. },
  459. },
  460. code: {
  461. inputVars: '輸入變量',
  462. outputVars: '輸出變量',
  463. advancedDependencies: '高級依賴',
  464. advancedDependenciesTip: '在這裡添加一些預加載需要消耗較多時間或非默認內置的依賴包',
  465. searchDependencies: '搜索依賴',
  466. },
  467. templateTransform: {
  468. inputVars: '輸入變量',
  469. code: '代碼',
  470. codeSupportTip: '只支持 Jinja2',
  471. outputVars: {
  472. output: '轉換後內容',
  473. },
  474. },
  475. ifElse: {
  476. if: 'If',
  477. else: 'Else',
  478. elseDescription: '用於定義當 if 條件不滿足時應執行的邏輯。',
  479. and: 'and',
  480. or: 'or',
  481. operator: '操作符',
  482. notSetVariable: '請先設置變量',
  483. comparisonOperator: {
  484. 'contains': '包含',
  485. 'not contains': '不包含',
  486. 'start with': '開始是',
  487. 'end with': '結束是',
  488. 'is': '是',
  489. 'is not': '不是',
  490. 'empty': '為空',
  491. 'not empty': '不為空',
  492. 'null': '空',
  493. 'not null': '不為空',
  494. 'regex match': '正則表達式匹配',
  495. 'all of': '全部',
  496. 'exists': '存在',
  497. 'in': '在',
  498. 'not in': '不在',
  499. 'not exists': '不存在',
  500. },
  501. enterValue: '輸入值',
  502. addCondition: '添加條件',
  503. conditionNotSetup: '條件未設置',
  504. selectVariable: '選擇變數...',
  505. optionName: {
  506. image: '圖像',
  507. url: '網址',
  508. doc: '醫生',
  509. localUpload: '本地上傳',
  510. video: '視頻',
  511. audio: '音訊',
  512. },
  513. select: '選擇',
  514. addSubVariable: '子變數',
  515. },
  516. variableAssigner: {
  517. title: '變量賦值',
  518. outputType: '輸出類型',
  519. varNotSet: '未設置變量',
  520. noVarTip: '添加需要賦值的變量',
  521. type: {
  522. string: 'String',
  523. number: 'Number',
  524. object: 'Object',
  525. array: 'Array',
  526. },
  527. aggregationGroup: '聚合分組',
  528. aggregationGroupTip: '開啟該功能後,變量聚合器內可以同時聚合多組變量',
  529. addGroup: '添加分組',
  530. outputVars: {
  531. varDescribe: '{{groupName}}的輸出變量',
  532. },
  533. setAssignVariable: '設置賦值變量',
  534. },
  535. assigner: {
  536. 'assignedVariable': '已分配變數',
  537. 'writeMode': '寫入模式',
  538. 'writeModeTip': '當已分配變數是陣列時,附加模式會新增到末尾。',
  539. 'over-write': '覆寫',
  540. 'append': '附加',
  541. 'plus': '加',
  542. 'clear': '清除',
  543. 'setVariable': '設定變數',
  544. 'variable': '變數',
  545. 'operations': {
  546. 'overwrite': '改寫',
  547. '/=': '/=',
  548. 'title': '操作',
  549. '*=': '*=',
  550. 'extend': '擴展',
  551. '+=': '+=',
  552. 'set': '設置',
  553. 'over-write': '改寫',
  554. '-=': '-=',
  555. 'append': '附加',
  556. 'clear': '清楚',
  557. },
  558. 'noAssignedVars': '沒有可用的已分配變數',
  559. 'variables': '變數',
  560. 'selectAssignedVariable': '選擇配置的變數...',
  561. 'setParameter': '設定參數...',
  562. 'noVarTip': '點擊 「+」 按鈕添加變數',
  563. 'assignedVarsDescription': '分配的變數必須是可寫變數,例如對話變數。',
  564. 'varNotSet': '未設置變數',
  565. },
  566. tool: {
  567. toAuthorize: '授權',
  568. inputVars: '輸入變量',
  569. outputVars: {
  570. text: '工具生成的內容',
  571. files: {
  572. title: '工具生成的文件',
  573. type: '支持類型。現在只支持圖片',
  574. transfer_method: '傳輸方式。值為 remote_url 或 local_file',
  575. url: '圖片鏈接',
  576. upload_file_id: '上傳文件ID',
  577. },
  578. json: '工具生成的JSON',
  579. },
  580. },
  581. questionClassifiers: {
  582. model: '模型',
  583. inputVars: '輸入變量',
  584. outputVars: {
  585. className: '分類名稱',
  586. },
  587. class: '分類',
  588. classNamePlaceholder: '輸入你的分類名稱',
  589. advancedSetting: '高級設置',
  590. topicName: '主題內容',
  591. topicPlaceholder: '在這裡輸入你的主題內容',
  592. addClass: '添加分類',
  593. instruction: '指令',
  594. instructionTip: '你可以輸入額外的附加指令,幫助問題分類器更好的理解如何分類',
  595. instructionPlaceholder: '在這裡輸入你的指令',
  596. },
  597. parameterExtractor: {
  598. inputVar: '輸入變量',
  599. extractParameters: '提取參數',
  600. importFromTool: '從工具導入',
  601. addExtractParameter: '添加提取參數',
  602. addExtractParameterContent: {
  603. name: '名稱',
  604. namePlaceholder: '提取參數名稱',
  605. type: '類型',
  606. typePlaceholder: '提取參數類型',
  607. description: '描述',
  608. descriptionPlaceholder: '提取參數描述',
  609. required: '必填',
  610. requiredContent: '必填僅作為模型推理的參考,不用於參數輸出的強制驗證。',
  611. },
  612. extractParametersNotSet: '提取參數未設置',
  613. instruction: '指令',
  614. instructionTip: '你可以輸入額外的附加指令,幫助參數提取器理解如何提取參數',
  615. advancedSetting: '高級設置',
  616. reasoningMode: '推理模式',
  617. reasoningModeTip: '你可以根據模型對於 Function calling 或 Prompt 的指令響應能力選擇合適的推理模式',
  618. isSuccess: '是否成功。成功時值為 1,失敗時值為 0。',
  619. errorReason: '錯誤原因',
  620. },
  621. iteration: {
  622. deleteTitle: '刪除迭代節點?',
  623. deleteDesc: '刪除迭代節點將刪除所有子節點',
  624. input: '輸入',
  625. output: '輸出變量',
  626. iteration_one: '{{count}}個迭代',
  627. iteration_other: '{{count}}個迭代',
  628. currentIteration: '當前迭代',
  629. ErrorMethod: {
  630. operationTerminated: '終止',
  631. removeAbnormalOutput: 'remove-abnormal-output',
  632. continueOnError: '出錯時繼續',
  633. },
  634. comma: ',',
  635. parallelMode: '並行模式',
  636. parallelModeEnableTitle: 'Parallel Mode 已啟用',
  637. MaxParallelismTitle: '最大並行度',
  638. parallelModeUpper: '並行模式',
  639. parallelPanelDesc: '在並行模式下,反覆運算中的任務支援並行執行。',
  640. error_one: '{{count}}錯誤',
  641. errorResponseMethod: '錯誤回應方法',
  642. parallelModeEnableDesc: '在並行模式下,反覆運算中的任務支援並行執行。您可以在右側的 properties 面板中進行配置。',
  643. answerNodeWarningDesc: '並行模式警告:反覆運算中的應答節點、對話變數賦值和持久讀/寫操作可能會導致異常。',
  644. error_other: '{{count}}錯誤',
  645. MaxParallelismDesc: '最大並行度用於控制在單個反覆運算中同時執行的任務數。',
  646. },
  647. note: {
  648. editor: {
  649. link: '連結',
  650. openLink: '打開',
  651. medium: '中等',
  652. small: '小',
  653. invalidUrl: 'URL 無效',
  654. italic: '斜體的',
  655. bulletList: '項目符號清單',
  656. large: '大',
  657. unlink: '取消連結',
  658. enterUrl: '輸入網址...',
  659. bold: '大膽',
  660. showAuthor: '顯示作者',
  661. strikethrough: '刪除線',
  662. placeholder: '寫下您的筆記...',
  663. },
  664. addNote: '添加註釋',
  665. },
  666. docExtractor: {
  667. outputVars: {
  668. text: '提取的文字',
  669. },
  670. learnMore: '瞭解更多資訊',
  671. inputVar: '輸入變數',
  672. supportFileTypes: '支援文件類型:{{types}}。',
  673. },
  674. listFilter: {
  675. outputVars: {
  676. last_record: '最後一條記錄',
  677. first_record: '第一條記錄',
  678. result: '篩選結果',
  679. },
  680. desc: '描述',
  681. asc: 'ASC的',
  682. orderBy: '排序依據',
  683. inputVar: '輸入變數',
  684. filterConditionComparisonValue: 'Filter Condition 值',
  685. filterCondition: '篩選條件',
  686. limit: '前 N 名',
  687. selectVariableKeyPlaceholder: 'Select sub variable key (選擇子變數鍵)',
  688. filterConditionComparisonOperator: 'Filter Condition Comparison 運算符',
  689. filterConditionKey: '篩選條件鍵',
  690. extractsCondition: '提取第 N 項',
  691. },
  692. },
  693. tracing: {
  694. stopBy: '由{{user}}終止',
  695. },
  696. variableReference: {
  697. noAvailableVars: '無可用變數',
  698. noAssignedVars: '沒有可用的已分配變數',
  699. noVarsForOperation: '所選操作沒有可用於賦值的變數。',
  700. assignedVarsDescription: '分配的變數必須是可寫變數,例如',
  701. conversationVars: '對話變數',
  702. },
  703. }
  704. export default translation