feat(common problems fuzzy query): 增加常用问题模糊查询兜底

This commit is contained in:
HTEWJ\26070045 committed 2026-10-22 17:25:01 +08:00
1 parent b69c725992
commit 5a269f940d
18 files changed
+411 -58

No files matched your search

+4
View File
@@ -1587,6 +1587,10 @@
"isEnabled": "Show on workspace",
"isEnabledHelp": "Only controls the homepage shortcut. It does not affect whether chat returns the cached answer.",
"cacheHelp": "When enabled, matched queries return the preset answer below without calling Dify. Independent of the homepage shortcut.",
"fuzzyEnabled": "Enable fuzzy matching",
"fuzzyEnabledHelp": "When no exact match is found, answer directly by similarity (tolerates added words or synonym swaps).",
"fuzzyThreshold": "Fuzzy match threshold",
"fuzzyThresholdHelp": "0.50–1.00, default 0.80. Answers only when similarity reaches this value; lower is more permissive, higher is more conservative.",
"expiresAt": "Expires At",
"expiresAtHelp": "Optional. After expiry the entry will not match. Leave empty for no expiry."
},
+4
View File
@@ -1587,6 +1587,10 @@
"isEnabled": "แสดงในหน้า workspace",
"isEnabledHelp": "ควบคุมเฉพาะทางลัดบนหน้าแรก ไม่มีผลว่าแชทจะตอบจาก cache หรือไม่",
"cacheHelp": "เมื่อเปิดใช้ คำถามที่จับคู่ได้จะส่งคำตอบด้านล่างโดยไม่เรียก Dify ไม่ขึ้นกับว่าจะแสดงบนหน้าแรกหรือไม่",
"fuzzyEnabled": "เปิดใช้การจับคู่แบบคลุมเครือ",
"fuzzyEnabledHelp": "หากไม่มีข้อความใดตรงเป๊ะ จะตอบกลับทันทีตามความคล้ายคลึง (รองรับการเติมคำหรือใช้คำพ้องความหมาย)",
"fuzzyThreshold": "เกณฑ์การจับคู่แบบคลุมเครือ",
"fuzzyThresholdHelp": "0.50–1.00 ค่าเริ่มต้น 0.80 จะตอบกลับทันทีเมื่อความคล้ายคลึงถึงเกณฑ์ ยิ่งต่ำยิ่งจับคู่ง่าย ยิ่งสูงยิ่งเข้มงวด",
"expiresAt": "หมดอายุเมื่อ",
"expiresAtHelp": "ไม่บังคับ หลังหมดอายุจะไม่จับคู่ ปล่อยว่างหากไม่มีวันหมดอายุ"
},
+4
View File
@@ -1715,6 +1715,10 @@
"isEnabled": "在前台展示",
"isEnabledHelp": "仅控制工作台首页是否出现快捷入口,不影响聊天是否直答。",
"cacheHelp": "开启后,匹配成功的问题将直接返回下方标准答案,不再调用 Dify。与是否在前台展示无关。",
"fuzzyEnabled": "启用模糊匹配",
"fuzzyEnabledHelp": "精确未命中时,按相似度兜底直答(容忍加字、换近义词等差异)。",
"fuzzyThreshold": "模糊匹配阈值",
"fuzzyThresholdHelp": "0.50–1.00,默认 0.80。相似度达到该值才直答;调低更容易命中,调高更保守。",
"expiresAt": "过期时间",
"expiresAtHelp": "可选。到期后不再命中缓存,留空表示长期有效。"
},
+4
View File
@@ -1587,6 +1587,10 @@
"isEnabled": "在前台展示",
"isEnabledHelp": "僅控制工作台首頁是否出現快捷入口,不影響聊天是否直答。",
"cacheHelp": "開啟後,匹配成功的問題將直接返回下方標準答案,不再呼叫 Dify。與是否在前台展示無關。",
"fuzzyEnabled": "啟用模糊匹配",
"fuzzyEnabledHelp": "精確未命中時,按相似度兜底直答(容忍加字、換近義詞等差異)。",
"fuzzyThreshold": "模糊匹配閾值",
"fuzzyThresholdHelp": "0.50–1.00,預設 0.80。相似度達到該值才直答;調低更容易命中,調高更保守。",
"expiresAt": "過期時間",
"expiresAtHelp": "可選。到期後不再命中快取,留空表示長期有效。"
},