From 3e8bf8a63117d4b10390f2f56aa6e0b21e5badb9 Mon Sep 17 00:00:00 2001 From: zhangzhanwei Date: Thu, 25 Sep 2025 16:53:32 +0800 Subject: [PATCH] fix: Intent node MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1062137 --user=张展玮 【应用】意图识别节点存在空的意图项,可以发布应用成功 https://www.tapd.cn/62980211/s/1779110 --- .../lang/en-US/views/application-workflow.ts | 1 + .../lang/zh-CN/views/application-workflow.ts | 1 + .../zh-Hant/views/application-workflow.ts | 1 + .../nodes/intent-classify-node/index.vue | 20 ++++++++++++++----- 4 files changed, 18 insertions(+), 5 deletions(-) diff --git a/ui/src/locales/lang/en-US/views/application-workflow.ts b/ui/src/locales/lang/en-US/views/application-workflow.ts index 4288f0802..dfd354557 100644 --- a/ui/src/locales/lang/en-US/views/application-workflow.ts +++ b/ui/src/locales/lang/en-US/views/application-workflow.ts @@ -341,6 +341,7 @@ You are a master of problem optimization, adept at accurately inferring user int label: 'IntentNode', text: 'Match user questions with user-defined intent classifications', other: 'other', + error2: 'Repeated intent', placeholder: 'Please choose a classification option', classify: { label: 'Intent classify', diff --git a/ui/src/locales/lang/zh-CN/views/application-workflow.ts b/ui/src/locales/lang/zh-CN/views/application-workflow.ts index 6c5bcb0da..ed62cbb4a 100644 --- a/ui/src/locales/lang/zh-CN/views/application-workflow.ts +++ b/ui/src/locales/lang/zh-CN/views/application-workflow.ts @@ -341,6 +341,7 @@ export default { label: '意图识别', text: '将用户问题与用户预设的意图分类进行匹配', other: '其他', + error2: '意图重复', placeholder: '请选择分类项', classify: { label: '意图分类', diff --git a/ui/src/locales/lang/zh-Hant/views/application-workflow.ts b/ui/src/locales/lang/zh-Hant/views/application-workflow.ts index 632369cad..617866b86 100644 --- a/ui/src/locales/lang/zh-Hant/views/application-workflow.ts +++ b/ui/src/locales/lang/zh-Hant/views/application-workflow.ts @@ -334,6 +334,7 @@ export default { label: '意圖識別', text: '將用戶問題與用戶預設的意圖分類進行匹配', other: '其他', + error2: '意圖重複', placeholder: '請選擇分類項', classify: { label: '意圖分類', diff --git a/ui/src/workflow/nodes/intent-classify-node/index.vue b/ui/src/workflow/nodes/intent-classify-node/index.vue index 7a550ca84..6245040f4 100644 --- a/ui/src/workflow/nodes/intent-classify-node/index.vue +++ b/ui/src/workflow/nodes/intent-classify-node/index.vue @@ -90,10 +90,6 @@ />