Feat: Add the iteration Node #4242 (#4247)

### What problem does this PR solve?

Feat: Add the iteration Node #4242

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-12-27 11:24:17 +08:00
committed by GitHub
parent a6f4153775
commit a1a825c830
72 changed files with 1330 additions and 560 deletions

View File

@ -1016,6 +1016,20 @@ export default {
templateDescription: '此元件用於排版各種元件的輸出。 ',
jsonUploadTypeErrorMessage: '請上傳json檔',
jsonUploadContentErrorMessage: 'json 檔案錯誤',
iterationDescription: `此元件首先透過「分隔符號」將輸入拆分為陣列。
對數組中的元素依序執行相同的操作步驟,直到輸出所有結果,可以理解為任務批次處理器。
例如在長文本翻譯迭代節點內如果所有內容都輸入到LLM節點則可能會達到單次對話限制。上游節點可以先將長文本拆分為多個分片並配合迭代節點對每個分片進行批次翻譯避免達到單次對話的LLM訊息限制。`,
delimiterTip: `此分隔符號用於將輸入文字分割成多個文字片段,其中的回顯將作為每次迭代的輸入項執行。`,
delimiterOptions: {
comma: '逗號',
lineBreak: '換行',
tab: '製表符',
underline: '底線',
diagonal: '斜線',
minus: '減號',
semicolon: '分號',
},
},
footer: {
profile: '“保留所有權利 @ react”',