This commit is contained in:
Nam Vu
2024-08-15 16:56:29 +07:00
committed by GitHub
parent c89697c49c
commit f3d3a3a5db
14 changed files with 574 additions and 0 deletions

View File

@@ -91,6 +91,33 @@ const translation = {
export: '導出帶有機密值的DSL',
},
},
chatVariable: {
panelTitle: '對話變數',
panelDescription: '對話變數用於儲存 LLM 需要記住的互動資訊,包括對話歷史、上傳的檔案、使用者偏好等。這些變數可讀寫。',
docLink: '查看我們的文件以了解更多。',
button: '新增變數',
modal: {
title: '新增對話變數',
editTitle: '編輯對話變數',
name: '名稱',
namePlaceholder: '變數名稱',
type: '類型',
value: '預設值',
valuePlaceholder: '預設值,留空則不設定',
description: '描述',
descriptionPlaceholder: '描述此變數',
editInJSON: '以 JSON 編輯',
oneByOne: '逐一新增',
editInForm: '在表單中編輯',
arrayValue: '值',
addArrayValue: '新增值',
objectKey: '鍵',
objectType: '類型',
objectValue: '預設值',
},
storedContent: '已儲存內容',
updatedAt: '更新於 ',
},
changeHistory: {
title: '變更履歷',
placeholder: '尚未更改任何內容',
@@ -164,6 +191,7 @@ const translation = {
'http-request': 'HTTP 請求',
'variable-assigner': '變量聚合器',
'variable-aggregator': '變量聚合器',
'assigner': '變數分配器',
'iteration-start': '迭代開始',
'iteration': '迭代',
'parameter-extractor': '參數提取器',
@@ -180,6 +208,7 @@ const translation = {
'template-transform': '使用 Jinja 模板語法將數據轉換為字符串',
'http-request': '允許通過 HTTP 協議發送服務器請求',
'variable-assigner': '將多路分支的變量聚合為一個變量,以實現下游節點統一配置。',
'assigner': '變數分配節點用於為可寫入的變數(如對話變數)分配值。',
'variable-aggregator': '將多路分支的變量聚合為一個變量,以實現下游節點統一配置。',
'iteration': '對列表對象執行多次步驟直至輸出所有結果。',
'parameter-extractor': '利用 LLM 從自然語言內推理提取出結構化參數,用於後置的工具調用或 HTTP 請求。',
@@ -206,6 +235,7 @@ const translation = {
checklistResolved: '所有問題均已解決',
organizeBlocks: '整理節點',
change: '更改',
optional: '(選擇性)',
},
nodes: {
common: {
@@ -396,6 +426,17 @@ const translation = {
},
setAssignVariable: '設置賦值變量',
},
assigner: {
'assignedVariable': '已分配變數',
'writeMode': '寫入模式',
'writeModeTip': '當已分配變數是陣列時,附加模式會新增到末尾。',
'over-write': '覆寫',
'append': '附加',
'plus': '加',
'clear': '清除',
'setVariable': '設定變數',
'variable': '變數',
},
tool: {
toAuthorize: '授權',
inputVars: '輸入變量',